[asterisk-users] Dial function exit, go to line n+1

Matt Riddell matt at venturevoip.com
Mon Jul 7 02:21:00 CDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jerome Poggi wrote:
> 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,s)
> 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,s)
> 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

That's what it's supposed to do - maybe you are referring to the
deprecated +101 jumps?

- --
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIccPcDQNt8rg0Kp4RAptLAJ9ro1BuinTSIdJdiC7TAatIpLfppQCgjUUA
4pNzmkt5+IWRQma/bZo9kR0=
=BfVo
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list