[asterisk-ss7] Automatic Repeat Attempt

enrico mario msaddicted at gmail.com
Tue Oct 27 05:39:52 CDT 2009


Hi Attila,
thanks for your reply, I've implemented the retry mechanism in the dialplan
as you told me in a slightly different way as I don't have AEL enabled:

exten => 99,1,Set(try=1)
exten => 99,n(d),Dial(DAHDI/g1/55)
exten => 99,n,NoOP(DIALSTATUS=${DIALSTATUS} HANGUPCAUSE=${HANGUPCAUSE});
exten => 99,n,Set(try=$[${try} + 1])
exten => 99,n,GotoIf($["${HANGUPCAUSE}" = "256"] & $[${try} <
${RETRY_MAX}]?d)
...

It works very well (in both Q.784 tests 6.2.2 and 6.2.3), thanks again
Attila!
Mario


On Tue, Oct 27, 2009 at 9:31 AM, Attila Domjan <adomjan at tvnet.hu> wrote:

> Hi sorry I missunderstand you. It must implemented via dialplan.
>
> the hangupcause=256 means have to try dial again.
>
> from my dialplan (ael):
>
> CUR_TRY=0;
> loop:
>
> Dial(DAHDI/G2/${DIALNUM},90,L(${LIMIT_CALLTIME}${LIMIT_PLAY_WARNING})g);
> NoOP(DIALSTATUS=${DIALSTATUS} HANGUPCAUSE=${HANGUPCAUSE});
> CUR_TRY=${CUR_TRY}+1;
> if (${HANGUPCAUSE}=256 & ${CUR_TRY}<30) // 256 tell explicit dial again,
> max 30 times
>       goto loop;
>
>
>
> On Mon, 2009-10-26 at 23:34 +0100, enrico mario wrote:
> > Hi guys,
> > I'm trying to test the automatic repeat attempt of libss7 (Attila's
> > version), but I cannot get it to work. The message sequence I obtain
> > is correct until the cic release (as described in Q.784 6.2.2 and
> > 6.2.3) but the second try don't happen, in other words the IAM is not
> > sent. Is this functionality to be developed or is it a problem of my
> > setup? Anybody else has the same issue?
> >
> > Mario
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-ss7 mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-ss7
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-ss7/attachments/20091027/e27732a7/attachment.htm 


More information about the asterisk-ss7 mailing list