[SR-Users] Define properly IP in record-route header

przeqpiciel przeqpiciel at gmail.com
Tue Aug 27 20:40:38 CEST 2019


No, I hear about that first time. But I think i still need program that
will rewrite record route depends if it goes to asterisk or to Internet

wt., 27 sie 2019 o 15:44 Sergiu Pojoga <pojogas at gmail.com> napisał(a):

> Do you have: mhomed=1 ?
>
> On Tue, Aug 27, 2019 at 8:52 AM przeqpiciel <przeqpiciel at gmail.com> wrote:
>
>> Thank you for the reply. It little help for me, Right now probably I have
>> to make logic which change record route depends on it where Kamailio send
>> packets internal / outside
>>
>> pon., 26 sie 2019 o 22:21 Alex Balashov <abalashov at evaristesys.com>
>> napisał(a):
>>
>>> Hi,
>>>
>>> You may wish to have a look at the ‘advertise’ directive to the core
>>> listen= parameter:
>>>
>>> https://www.kamailio.org/wiki/cookbooks/5.2.x/core#listen
>>>
>>> For more fine-grained control, record_route_preset() takes an argument:
>>>
>>>
>>> https://kamailio.org/docs/modules/5.2.x/modules/rr.html#rr.f.record_route_preset
>>>
>>> But the first approach is better and more comprehensive for your
>>> situation, since it also covers Via.
>>>
>>> — Alex
>>>
>>>>>> Sent from mobile, with due apologies for brevity and errors.
>>>
>>> On Aug 26, 2019, at 4:12 PM, przeqpiciel <przeqpiciel at gmail.com> wrote:
>>>
>>> Hi,
>>> I have some issue and dont have enought knowledge to fix it. I have
>>> simple infrastructure.
>>> Internet -> router (NAT) -> kamailio
>>>                                        -> asterisk
>>> Kamailio and Asterisk are inside the network and Kamailio places his own
>>> private address in the "record-route" headers instead of who's public.
>>> There is configuration to said to him what IP is proper ?
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>> _______________________________________________
>>> Kamailio (SER) - Users Mailing List
>>> sr-users at lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190827/d87e77b5/attachment.html>


More information about the sr-users mailing list