[asterisk-users] SendText
Thomas Perron
thomas.perron at gmail.com
Mon Nov 9 21:19:08 CST 2009
Will text messages work to non-SIP enpoints using your logic/code?
thank you
On Mon, Nov 9, 2009 at 8:59 PM, Matt Riddell <lists at venturevoip.com> wrote:
> On 10/11/09 12:58 PM, Thomas Perron wrote:
> > Does anyone have any success with sending a text message from
> > extensions.conf
> > to an PSTN endpoint such as a cell phone?
> >
> > If so, kindly send configuration for this part. I am working on an IVR
> > and want
> > callers to get a text message at a particular part of the call, after
> > dialing a defined character (such as 22).
>
> We use clickatel.
>
> Basically we use the PHP API and call it via an AGI which sends texts.
>
> Therefore the extensions.conf is pretty sparse:
>
> exten => s,1,Read(destination)
> exten => s,2,AGI(agi://127.0.0.1/send_sms.php)
>
> Pseudo code for send_sms is:
>
> 1. Read AGI variables
> 2. Get destination variable
> 3. Include clickatel API file
> 4. call send_sms function
>
> We also provide an API from our telephone exchanges, but to be fair
> you're likely better off just using clickatel yourself :D
>
> --
> Cheers,
>
> Matt Riddell
> Director
> _______________________________________________
>
> http://www.venturevoip.com/news.php (Daily Asterisk News)
> http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
> http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091109/fffe4885/attachment.htm
More information about the asterisk-users
mailing list