I think the console message and the script are missing from you email. On Sat, Mar 5, 2016 at 3:29 PM, drodrig <drodrig@magicbrain.com> wrote:
Hi all.
I wrote a small Python script that is run from a chatplan and takes a chat message from a sip extension and sends the message to the appropriate phone number via Twilio (they provide an Internet-based API to do this). The script works great, but I still see an error in on fs_cli console:
I've tried mucking with the "to" and "to_user" headers (and other headers as well). I've also tried adding the following line in the chatplan XML file:
Finally, I've tried different return values in the Python script.
Nothing I've tried removes the error messages. In truth, the texting works fine -- I just don't like seeing the error.
Here's my chatplan XML file:
And the python script:
I'm new to the world of SIP and Freeswitch, so I am hoping I am missing something simple.
Any help is appreciated.
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Mod-sms-and-script-to-send-to-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org