[SR-Users] kamailio 5.3.5 - none local route header

Daniel-Constantin Mierla miconda at gmail.com
Mon Jul 27 12:22:02 CEST 2020


Hello,

maybe the R-URI (address in the first line) is coming with a local
domain/ip, and then strict routing is done, meaning that next route
header is moved to R-URI, from where it can be overwritten by other
config actions.

Anyhow, set debug=3 and what the messages printed by rr module and core
when executing loose_route(), it shoud show if the URI in the route or
R-URI is matching myself.

Be also, you don't have any remove_hf("Route") executed by mistake (you
can use debugger module with cfgtrace enabled to check what actions are
executed).

Cheers,
Daniel

On 27.07.20 12:12, Jonathan Hunter wrote:
>
> Hi Daniel,
>
>  
>
> Thanks for the reply.
>
>  
>
> I don’t see the CARRIER_IP listed as an alias, and I have only 1
> domain listed and that’s local. I also toggled the register_myself
> parameter and it is still removing the none local CARRIER_IP.
>
>  
>
> The route header containing the CARRIER_IP doesn’t contain a from tag,
> apart from that it looks normal and I cant fine any reference to it
> locally.
>
>  
>
> I haven’t seen this before, however this is my first time implementing
> things in Azure and on centos 7. Its only on outbound calls as well,
> what other steps do you suggest if any?
>
>  
>
> Thanks for the reply.
>
>  
>
> Jon
>
>  
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>  
>
> *From: *Daniel-Constantin Mierla <mailto:miconda at gmail.com>
> *Sent: *27 July 2020 09:04
> *To: *Kamailio (SER) - Users Mailing List
> <mailto:sr-users at lists.kamailio.org>; Jonathan Hunter
> <mailto:hunterj91 at hotmail.com>; Kamailio (SER) - Users Mailing List
> <mailto:sr-users at lists.sip-router.org>
> *Subject: *Re: [SR-Users] kamailio 5.3.5 - none local route header
>
>  
>
> Hello,
>
> that can happen if you have CARRIER_IP as value for alias global
> parameter or inside the domain module records with register_myself
> modparam enabled. Can you chack if any of those cases happens?
>
> Cheers,
> Daniel
>
> On 24.07.20 12:58, Jonathan Hunter wrote:
>
>     Hi Guys,
>
>      
>
>     Sorry if this is too generic or silly a question but I am testing
>
>     kamailio 5.3.5 within Azure and its behind NAT.
>
>      
>
>     I am having an issue with passing an ACK from our internal side
>     back out to
>
>     the carrier side and it appears having run loose_route a none
>     local route-header is
>
>     consistently being removed by kamailio at this point.
>
>      
>
>     ie Route: <sip:CARRIER_IP;lr> <sip:CARRIER_IP;lr>
>
>      
>
>     Is this normal or configuration related?
>
>      
>
>     As I am unsure within what scenario I would remove a route header
>     which doesnt contain the local
>
>     Proxy IP.
>
>      
>
>     Please can someone advise?
>
>      
>
>     Many thanks
>
>      
>
>     Jon
>
>      
>
>     Sent from Mail
>     <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657967884&sdata=VDmyqv%2BAtQjg9pfS1GfCxkH1Z1KtDcKyiAGcDzykrBk%3D&reserved=0>
>     for Windows 10
>
>      
>
>
>
>     _______________________________________________
>
>     Kamailio (SER) - Users Mailing List
>
>     sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>
>     https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657977879&sdata=cJ0imbe44ne4H9qzwb61orfVg9Qbi0bVs9GPZXJ%2BX58%3D&reserved=0>
>
> -- 
> Daniel-Constantin Mierla -- www.asipto.com <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.asipto.com%2F&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657977879&sdata=Tcz4WnXWfZSau9kATS6O7mn2VgP9EfzI1R5wiXG9AvI%3D&reserved=0>
> www.twitter.com/miconda <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fmiconda&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657977879&sdata=3TKqjKKsN2kPZPvrSgu8IpZ10vxKm9Ic5TkXcIhdNFM%3D&reserved=0> -- www.linkedin.com/in/miconda <https://nam11.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fmiconda&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657987873&sdata=9qYTiFuMwyyYjku8lBTulY4sOWSQ4XXrqdVKXlCvmPo%3D&reserved=0>
> Funding: https://www.paypal.me/dcmierla <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.paypal.me%2Fdcmierla&data=02%7C01%7C%7C4a6c036f98e446ab86ec08d83203adb2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637314338657987873&sdata=jV%2FMxPitAEk0BUV9ZlCXQPHiDAdM3a64HuW%2F%2B6H4rek%3D&reserved=0>
>
>  
>
-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200727/939d3eea/attachment-0001.htm>


More information about the sr-users mailing list