<div>I'm going to repeat this to you again, on the receiving side you need to set:</div>
<div> </div>
<div>
<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>
<tbody>
<tr>
<td>a</td>
<td colspan="3">answer, i.e. send initial FSK packet.</td></tr>
<tr>
<td>s</td>
<td colspan="3">act as service centre talking to a phone.</td></tr></tbody></table></div><br><br> </div>
<div><span class="gmail_quote">On 4/18/07, <b class="gmail_sendername">Yuan LIU</b> <<a href="mailto:yliu11@hotmail.com">yliu11@hotmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">>From: Per Jessen <<a href="mailto:per@computer.org">per@computer.org</a>><br>>Date: Wed, 18 Apr 2007 14:48:45 +0200
<br>><br>>Per Jessen wrote:<br>><br>> > Per Jessen wrote:<br>> ><br>> > OK, part of the confusion is now clearing up. But I'm not getting<br>> > much further. When I try to send an SMS, I see the call going
<br>> > through, but no SMS is ever sent.<br>><br>>This is a bit of what I see in the debug output: (this is sending a<br>>longer message, protocol 2):<br>><br>>P[ 2] --> caps:Speech pi:0 keypad: sending_complete:0
<br>>P[ 2] --> None<br>> -- mISDN/3-u54 answered Local/0622100000@default-d27f,2<br>> > Channel Local/0622100000@default-d27f,1 was answered.<br>> > Launching SMS(0622100000|t) on Local/0622100000@default-d27f
,1<br>>P[ 2] * IND: Got Fixup State:CONNECTED L3id:50012<br>> == Spawn extension (Internal, 0622100000, 2) exited non-zero<br>>on 'Local/0622100000@default-d27f,2'<br>>P[ 2] I IND :FACILITY oad:0434439000 dad:0622100000 pid:19
<br>>state:CONNECTED<br>>P[ 2] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:00622100000<br>>P[ 2] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0<br>>P[ 2] --> caps:Speech pi:0 keypad: sending_complete:0
<br>>P[ 2] --> AOCD currency: currency:FR. amount:10 multiplier:1<br>>typeOfChargingInfo:-1220842403<br>>P[ 2] I IND :INFORMATION oad:0434439000 dad:0622100000 pid:19<br>>state:CONNECTED<br>>P[ 2] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:00622100000
<br>>P[ 2] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0<br>>P[ 2] --> caps:Speech pi:0 keypad: sending_complete:0<br>>P[ 2] --> None<br>> -- SMS[-1] RX 93 00 6D<br>> -- SMS[0] TX 10 98 96 00 10 01 00 00 11 06 00 00 00 00 00 00 00 12
<br>>03 00 02 00 04 13 65 00 53 65 63 75 72 69 74 79 20 72 65 73 65 61 72 63<br>>68 65 72 73 20 68 61 76 65 20 74 72 61 63 65 64 20 73 70 61 6D 2D 73 65<br>>6E 64 69 6E 67 20 62 6F 74 6E 65 74 20 63 6C 69 65 6E 74 73 20 62 61 63
<br>>6B 20 74 6F 20 6E 65 74 77 6F 72 6B 73 20 72 75 6E 20 62 79 20 74 68 65<br>>20 55 53 20 6D 69 6C 69 74 61 72 79 2E 17 01 00 01 18 0A 00 30 34 33 34<br>>34 33 39 30 30 30 1B 01 00 01 1C 03 00 00 00 00 E8<br>>P[ 2] I IND :DISCONNECT oad:0434439000 dad:0622100000 pid:19
<br>>state:CONNECTED<br>>P[ 2] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:00622100000<br>>P[ 2] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0<br>>P[ 2] --> caps:Speech pi:8 keypad: sending_complete:0
<br>>P[ 2] --> org:1 nt:0, inbandavail:1 state:10<br>>P[ 2] --> queue_hangup<br>><br>>In all the other examples I've come across on the 'net, there are multil<br>>lines beginning "SMS[x] RX/TX .....".
<br><br>The operator seems to hang up on you. Good thing is, the operator is at<br>least responding to your call and sending you that initial answer.<br><br>This may sound bizarre but try the s option and operate in mttx mode. I
<br>vaguely remember seeing a comment about one operator does some role<br>reversal. (May not be due to protocol 2.)<br><br>If you have an extra channel to spare with (seems you do), can also try to<br>set up a context to receive SMS so you know all your commands/dial plan are
<br>working before testing against operator. (I always test via SIP channel to<br>simplify my debugging. You can do so, too.)<br><br>Yuan Liu<br><br>>/Per Jessen, Zürich<br><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>