Has this worked finally? Can you send me the configs if they indeed
have been working.

Seshu kanuri

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steffen
Koepf
Sent: Friday, November 19, 2004 8:40 AM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] app_sms: problems sending a sms

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


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users 
--------------------------------------------------------
 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited. 
 
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to