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
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
Patrick Wakano writes:
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?
This should not be fixed in 5.0 and master.
-- Juha
On Friday, August 25, 2017 2:33:30 AM CDT Juha Heinanen wrote:
Patrick Wakano writes:
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?
This should not be fixed in 5.0 and master.
-- Juha
Should *now* be fixed. Thanks Juha. -A
Good news! Thanks Anthony!
Regards Patrick
On 25 Aug. 2017 22:34, "Anthony Joseph Messina" amessina@messinet.com wrote:
On Friday, August 25, 2017 2:33:30 AM CDT Juha Heinanen wrote:
Patrick Wakano writes:
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?
This should not be fixed in 5.0 and master.
-- Juha
Should *now* be fixed. Thanks Juha. -A
-- Anthony - https://messinet.com/ - https://messinet.com/~amessina/gallery F9B6 560E 68EA 037D 8C3D D1C9 FF31 3BDB D9D8 99B6
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users