<div>You haven't set the a or p variable or whatever</div>
<div> </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> </div>
<div><span class="gmail_quote">On 4/17/07, <b class="gmail_sendername">Per Jessen</b> <<a href="mailto:per@computer.org">per@computer.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I've been googling and reading a lot, but I'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: 0900900941 or 0794998990.<br><br>My dialplan looks like this:<br><br>exten => 0900900941,1,Goto(smsmotx,${CALLERIDNUM},1)
<br>exten => 0794998990,1,Goto(smsmotx,${CALLERIDNUM},1)<br><br>; outgoing SMS<br>[smsmotx]<br>exten => _X.,1,Set(smsFrom=${CALLERIDNUM})<br>exten => _X.,n,SMS(${smsFrom},,${EXTEN},${CALLERIDNAME}) ; Create an SMS
<br>exten => _X.,n,SMS(${smsFrom}) ; Send queued SMS<br>exten => _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? 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> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>