Re: [Asterisk-Users] app_sms: problems sending a sms
Hello Seshu, i think you solved your problem in the meantime, but here are my points (for archive purposes), after it works here now. > Thanks Steffen. Please update me if this ever works. The problem was (probably), that i put some lines in extension.conf for sending a sms, and triggered this by calling this extension. Probably the sms app can't get the right channel then. After changing this, i had in the extensions.conf: [smsdial] exten => _X.,1,SMS(default,,${EXTEN},${MSG}) exten => _X.,2,SMS(default) exten => _X.,3,Hangup exten => h,1,Hangup (like a poster here posted it already) and put a call file in /var/spool/asterisk/outgoing/ [EMAIL PROTECTED]:/tmp# cat testsms Channel: Zap/g1/0090032669000 CallerID: SMS <35910> MaxRetries: 2 RetryTime: 60 WaitTime: 30 Context: smsdial Extension: 0179XXX Priority: 1 SetVar: MSG=Text to send That works here now. A few hints: - If it doesn't work, try to call the SMSC with your phone. You should hear the sound of a bird chirp and the SMSC should hangup after a few seconds. If you get something like "This number is not complete", try to add a zero at the end of the number and repeat. If nothing happens, check out if calling the number of the SMSC is allowed from your line. - Put the number of your desk phone in your call file instead of the number of your SMSC. After putting the call file in the outgoing dir, your desk phone should ring. Now you know that your asterisk-setup is ok (or not). - Get and read the ETSI ES 201 912 standard to understand what's going on and to know the meaning of the message type codes the sms app is printing. I think this is a good idea to put this in the wiki. HTH, Steffen ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
RE: [Asterisk-Users] app_sms: problems sending a sms
Thanks Steffen. Please update me if this ever works. Seshu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steffen Koepf Sent: Friday, November 26, 2004 3:36 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [Asterisk-Users] app_sms: problems sending a sms Hello Seshu, no it still does not work. I started to debug this thing, and as far as i can say, the problem is that app_sms does not recognize the initial connection established packet, that the SM-SC sends when answering the call. I don't know now what exactly the problem is at the moment, possible that it is the level of the signal. I will examine this in the next days. 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
Re: [Asterisk-Users] app_sms: problems sending a sms
Hello Seshu, no it still does not work. I started to debug this thing, and as far as i can say, the problem is that app_sms does not recognize the initial connection established packet, that the SM-SC sends when answering the call. I don't know now what exactly the problem is at the moment, possible that it is the level of the signal. I will examine this in the next days. 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
RE: [Asterisk-Users] app_sms: problems sending a sms
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
[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