[asterisk-dev] (no subject)

Adam Moffett adam at plexicomm.net
Wed Jul 2 12:12:19 CDT 2008


I'm not a developer, but that's not a bug.

It's supposed to jump to n+101 on failure, so try changing this line:

exten => s,106,NoOp(Matthieu)

to priority 107.

Post to asterisk-users if you need more help.

> Yesturday I found a bug in Asterisk, in particular in Dial application.
> When the Dial function exit it want to branch to n+1, but if n+1 do not
> exist, it exit from the context.
>
> Example :
>
> exten => s,5,ChanIsAvail(SIP/604,sj)
> exten => s,6,Dial(SIP/604,15,wotr)
> exten => s,106,NoOp(Matthieu)
> exten => s,n,ChanIsAvail(SIP/605,s)
>
> Won't work because Dial exit to 7, and line 7 don't exist
>
> but
>
> exten => s,5,ChanIsAvail(SIP/604,sj)
> exten => s,6,Dial(SIP/604,15,wotr)
> exten => s,7,NoOp(Nopnopnopnopnop)
> exten => s,106,NoOp(Matthieu)
> exten => s,n,ChanIsAvail(SIP/605,s)
>
> Work, because line 7 exist
>
> I use Asterisk 1.4.18
>
> Sincerly,
> Jérôme Poggi
>
> --
> Jerome POGGI                                     Jerome.Poggi at hsc.fr
> Herve Schauer Consultants   -=-   Network security consultant, CISSP
> http://www.hsc.fr/                             Tel : +33 141 409 700
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>   




More information about the asterisk-dev mailing list