[asterisk-users] Why I get repeat messages many times

Thyda ENG engthyda at gmail.com
Mon Oct 19 04:26:51 CDT 2015


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 at jgoettgens.de> wrote:

>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20151019/64f63291/attachment.html>


More information about the asterisk-users mailing list