Hello everybody,
Today I received a request from a carrier which needs us to send the calls using a prefix in the INVITE header.
I am reading the documentation for kamailio 4.3.x but I havent found anything I can use in order to modify the Request Line (INVITE) string.
I need to change from this:
INVITE sip:123456789@IP:5060
to this: INVITE sip:PREFIX123456789@IP:5060
If you can guide me to the right direction would be more than great.
Thanks
Just modify $rU.
On 11/9/20 11:46 AM, Jose Figueroa wrote:
Hello everybody,
Today I received a request from a carrier which needs us to send the calls using a prefix in the INVITE header.
I am reading the documentation for kamailio 4.3.x but I havent found anything I can use in order to modify the Request Line (INVITE) string.
I need to change from this:
INVITE sip:123456789@IP:5060
to this: INVITE sip:PREFIX123456789@IP:5060
If you can guide me to the right direction would be more than great.
Thanks
Hi Alex,
Thank you for your quick reply. Yeah, I already did that, but I thought this was a different way to do it.
I proceed with that and worked. Thank you.
On Mon, Nov 09, 2020 at 11:47:47AM -0500, Alex Balashov wrote:
Just modify $rU.
On 11/9/20 11:46 AM, Jose Figueroa wrote:
Hello everybody,
Today I received a request from a carrier which needs us to send the calls using a prefix in the INVITE header.
I am reading the documentation for kamailio 4.3.x but I havent found anything I can use in order to modify the Request Line (INVITE) string.
I need to change from this:
INVITE sip:123456789@IP:5060
to this: INVITE sip:PREFIX123456789@IP:5060
If you can guide me to the right direction would be more than great.
Thanks
-- Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users