Hi Attila,<br>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:<br><br>exten => 99,1,Set(try=1)<br>exten => 99,n(d),Dial(DAHDI/g1/55)<br>
exten => 99,n,NoOP(DIALSTATUS=${DIALSTATUS} HANGUPCAUSE=${HANGUPCAUSE});<br>exten => 99,n,Set(try=$[${try} + 1])<br>exten => 99,n,GotoIf($["${HANGUPCAUSE}" = "256"] & $[${try} < ${RETRY_MAX}]?d)<br>
...<br><br>It works very well (in both Q.784 tests 6.2.2 and 6.2.3), thanks again Attila!<br>Mario<br><br><br><div class="gmail_quote">On Tue, Oct 27, 2009 at 9:31 AM, Attila Domjan <span dir="ltr"><<a href="mailto:adomjan@tvnet.hu">adomjan@tvnet.hu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi sorry I missunderstand you. It must implemented via dialplan.<br>
<br>
the hangupcause=256 means have to try dial again.<br>
<br>
from my dialplan (ael):<br>
<br>
CUR_TRY=0;<br>
loop:<br>
<br>
Dial(DAHDI/G2/${DIALNUM},90,L(${LIMIT_CALLTIME}${LIMIT_PLAY_WARNING})g);<br>
NoOP(DIALSTATUS=${DIALSTATUS} HANGUPCAUSE=${HANGUPCAUSE});<br>
CUR_TRY=${CUR_TRY}+1;<br>
if (${HANGUPCAUSE}=256 & ${CUR_TRY}<30) // 256 tell explicit dial again,<br>
max 30 times<br>
goto loop;<br>
<div class="im"><br>
<br>
<br>
On Mon, 2009-10-26 at 23:34 +0100, enrico mario wrote:<br>
</div><div><div></div><div class="h5">> Hi guys,<br>
> I'm trying to test the automatic repeat attempt of libss7 (Attila's<br>
> version), but I cannot get it to work. The message sequence I obtain<br>
> is correct until the cic release (as described in Q.784 6.2.2 and<br>
> 6.2.3) but the second try don't happen, in other words the IAM is not<br>
> sent. Is this functionality to be developed or is it a problem of my<br>
> setup? Anybody else has the same issue?<br>
><br>
> Mario<br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> --Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
><br>
> asterisk-ss7 mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br>
</div></div><br>_______________________________________________<br>
--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--" target="_blank">http://www.api-digital.com--</a><br>
<br>
asterisk-ss7 mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-ss7" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-ss7</a><br></blockquote></div><br>