[SR-Users] Issue with Double Record Route
miconda at gmail.com
Wed Feb 24 09:42:43 CET 2016
my remark was related to the fact that you may have another
record_route*() function executed in the configuration file for the same
It may be simpler also from routing/security point of view to use
different ports for internal and external communications. E.g., port
5060 for communication with internal and port 5080 for external. The you
can do advertising on the listen with external port:
listen=udp:localip:5080 advertise externip:5080
Then you just need to force the socket to be used before sending out to
use the right port and record_route() will do the rest.
On 24/02/16 09:22, Alberto Sagredo wrote:
> Hi Daniel
> I use it once, i have read about double record routing and it seems in
> kamailio only possible if two ips are configured?:
> Im using Kamailio behind NAT with advertised address and proxy to an
> external provider but i have seen , with Asterisk behind, Record route
> is wrong to Asterisk so i plan to change in order to do not lose ACks .
> Any idea to do it better ?
> 2016-02-24 8:56 GMT+01:00 Daniel-Constantin Mierla <miconda at gmail.com
> <mailto:miconda at gmail.com>>:
> can you check in the config and see if there is any other
> record_route*() function used?
> On 23/02/16 18:43, Alberto Sagredo wrote:
>> Im fancing some issues due to kamailio behind nat and thought
>> double record route could help me .
>> But enabling that :
>> modparam("rr", "enable_double_rr", 1)
>> And later using
>> is giving me this error:
>> w_record_route_advertised_address(): Double attempt to record-route
>> Off course, only a single Record Route is present..
>> What am i doing wrong?
>> Using Kamailio 4.3.4
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, Berlin, March 7-9, 2016 - http://www.asipto.com
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, March 7-9, 2016 - http://www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users