<div dir="ltr">I think the console message and the script are missing from you email.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 5, 2016 at 3:29 PM, drodrig <span dir="ltr">&lt;<a href="mailto:drodrig@magicbrain.com" target="_blank">drodrig@magicbrain.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all.<br>
<br>
I wrote a small Python script that is run from a chatplan and takes a chat<br>
message from a sip extension and sends the message to the appropriate phone<br>
number via Twilio (they provide an Internet-based API to do this). The<br>
script works great, but I still see an error in on fs_cli console:<br>
<br>
<br>
<br>
<br>
I&#39;ve tried mucking with the &quot;to&quot; and &quot;to_user&quot; headers (and other headers<br>
as well). I&#39;ve also tried adding the following line in the chatplan XML<br>
file:<br>
<br>
<br>
<br>
Finally, I&#39;ve tried different return values in the Python script.<br>
<br>
Nothing I&#39;ve tried removes the error messages. In truth, the texting works<br>
fine -- I just don&#39;t like seeing the error.<br>
<br>
Here&#39;s my chatplan XML file:<br>
<br>
<br>
And the python script:<br>
<br>
<br>
I&#39;m new to the world of SIP and Freeswitch, so I am hoping I am missing<br>
something simple.<br>
<br>
Any help is appreciated.<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Mod-sms-and-script-to-send-to-Twilio-tp7596204.html" rel="noreferrer" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Mod-sms-and-script-to-send-to-Twilio-tp7596204.html</a><br>
Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>