[OpenSIPS-Users] drouting: is_from_gw() does not detect requests from (redundant) PSTN gateways

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jun 1 11:54:47 CEST 2009


Hi Rene,

I made the fix on the SVN trunk and 1.5 - upload and try again,

Regards,
Bogdan

Rene de Vall wrote:
> Hi Bogdan,
>
> ...yes, you're right, the gateway "behaves asymmetric", when it sends 
> out the request it uses just the next port (socket) which the 
> underlying operating system (IOS, in this case) offers as source port.
>
> Your proposed fix sounds goof to me, as it would work for all types of 
> gateways, no matter if they "behave symmetric" or "asymmetric". If one 
> needs to diversify a gateway which uses one IP and different ports, 
> she can always add the port to the datafilled address in table 
> dr_gateways...
>
> Thank you for your fast response and best regards,
>
> René




More information about the Users mailing list