<p>You have to urlencode it too and that does not guarentee it will work....</p>
<p><blockquote type="cite">On Aug 31, 2010 6:01 PM, "Christian Löschenkohl" <<a href="mailto:christian.loeschenkohl@xpirio.com">christian.loeschenkohl@xpirio.com</a>> wrote:<br><br>thank you for your reply<br>
<br>
i read it here <a href="http://wiki.freeswitch.org/wiki/Codec_negotiation#Rewriting_SDP" target="_blank">http://wiki.freeswitch.org/wiki/Codec_negotiation#Rewriting_SDP</a> and it seemed<br>
logic to me (which isn't true as i seems).<br>
<br>
of course i tried it without CDATA - then the command on the loopback looks like this<br>
<p><font color="#500050"><br>sendmsg<br>call-command: execute<br>execute-app-name: set</font></p>execute-app-arg: switch_r_sdp=v=0<br>
o=root 1051875459 1051875459 IN IP4 x.x.x.x<br>
<p><font color="#500050">s=call<br>c=IN IP4 x.x.x.x<br>t=0 0</font></p>m=audio 19156 RTP/AVP 0 9 99 3 18 4 101<br>
<p><font color="#500050">a=rtpmap:0 pcmu/8000<br>a=rtpmap:9 g722/8000<br>a=rtpmap:3 gsm/8000<br>a=rtpmap:18 g729/8000<br>a=fmtp:18 annexb...</font></p>and i also do get [ERR] switch_ivr.c:469 Invalid Command!<br>
<br>
these lines print out the error (switch_ivr.c:469)<br>
<br>
if (zstr(cmd)) {<br>
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Invalid Command!\n");<br>
return SWITCH_STATUS_FALSE;<br>
}<br>
<br>
br<br>
<p><font color="#500050"><br><br>On 2010-09-01 00:34, Brian West wrote:<br><br>> Why are you trying to put it in the CDATA? You know you...</font></p><p><font color="#500050">-- <br>Ing. Christian Löschenkohl<br>Technische Leitung, Forschung & Entwicklung VoIP<br>
<br>xpirio<br>Telekommunik...</font></p><p><font color="#500050">FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mail.">http://lists.freeswitch.org/mail.</a>..</font></p>
</blockquote></p>