[asterisk-users] dialling multiple extensions in an internal context

Matthew Pounsett matt at conundrum.com
Sat Apr 18 14:51:37 CDT 2009


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


On 18-Apr-2009, at 13:47, D Tucny wrote:

> exten => _*55NXXXXXX,1,SetVar(TRUNK=${TRUNK2})
> exten => _*55NXXXXXX,n,Dial(${TRUNK}/${EXTEN:3})
>
> or
>
> exten => _*55NXXXXXX,1,SetVar(TRUNK=${TRUNK2})
> exten => _*55NXXXXXX,n,Goto(internal,${EXTEN:3},1)

Those won't scale to a full dial plan very well.

> exten => *55,1,SetVar(TRUNK=${TRUNK2})
> exten => *55,n,DISA(no-password,internal)
>
> or
>
> exten => *55,1,SetVar(TRUNK=${TRUNK2})
> exten => *55,n,WaitExten(5)

Hrm.. I completely overlooked WaitExten.  Must have unconsciously  
associated it with Wait, and skipped the application description.   
DISA looks a bit hack-ish, but would certainly work too.

Thanks for the pointers.. I'll give these a shot.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.11 (Darwin)

iEYEARECAAYFAknqL0wACgkQmFeRJ0tjIxH2LQCbB88pau5H7Zq3Y6D6mU2G2F8r
sWAAmQGfnRIU1zvxLNokjiUYC4TGxxqX
=5r02
-----END PGP SIGNATURE-----



More information about the asterisk-users mailing list