VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
engthyda at gmail.com Guest
|
Posted: Sun Oct 18, 2015 11:53 pm Post subject: [asterisk-users] Why I get repeat messages many times |
|
|
I am using the asterisk 13 and I config my dialplan for the SIP messaging as the following :http://highsecurity.blogspot.com/2012/03/asterisk-10-110-sms-messaging-or-sip.html
[astsms]
exten => _.,1,NoOp(SMS receiving dialplan invoked)
exten => _.,n,NoOp(To ${MESSAGE(to)})
exten => _.,n,NoOp(From ${MESSAGE(from)})
exten => _.,n,NoOp(Body ${MESSAGE(body)})
exten => _.,n,Set(ACTUALTO=${CUT(MESSAGE(to),@,1)})
exten => _.,n,MessageSend(${ACTUALTO},${MESSAGE(from)})
exten => _.,n,NoOp(Send status is ${MESSAGE_SEND_STATUS})
exten => _.,n,GotoIf($["${MESSAGE_SEND_STATUS}" != "SUCCESS"]?sendfailedmsg)exten => _.,n,Hangup()
With this configuration I could send message, but I don't know what wrong with it as sometimes I get the repeat messages many times. do you have any idea? |
|
Back to top |
|
|
webaccounts173 at jgoe... Guest
|
Posted: Mon Oct 19, 2015 3:25 am Post subject: [asterisk-users] Why I get repeat messages many times |
|
|
Quote: | I am using the asterisk 13 and I config my dialplan for the SIP messaging as the following : http://highsecurity.blogspot.com/2012/03/asterisk-10-110-sms-messaging-or-sip.html
[astsms]
exten => _.,1,NoOp(SMS receiving dialplan invoked)
exten => _.,n,NoOp(To ${MESSAGE(to)})
exten => _.,n,NoOp(From ${MESSAGE(from)})
exten => _.,n,NoOp(Body ${MESSAGE(body)})
exten => _.,n,Set(ACTUALTO=${CUT(MESSAGE(to),@,1)})
exten => _.,n,MessageSend(${ACTUALTO},${MESSAGE(from)})
exten => _.,n,NoOp(Send status is ${MESSAGE_SEND_STATUS})
exten => _.,n,GotoIf($["${MESSAGE_SEND_STATUS}" != "SUCCESS"]?sendfailedmsg) exten => _.,n,Hangup()
With this configuration I could send message, but I don't know what wrong with it as sometimes I get the repeat messages many times. do you have any idea?
| Are the calls answered before jumping to astsms?
jg |
|
Back to top |
|
|
engthyda at gmail.com Guest
|
Posted: Mon Oct 19, 2015 4:27 am Post subject: [asterisk-users] Why I get repeat messages many times |
|
|
No, It directly goes the context astsms when we send the message. but it still repeats the message sometimes.
On Mon, Oct 19, 2015 at 3:25 PM, jg <webaccounts173@jgoettgens.de (webaccounts173@jgoettgens.de)> wrote:
Quote: |
Quote: | I am using the asterisk 13 and I config my dialplan for the SIP messaging as the following : http://highsecurity.blogspot.com/2012/03/asterisk-10-110-sms-messaging-or-sip.html
[astsms]
exten => _.,1,NoOp(SMS receiving dialplan invoked)
exten => _.,n,NoOp(To ${MESSAGE(to)})
exten => _.,n,NoOp(From ${MESSAGE(from)})
exten => _.,n,NoOp(Body ${MESSAGE(body)})
exten => _.,n,Set(ACTUALTO=${CUT(MESSAGE(to),@,1)})
exten => _.,n,MessageSend(${ACTUALTO},${MESSAGE(from)})
exten => _.,n,NoOp(Send status is ${MESSAGE_SEND_STATUS})
exten => _.,n,GotoIf($["${MESSAGE_SEND_STATUS}" != "SUCCESS"]?sendfailedmsg) exten => _.,n,Hangup()
With this configuration I could send message, but I don't know what wrong with it as sometimes I get the repeat messages many times. do you have any idea?
|
Are the calls answered before jumping to astsms?
jg
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|