You have to urlencode it too and that does not guarentee it will work....

On Aug 31, 2010 6:01 PM, "Christian Löschenkohl" <christian.loeschenkohl@xpirio.com> wrote:

thank you for your reply

i read it here http://wiki.freeswitch.org/wiki/Codec_negotiation#Rewriting_SDP and it seemed
logic to me (which isn't true as i seems).

of course i tried it without CDATA - then the command on the loopback looks like this


sendmsg
call-command: execute
execute-app-name: set

execute-app-arg: switch_r_sdp=v=0
o=root 1051875459 1051875459 IN IP4 x.x.x.x

s=call
c=IN IP4 x.x.x.x
t=0 0

m=audio 19156 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...

and i also do get [ERR] switch_ivr.c:469 Invalid Command!

these lines print out the error (switch_ivr.c:469)

if (zstr(cmd)) {
       switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Invalid Command!\n");
       return SWITCH_STATUS_FALSE;
}

br



On 2010-09-01 00:34, Brian West wrote:

> Why are you trying to put it in the CDATA? You know you...

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

xpirio
Telekommunik...

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mail...