[Freeswitch-users] Mod_sms and script to send to Twilio

Russell Treleaven rtreleaven at bunnykick.ca
Sun Mar 6 23:56:38 MSK 2016


I think the console message and the script are missing from you email.

On Sat, Mar 5, 2016 at 3:29 PM, drodrig <drodrig at 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-Twilio-tp7596204.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160306/55a3b5db/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list