[asterisk-users] SMS Text Send working with BT Text in the UK??
Scott Stingel
astuser at evtmedia.com
Wed Sep 27 15:25:40 MST 2006
Hi all-
In 2004, I set up a sms texting process for a UK customer, using the
asterisk SMS command and BT's "BT Text" SMS facility. This has been
running fine up until recently. A couple of weeks ago, I upgraded them
from their old asterisk version (CVS 2004.07.25) to 1.2.9.1, and have
been having trouble getting the SMS feature to work on this newer version.
I'm connecting to BT via a BRI, running an updated bristuff. (was also
running this configuration previously)
I do note the differences called out in the documentation, mainly that
"smsq" is used to set up parameters for the text to be sent, and I've
changed my code appropriately. Here is what I try:
smsq --motx-channel=Zap/g3/17094001 --motx-retries=0 07777111222 Hello!
This seems to start things happening, as I observe the following on the
asterisk console:
-----------------------------------------------------------------------
-- Attempting call on Zap/g3/17094001 for application SMS(0) (Retry 1)
-- Requested transfer capability: 0x00 - SPEECH
Sep 27 20:47:51 NOTICE[13661]: channel.c:2455 __ast_request_and_dial:
Don't know what to do with control frame 15
> Channel Zap/7-1 was answered.
> Launching SMS(0) on Zap/7-1
-- SMS RX 93 00 6D
-- SMS TX 91 13 01 00 0B 81 70 97 22 63 86 F2 00 F1 06 C8 32 9B FD
96 01 AB
-- SMS RX 92 01 01 6C
-- SMS TX 91 13 01 00 0B 81 70 97 22 63 86 F2 00 F1 06 C8 32 9B FD
96 01 AB
-- SMS RX 92 01 01 6C
-- SMS TX 91 13 01 00 0B 81 70 97 22 63 86 F2 00 F1 06 C8 32 9B FD
96 01 AB
-- Channel 0/1, span 3 received AOC-E charging 0 units
-- SMS TX 92 01 FF 6E
-- SMS TX 92 01 FF 6E
-- Hungup 'Zap/7-1'
Sep 27 20:47:59 NOTICE[13661]: pbx_spool.c:279 attempt_thread: Call
completed to Zap/g3/17094001
-----------------------------------------------------------------------
From looking at the app_sms.c code, I seem to be connecting to BT ok,
but it appears that the "92" code received from them indicates an error
in the format.
As other posts have suggested,I have tried the following:
(a) going back to version 1.2.7.1 (same symptoms)
and
(b) increasing the wait for response delay (h->opause) -no effect either.
I've also tried reverting to my 2 year old app_sms.c, which no longer
compiles (as expected)
Does anyone have asterisk SMS texting via BT working in the UK, using a
recent asterisk version, and if so, can you please shed some light on this?
Many thanks
Scott Stingel
www.evtmedia.com
More information about the asterisk-users
mailing list