IVR question: Users dial my DID numbers and get connected to macros and other vectors that guide them to the appropriate context. Once connected to a specific context I would like to send a text message to their phone. Do I need a PERL script or is there something native in Asterisk 1.6 that can trigger a text to the endpoint? Thank you [default] ;include => stdexten include => big10-IVR include => cleveland-IVR exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1) exten => _1517XXXXXXX,1,Goto(cleveland-IVR,s,1) [big10-IVR] exten => s,1,Answer() exten => s,n,Background(dir-welcome) ;exten => s,n,WaitExten(1) ;exten => s,n,Background(astcc-please-enter-your) ;exten => s,n,Background(zip-code) ;exten => s,n,Wait(7) exten => s,n,Background(washington-dc) ;exten => s,n,Authenticate(2222,a) ;exten => s,n,Background(pin-number-accepted) exten => s,n,Playback(queue-thankyou) exten => s,n,Background(ginger110109) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091107/55616bb0/attachment.htm
Sendtext() works for SIP endpoints _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Thomas Perron Sent: Saturday, November 07, 2009 9:39 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Text messaging IVR question: Users dial my DID numbers and get connected to macros and other vectors that guide them to the appropriate context. Once connected to a specific context I would like to send a text message to their phone. Do I need a PERL script or is there something native in Asterisk 1.6 that can trigger a text to the endpoint? Thank you [default] ;include => stdexten include => big10-IVR include => cleveland-IVR exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1) exten => _1517XXXXXXX,1,Goto(cleveland-IVR,s,1) [big10-IVR] exten => s,1,Answer() exten => s,n,Background(dir-welcome) ;exten => s,n,WaitExten(1) ;exten => s,n,Background(astcc-please-enter-your) ;exten => s,n,Background(zip-code) ;exten => s,n,Wait(7) exten => s,n,Background(washington-dc) ;exten => s,n,Authenticate(2222,a) ;exten => s,n,Background(pin-number-accepted) exten => s,n,Playback(queue-thankyou) exten => s,n,Background(ginger110109) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091109/3a8ca55b/attachment.htm
That may not work for all sip phones. Some (like xlite/eyebeam) crash when receiving a text, others drop the subsequent call (Aastra 5x). These observations are based on a project we did in late 2008; so be sure to do a proof of concept before you get too deep into the project. _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Danny Nicholas Sent: Monday, November 09, 2009 9:12 AM To: Asterisk Users List Subject: Re: [asterisk-users] Text messaging Sendtext() works for SIP endpoints _____ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Thomas Perron Sent: Saturday, November 07, 2009 9:39 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Text messaging IVR question: Users dial my DID numbers and get connected to macros and other vectors that guide them to the appropriate context. Once connected to a specific context I would like to send a text message to their phone. Do I need a PERL script or is there something native in Asterisk 1.6 that can trigger a text to the endpoint? Thank you [default] ;include => stdexten include => big10-IVR include => cleveland-IVR exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1) exten => _1517XXXXXXX,1,Goto(cleveland-IVR,s,1) [big10-IVR] exten => s,1,Answer() exten => s,n,Background(dir-welcome) ;exten => s,n,WaitExten(1) ;exten => s,n,Background(astcc-please-enter-your) ;exten => s,n,Background(zip-code) ;exten => s,n,Wait(7) exten => s,n,Background(washington-dc) ;exten => s,n,Authenticate(2222,a) ;exten => s,n,Background(pin-number-accepted) exten => s,n,Playback(queue-thankyou) exten => s,n,Background(ginger110109) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091109/e4a8c748/attachment.htm
What does Sendtext() actually do? Does it send a SIP request of method MESSAGE? What does it do on a hardware channel - say, analog or TDM? Michelle Dupuis wrote:> That may not work for all sip phones. Some (like xlite/eyebeam) crash > when receiving a text, others drop the subsequent call (Aastra 5x). > These observations are based on a project we did in late 2008; so be > sure to do a proof of concept before you get too deep into the project. > > ------------------------------------------------------------------------ > *From:* asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Danny > Nicholas > *Sent:* Monday, November 09, 2009 9:12 AM > *To:* Asterisk Users List > *Subject:* Re: [asterisk-users] Text messaging > > Sendtext() works for SIP endpoints > > > > ------------------------------------------------------------------------ > > *From:* asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Thomas > Perron > *Sent:* Saturday, November 07, 2009 9:39 PM > *To:* asterisk-users at lists.digium.com > *Subject:* [asterisk-users] Text messaging > > > > IVR question: > > Users dial my DID numbers and get connected to macros and other vectors > that guide them > to the appropriate context. Once connected to a specific context I > would like to send a text message > to their phone. Do I need a PERL script or is there something native in > Asterisk 1.6 that can trigger a text to the endpoint? > > Thank you > > [default] > ;include => stdexten > include => big10-IVR > include => cleveland-IVR > exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1) > exten => _1517XXXXXXX,1,Goto(cleveland-IVR,s,1) > > > [big10-IVR] > exten => s,1,Answer() > exten => s,n,Background(dir-welcome) > ;exten => s,n,WaitExten(1) > ;exten => s,n,Background(astcc-please-enter-your) > ;exten => s,n,Background(zip-code) > ;exten => s,n,Wait(7) > exten => s,n,Background(washington-dc) > ;exten => s,n,Authenticate(2222,a) > ;exten => s,n,Background(pin-number-accepted) > exten => s,n,Playback(queue-thankyou) > exten => s,n,Background(ginger110109) > > > ------------------------------------------------------------------------ > > _______________________________________________ > -- 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-- Alex Balashov - Principal Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671