[asterisk-dev] "SMSQ not working"
warrior back
indianrocking at gmail.com
Wed May 18 01:38:58 CDT 2011
Hello,
I tried to port smsq application in our asterisk platform but smsq is not
working. Below are the details how I have ported smsq application and using
it.
I am using asterisk-1.6.2.4 version in which app_sms.so is available. For
smsq I compiled it and built the smsq binary.
Once asterisk is running in our dect, based upon for sip.conf I run the smsq
by giving many combination of commands
*smsq --mt --tx --mttx-retries=0 --mttx-channel=SIP/1000 --mttx-callerid=101
--oa=1000 --ud"TEST SMS”*
* *
*smsq --mt --tx --mttx-retries=0
--mttx-channel=Local/1000--mttx-callerid=101 --oa=2000 --ud "Test SMS"*
* *
*smsq 1000 TEST SMS 2000
*
* *
* *
but it is not able to send the message. I am using XLITE SOFTPHONE
application for this. Below is the log which comes in my console.
./smsq --mt --tx --mttx-retries=0 --mttx-channel=SIP/1000
--mttx-callerid=101 --oa=1000 --ud"TEST SMS"
# -- Attempting call on SIP/1000 for application SMS(0,s) (Retry 1)
== Using SIP RTP CoS mark 5
== Using UDPTL CoS mark 5
> Channel SIP/1000-0000001a was answered.
> Launching SMS(0,s) on SIP/1000-0000001a
sms argc 2 queue <0> opts <s> addr <> body <>
initial delay 300ms
[Jan 1 02:10:57] NOTICE[520]: app_sms.c:1718 sms_process: No data, hanging
up
[Jan 1 02:10:57] NOTICE[520]: app_sms.c:2028 sms_exec: channel hangup
[Jan 1 02:10:57] NOTICE[520]: pbx_spool.c:349 attempt_thread: Call
completed to SIP/1000
I tried with XLITE softphone for sending messaged but it in packet capture
is shows 415 unsupported media type.
Please help me out how to make work smsq.
Thanks,
Vikash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110518/84b5bb2b/attachment.htm>
More information about the asterisk-dev
mailing list