[SR-Users] LCR dont_strip_or_prefix_flag

Anthony Joseph Messina amessina at messinet.com
Thu Aug 24 03:45:35 CEST 2017


On Wednesday, August 23, 2017 6:14:04 PM CDT Patrick Wakano wrote:
> Hello list,
> 
> I am using Kamailio 5.0.2 on centos7 and I am trying to use the
> dont_strip_or_prefix_flag (
> https://www.kamailio.org/docs/modules/5.0.x/modules/lcr.html#idp49131644)
> for LCR routing but I discovered that just by declaring the flag like this
> the module won't prefix my calls:
> #!define LCR_DONT_STRIP_OR_TAG 7
> modparam("lcr", "dont_strip_or_prefix_flag", LCR_DONT_STRIP_OR_TAG)
> 
> It doesn't matter if I set or reset the flag it never prefix the ReqUR if
> the declaration is present. I have to remove the declaration to make the
> module prefix it correctly. But then the whole purpose of the flag is
> lost....Anyone aware of this behaviour?
> 
> Regards,
> Patrick Wakano

In my setup, I haven't needed this feature, so didn't notice it before, but 
I've just tested and can confirm your result.  -A

-- 
Anthony - https://messinet.com/ - https://messinet.com/~amessina/gallery
F9B6 560E 68EA 037D 8C3D  D1C9 FF31 3BDB D9D8 99B6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170823/c2920cc5/attachment.sig>


More information about the sr-users mailing list