<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Sendtext() works for SIP endpoints<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Thomas Perron<br>
<b><span style='font-weight:bold'>Sent:</span></b> Saturday, November 07, 2009
9:39 PM<br>
<b><span style='font-weight:bold'>To:</span></b>
asterisk-users@lists.digium.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> [asterisk-users] Text
messaging</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>IVR question:<br>
<br>
Users dial my DID numbers and get connected to macros and other vectors that
guide them <br>
to the appropriate context. Once connected to a specific context I would
like to send a text message<br>
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?<br>
<br>
Thank you<br>
<br>
[default]<br>
;include => stdexten<br>
include => big10-IVR<br>
include => cleveland-IVR<br>
exten => _1703XXXXXXX,1,Goto(big10-IVR,s,1)<br>
exten => _1517XXXXXXX,1,Goto(cleveland-IVR,s,1)<br>
<br>
<br>
[big10-IVR]<br>
exten => s,1,Answer()<br>
exten => s,n,Background(dir-welcome)<br>
;exten => s,n,WaitExten(1)<br>
;exten => s,n,Background(astcc-please-enter-your)<br>
;exten => s,n,Background(zip-code)<br>
;exten => s,n,Wait(7)<br>
exten => s,n,Background(washington-dc)<br>
;exten => s,n,Authenticate(2222,a)<br>
;exten => s,n,Background(pin-number-accepted)<br>
exten => s,n,Playback(queue-thankyou)<br>
exten => s,n,Background(ginger110109)<br>
<br>
<o:p></o:p></span></font></p>
</div>
</body>
</html>