Hi Guys,

Is there any reason why after moving from version 2.2.5 to 2.3.2 that I would 
then get issues with drouting module, in particular dr_is_gw ?

As if I test between the two versions the same statement doesnt match correctly.

Essentially I have 2 main gateways types in dr_gateways, type=1 for our SBC and 
type=2 for our freeswitch servers.

I normally match using dr_is_gw to determine if traffic is from SBC or 
FreeSWITCH, however this now no longer works and on the first occurrence of me 
writing this statement;

if(dr_is_gw("$avp(originURI)","1"))

Where $avp(originURI) = source IP of freeswitch type=2, opensips keeps stating 
its from the SBC, type=1.

This only happens after upgrade, so works fine with 2.2

Has this function changed between versions? Has anyone else had this issue 
where its matching the source IP against the wrong type?

Please let me know if I need to change the syntax I am adding to the function!

Many thanks

Jon

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to