[Freeswitch-users] setting switch_r_sdp with outbound event socket

Christian Löschenkohl christian.loeschenkohl at xpirio.com
Tue Aug 31 15:28:54 PDT 2010


hello

i try to moditfy the sip sdp to get some user agent working,
but setting switch_r_sdp doesn't work the way i try it

on the loopback interface i do see the command of setting the variable like this

sendmsg
call-command: execute
execute-app-name: set
execute-app-arg: <![CDATA[switch_r_sdp=v=0
o=root 713636917 713636917 IN IP4 x.x.x.x
s=call
c=IN IP4 x.x.x.x
t=0 0
m=audio 17300 RTP/AVP 0 9 99 3 18 4 101
a=rtpmap:0 pcmu/8000
a=rtpmap:9 g722/8000
a=rtpmap:3 gsm/8000
a=rtpmap:18 g729/8000
a=fmtp:18 annexb=no
a=rtpmap:4 g723/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
]]>

(btw this example sdp is ok)

but on the console i get the error [ERR] switch_ivr.c:469 Invalid Command!
and the b-leg doesn't get the modified sdp.

what could i get wrong here?

br


-- 
Ing. Christian Löschenkohl
Technische Leitung, Forschung & Entwicklung VoIP

xpirio
Telekommunikation & Service GmbH
Lakeside B04
9020 Klagenfurt
Austria

T  +43 (0) 5 77 11 - 1000
F  +43 (0) 5 77 11 - 1002
E  christian.loeschenkohl at xpirio.com



More information about the FreeSWITCH-users mailing list