[Asterisk-Users] app_sms: problems sending a sms

Steffen Koepf taxman-ml at opaya.de
Fri Nov 19 06:40:19 MST 2004


Hello,

i try to send out a sms, but with no success. 
The trunk is a E100P, and the sms should go out to the
Telekom SM-SC. What i want to to at the first run is,
sending out a sms when a certain number is dialed.

I tried:

In extensions.conf:

exten => 35953,1,SMS(${TRUNK}/9350193010,,0179NUMBER,"Hi there")
exten => 35953,2,SMS(${TRUNK}/9350193010)
exten => 35953,3,Hangup

exten => 35954,1,Dial(${TRUNK}/9350193010)

and get:

tkserv*CLI>
    -- Executing Goto("SIP/35903-da57", "voiplocal|35953|1") in new stack
    -- Goto (voiplocal,35953,1)
    -- Executing SMS("SIP/35903-da57", "Zap/g1/9350193010||0179NUMBER|"Hi there"") in new stack
    -- Executing SMS("SIP/35903-da57", "Zap/g1/9350193010") in new stack
    -- SMS TX 92 01 FF 6E 00 00...
    -- Executing Hangup("SIP/35903-da57", "") in new stack
  == Spawn extension (voiplocal, 35953, 3) exited non-zero on 'SIP/35903-da57'


935 is the prefix to go out to the world via a telekom PRI line.
Sometimes i hear a chirp like the sound of a bird, sometimes i
get this "SMS TX 92 01 FF 6E 00 00..." line, sometimes nothing
happens but a hangup after a few seconds.
(0179NUMBER is the number of the cell-phone).

When i call the 35954 via a SIP Phone, i hear always one chirp,
and a hangup after a few seconds, so i guess the call reaches
the SM-SC.

Does someone know whats wrong?

cu,

Steffen





More information about the asterisk-users mailing list