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

2019-08-27 Thread przeqpiciel
Nope, its broken again. I am probably too stupid for this. wt., 27 sie 2019 o 23:12 przeqpiciel napisał(a): > Right now it works. > I added additional network card to my virtual kamailio, then put this NIC > to asterisks network also i configured multiple listen and mhomed=1 > > wt., 27 sie 2019

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

2019-08-27 Thread przeqpiciel
Right now it works. I added additional network card to my virtual kamailio, then put this NIC to asterisks network also i configured multiple listen and mhomed=1 wt., 27 sie 2019 o 20:54 Alex Balashov napisał(a): > I can see the temptation, but that’s actually looking at it backwards. > > If you

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

2019-08-27 Thread Alex Balashov
I can see the temptation, but that’s actually looking at it backwards. If you have multiple listeners, e.g. listen=udp:x.x.x.x:5060 listen=udp:y.y.y.y:5060 or multiple listeners on the same interface with multiple ports, if it’s NAT’d AWS-style, e.g. listen=udp:x.x.x.x:5060 listen=udp:x.x.x.x:

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

2019-08-27 Thread przeqpiciel
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 napisał(a): > Do you have: mhomed=1 ? > > On Tue, Aug 27, 2019 at 8:52 AM przeqpiciel wrote: > >> Thank you for

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

2019-08-27 Thread Sergiu Pojoga
Do you have: mhomed=1 ? On Tue, Aug 27, 2019 at 8:52 AM przeqpiciel 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 Balas

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

2019-08-27 Thread przeqpiciel
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 napisał(a): > Hi, > > You may wish to have a look at the ‘advertise’ directive to

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

2019-08-26 Thread Alex Balashov
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_rout

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

2019-08-26 Thread przeqpiciel
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" heade