<div>You haven&#39;t set the a or p variable or whatever</div>
<div>&nbsp;</div>
<div>
<h2>Description </h2><b>SMS(queuename|[a][s])</b> <br><br><b>SMS(queuename|[s]|number|message)</b> <i>deprecated</i> <br><br>
<table class="bittable">
<tbody>
<tr class="even">
<td>a</td>
<td colspan="3">answer, i.e. send initial FSK packet.</td></tr>
<tr class="odd">
<td>s</td>
<td colspan="3">act as service centre talking to a phone.</td></tr></tbody></table><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 4/17/07, <b class="gmail_sendername">Per Jessen</b> &lt;<a href="mailto:per@computer.org">per@computer.org</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I&#39;ve been googling and reading a lot, but I&#39;m not getting any closer to<br>getting an SMS sent via Asterisk.
<br><br>Prior to switching to asterisk, I used sms_client on an ISDN line to<br>dial one of two Swisscom SMS centers:&nbsp;&nbsp;0900900941 or 0794998990.<br><br>My dialplan looks like this:<br><br>exten =&gt; 0900900941,1,Goto(smsmotx,${CALLERIDNUM},1)
<br>exten =&gt; 0794998990,1,Goto(smsmotx,${CALLERIDNUM},1)<br><br>; outgoing SMS<br>[smsmotx]<br>exten =&gt; _X.,1,Set(smsFrom=${CALLERIDNUM})<br>exten =&gt; _X.,n,SMS(${smsFrom},,${EXTEN},${CALLERIDNAME}) ; Create an SMS
<br>exten =&gt; _X.,n,SMS(${smsFrom}) ; Send queued SMS<br>exten =&gt; _X.,n,Hangup()<br><br>When I attempt to send an SMS using smsq, Asterisk appears to be<br>behaving normally, a call is made etc., but the SMS never arrives ...
<br><br>What am I doing wrong?&nbsp;&nbsp;Let me know what diagnostics I need to provide<br>if anyone wants to take a closer look.<br><br><br>thanks<br>/Per Jessen, Zürich<br><br>_______________________________________________<br>--Bandwidth and Colocation provided by 
<a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp;<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>