[Freeswitch-users] How to add SIP Route URI params?
Mariusz Czulada
manieq at wp.eu
Mon Nov 5 18:33:38 MSK 2012
Hello,
I faced a problem for which I cannot find a solution yet.
[Environment: freeswitch 1.2.0-rc2, RHEL5.7, FreeSWITCH server attached to ALU IMS platform as an MRF]
I have to make an outgoing call. I was told by an IMS vendor, that I should use "Route:" header with ";orig" attribute in it. I try to execute:
originate
{origination_caller_id_number=+48399555555,ignore_early_media=true,originate_timeout=15}
sofia/service/+48223301008 at neofon.tp.pl:5090;user=phone;
fs_path=sip:+48223301008 at icsf-stdn.imsgroup0-000.isc01.ims.tp.pl:5090 &echo
[I splitted this long line]
and I get:
INVITE sip:+48223301008 at neofon.tp.pl:5090;user=phone SIP/2.0
Via: SIP/2.0/UDP 10.79.21.107;rport;branch=z9hG4bK3yaUK4vQN0mSQ
Route: <sip:+48223301008 at icsf-stdn.imsgroup0-000.isc01.ims.tp.pl:5090>
[...]
ALU request that Route URI must also contain ";lr;orig" attributes so next I tried:
{origination_caller_id_number=+48399555555,ignore_early_media=true,originate_timeout=15}
sofia/service/+48223301008 at neofon.tp.pl:5090;user=phone;
fs_path=sip:+48223301008 at icsf-stdn.imsgroup0-000.isc01.ims.tp.pl:5090;lr;orig &echo
but it didn't change the header. What I try to get (and requested to) is:
Route: <sip:+48223301008 at icsf-stdn.imsgroup0-000.isc01.ims.tp.pl:5090;lr;orig>
Can anybody help me with this?
regards,
Mariusz
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list