[OpenSIPS-Users] record_route() inserts 0.0.0.0 if listen=0.0.0.0

Vlad Paiu vladpaiu at opensips.org
Thu Jul 19 11:36:25 CEST 2012


Hello,

If you want to listen on all IP addresses available for UDP, then do not 
put any 'listen' directives, and only set the 'port' directive.
For example
     port=5060
will listen on all interfaces on the 5060 port. This will work.

Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com


On 07/18/2012 03:45 AM, Kelvin Chan wrote:
> Hi list,
>
> I was debugging my setup in nofork mode so I set
> listen=udp:0.0.0.0:5060. I didn't want to hardcode my local IP since
> the same config is deployed to multiple boxes. As a result,
> record_route() inserts Record-Route: 0.0.0.0:5060. It was an easy fix
> but I thought someone else   might runs into the same problem.
>
> Let me know if this should be logged in the tracker as a bug.
>
> kel
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list