[SR-Users] Record-Route Parameters

Juha Heinanen jh at tutpro.com
Mon Sep 17 19:50:46 CEST 2018


Duarte Rocha writes:

> When Kamailio receives the INVITE, it relays it with two Record-Route like
> this :
> 
>  Record-Route:sip:IP1;ftag=xxxxxxxx;vst=xxxxxxx;vsf=xxxxxxx
>  Record-Route:sip:IP2;ftag=xxxxxxxx;vst=xxxxxxx;vsf=xxxxxxx
> What i want is :
> 
>  Record-Route:sip:IP1;ftag=xxxxxxxx;vst=xxxxxxx;vsf=xxxxxxx;NEW_PARAMETER=10
>  Record-Route:sip:IP2;ftag=xxxxxxxx;vst=xxxxxxx;vsf=xxxxxxx;NEW_PARAMETER=20

If you now call record_route(), try calling record_route_preset(string
[,string2]).

-- Juha



More information about the sr-users mailing list