[asterisk-users] Why I get repeat messages many times
Thyda ENG
engthyda at gmail.com
Sun Oct 18 23:52:13 CDT 2015
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151019/dea14174/attachment.html>
More information about the asterisk-users
mailing list