[SR-Users] How to modify INVITE Request Line string

Jose Figueroa jn at figueroa.blue
Mon Nov 9 18:29:11 CET 2020


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 at IP:5060
> > 
> > to this:
> > INVITE sip:PREFIX123456789 at 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Jose Figueroa



More information about the sr-users mailing list