[OpenSIPS-Users] Strange issue with drouting

Александр Мустафин mustafin.aleksandr at gmail.com
Wed Jul 4 12:04:56 CEST 2012


Hello everyone.

I've very strange behaviour of opensips+drouting module.

Scheme:

[Ekiga 3.3.2 (without registration)] --> [OpenSIPS 1.8.0]
(osips.test1.com) --> [CommuniGate] (cg.test2.com) --> [Cisco 7940]
(ext. 1000).

Test1: I'm calling from Ekiga to 1000 at osips.test1.com, drouting module
making substitution and change R-URI to 1000 at cg.test2.com. On the Ekiga
side the call is terminating. On the Cisco 7940 side - the phone starts
ringing, but this is a call-zombie.

Test2: I'm disabling drouting module and adding next rules:

if (is_method("INVITE"))
{                                                                                                   

                                                                                

<------><------>setflag(1); # do
accounting                                                                                          

<-----><------>if ($ru=="sip:1000 at osips.test1.com")
{                                                                                

<-----><------><------>$ru="1000 at cg.test2.com";                                                                              

<-----><------><------>xlog("Change
R-URI");                                                                                      

<-----><------>}

I'm make the call - and all work fine.

All difference between Test1 and Test2 in ngrep log on the CommuniGate
side - is 2 parametres:
P-hint: outbound. (is in Test2)
b=TIAS:409600 (is in Test1)

But these parameters can not influence the way a call.

Please help me with this problem.

Best regards, Alexander.



More information about the Users mailing list