I just wanted to post an answer to my own question in case anybody else runs into something like this. Hope this come in hand for somebody.
You can make the Dial function (also trixbox custom extensions) dial out on a route by using the format: Local/[number to [EMAIL PROTECTED] where context is your route name (found in extensions_additional.conf if using trixbox) Using "outbound-allroutes" as the context also works. This will use the trunks in the order specified in the route setup. I had previously been using: Dial(IAX2/[IAX trunk name]/[number to call]) But this was limited because it ties the extn to only use the one trunk Cheers, Julian. -----Original Message----- From: philip mullis [mailto:[EMAIL PROTECTED] Sent: July 20, 2007 10:16 AM To: Julian Sulatycki Cc: [email protected] Subject: RE: [on-asterisk] Using an outboud route with Dial() no, it would dial the first if busy goes to rule 2, if you hangup it goes to your extension => h, Phil On Fri, 2007-07-20 at 09:57 -0400, Julian Sulatycki wrote: > Would that not dial twice if both Zap and Iax are available? > > -----Original Message----- > From: philip mullis [mailto:[EMAIL PROTECTED] > Sent: July 20, 2007 9:45 AM > To: Julian Sulatycki > Cc: [email protected] > Subject: Re: [on-asterisk] Using an outboud route with Dial() > > Dont know if this is working in the new version but you could do > something super simple like > > exten _X.,1,Dial(Zap/g1/${EXTEN}) > exten _X.,2,Dial(IAX2/yadaa/${EXTEN}) > > > > On Fri, 2007-07-20 at 09:39 -0400, Julian Sulatycki wrote: > > I'm not sure if this is Trixbox specific but how would I use the > > Asterisk Dial command to make an outgoing call using an outbound route > > instead of a trunk directly? > > > > I'm currently using: Dial(ZAP/g0/numbertocall). If Zap is busy I would > > like it to fail over to an IAX connection. This behavior is currently > > working on an outbound route but I have not found any documentation on > > how to call tell Dial() to use the route. > > > > Any suggestions? > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
