Hello, Sorry, just to avoid confusion, in my last post, the proper smsq command is: smsq --motx-channel="Zap/g3/7285267" 7286657 "test" and not to the number 2285267 as stated in the previous post.
Elliot On Fri, Dec 26, 2008 at 12:26 PM, Elliot Murdock <[email protected]> wrote: > Hello, > > Thanks for all of your help. For testing, I am trying to set up a > loopback sms run. However, the sms message does not seem to go > through. Here are the details of the the loopback test: > > 1. The initial sms send command: > smsq --motx-channel="Zap/g3/2285267" 7286657 "test" > > Note that 7285267 is a DID that directs back into the Asterisk system > over the digium Zap device. > > 2. Here the dialplan for handling the incoming sms call: > exten => 7285267,1,noop("SMS ${EXTEN}") > exten => 7285267,2,sms(${EXTEN}|as) > exten => 7285267,3,hangup > > I would assume that this dialplan will simply process the incoming > call and save the message in the /var/spool/asterisk/sms/ directory. > However, no incoming message appears in any directory. Furthermore, > no sms log file ever appears in the /var/log/asterisk directory > either. > > This is the response I get from the the Asterisk console: > > -- Attempting call on Zap/g3/7285267 for application SMS(0) (Retry 1) > -- Requested transfer capability: 0x00 - SPEECH > -- Accepting call from '7285660' to '7285267' on channel 0/23, span 3 > -- Executing [7285...@pbx:1] NoOp("Zap/85-1", ""SMS 7285660"") in new stack > -- Executing [7285...@pbx:2] SMS("Zap/85-1", "7285660|as") in new stack > -- SMS TX 93 00 6D > [Dec 26 12:23:13] WARNING[2647]: pbx.c:5170 ast_pbx_outgoing_app: > Zap/63-1 already has a call record?? > > Channel Zap/63-1 was answered. > > Launching SMS(0) on Zap/63-1 > == Spawn extension (pbx-transfer-mor-redirect, 0772285296, 2) exited > non-zero on 'Zap/85-1' > -- Hungup 'Zap/85-1' > -- Channel 0/1, span 3 got hangup request, cause 16 > -- Hungup 'Zap/63-1' > [Dec 26 12:23:23] NOTICE[2647]: pbx_spool.c:351 attempt_thread: Call > completed to Zap/g3/7285267 > > > Thanks for any help, > Elliot > > On Sun, Dec 21, 2008 at 1:57 PM, Hans Witvliet <[email protected]> wrote: >> >> On Sat, 2008-12-20 at 19:27 +0200, Elliot Murdock wrote: >> > Hello! >> > >> > >> > What kind of sms text messaging capabilities does Asterisk have? >> > >> > I do not know very much about about SMS technology, but I am looking >> > for the following features: >> > >> > 1. mobile SIP devices can send and receive SMS messages >> > >> > 2. Asterisk server be able to accept and send SMS messages through PRI >> > lines and Internet connections. >> > >> > I noticed that Asterisk has an SMS function, but I am not farmiliar >> > enough with that technology to make it useful. >> > >> > Any help with this would be great! >> >> >> Hi Elliot, >> >> sms-service is included in Asterisk since 1.2. >> Just tried it out, (from cli): >> >> smsq --motx-channel="mISDN/1/0673644444" 061368506 "testje" >> >> =first number is the fixed-sms-provider (here, KPN) >> =second number is the target >> >> Just taken rightout from the wiki pages. >> I presume one could set the MSN-as well, >> >> hw >> >> _______________________________________________ >> -- 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 > _______________________________________________ -- 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
