engthyda at gmail.com Guest
|
Posted: Thu Sep 24, 2015 4:27 am 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? |
|