[asterisk-users] SendText
Tarek Sawah
tareksawah at hotmail.com
Thu Nov 12 03:33:28 CST 2009
i have my own SMS provider as we sell SMS .. so i have setup my call center with SMS sending for several services and alerts like a Missed Call when i'm not registered it will send me an sms to alert me.
it's pretty the same as Matt discribed.. you call an AGI which may use cURL to hit the HTTP API
--
AHD Tarek Sawah
Integrated Digital Systems
CCNA, MCSE, RHCE, VoIP
Syria: +963 944 618286
USA: +1 347 562 2308
Date: Mon, 9 Nov 2009 22:19:08 -0500
From: thomas.perron at gmail.com
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] SendText
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
_________________________________________________________________
Windows 7: Unclutter your desktop.
http://go.microsoft.com/?linkid=9690331&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091112/31389eec/attachment.htm
More information about the asterisk-users
mailing list