I'm afraid the mod_sms page is a little sparse on details. If anyone has a working chat application that can handle various responses like a 415 then we'd love to see it doc'd on the mod_sms page.<br><br>-MC<br>
<br>P.S - IIRC there won't be a reply to this event with the response from the
other server. You simply fire your event and that's it. I don't believe
there are even any FreeSWITCH event system events thrown when the SIP
response comes back. I'll defer to the expertise of those more
experienced than I, but if I understand correctly most (all?) of the SIP
messaging takes place down in the Sofia stack and never actually causes
events to be fired.<br><br><br><div class="gmail_quote">On Fri, Nov 9, 2012 at 8:42 PM, Kurtis Heimerl <span dir="ltr"><<a href="mailto:kheimerl@cs.berkeley.edu" target="_blank">kheimerl@cs.berkeley.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Freeswitch Users:<div><br></div><div>We're currently trying to get the return code from a MESSAGE we send using ESL. The closest we've found is this jira: <a href="http://jira.freeswitch.org/browse/FS-4453" target="_blank">http://jira.freeswitch.org/browse/FS-4453</a> which seems to provide similar functionality for the chat command, but nothing for ESL.</div>
<div><br></div><div>Here's a pastebin of our current code: <a href="http://pastebin.freeswitch.org/20201" target="_blank">http://pastebin.freeswitch.org/20201</a></div><div><br></div><div>The server we are hitting is returning a "415 Unsupported Content Type" (which is correct) and we're trying to discover that in freeswitch, instead of assuming the message was received correctly. Right now, we get that the recvEventTimed is returning None. This is all done on the a pull of FS from yesterday. </div>
<div><br></div><div>Any suggestions?</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
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/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>