Dundi question: Is there a way to pass dial arguments to switch => DUNDi as if you were dialing using Dial(${DUNDILOOKUP(${EXTEN})},,tTwW)? We were going to impliment DUNDi, but realized we lost the ability to use the Dial features. I could just use the DUNDILOOKUP function, but that keeps you from being able to use alternate routes if DUNDi returns multiple routes. I've looked through the source code in pbx_dundi.c (cursory glance) but can't really find where the dial takes place. Mitch Sharp
> -----Original Message----- > From: Mitch Sharp [mailto:MSharp@BIGNetworks.com] > Sent: Tuesday, August 01, 2006 3:06 PM > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] Dundi and Dial Arguments > > > Dundi question: > > Is there a way to pass dial arguments to switch => DUNDi as > if you were > dialing using Dial(${DUNDILOOKUP(${EXTEN})},,tTwW)? > > We were going to impliment DUNDi, but realized we lost the ability to > use the Dial features. > > I could just use the DUNDILOOKUP function, but that keeps you > from being > able to use alternate routes if DUNDi returns multiple routes.Yes, damn annoying that.
On 15:39, Tue 01 Aug 06, Douglas Garstang wrote:> > -----Original Message----- > > From: Mitch Sharp [mailto:MSharp@BIGNetworks.com] > > Sent: Tuesday, August 01, 2006 3:06 PM > > To: asterisk-users@lists.digium.com > > Subject: [asterisk-users] Dundi and Dial Arguments > > > > > > Dundi question: > > > > Is there a way to pass dial arguments to switch => DUNDi as > > if you were > > dialing using Dial(${DUNDILOOKUP(${EXTEN})},,tTwW)? > > > > We were going to impliment DUNDi, but realized we lost the ability to > > use the Dial features. > > > > I could just use the DUNDILOOKUP function, but that keeps you > > from being > > able to use alternate routes if DUNDi returns multiple routes. > Yes, damn annoying that.I suggest you use an AGI for it. That gives you way more options -- Michiel van Baak michiel@vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD "Why is it drug addicts and computer afficionados are both called users?"
> -----Original Message----- > From: Michiel van Baak [mailto:michiel@vanbaak.info] > Sent: Tuesday, August 01, 2006 3:57 PM > To: asterisk-users@lists.digium.com > Subject: Re: [asterisk-users] Dundi and Dial Arguments > > > On 15:39, Tue 01 Aug 06, Douglas Garstang wrote: > > > -----Original Message----- > > > From: Mitch Sharp [mailto:MSharp@BIGNetworks.com] > > > Sent: Tuesday, August 01, 2006 3:06 PM > > > To: asterisk-users@lists.digium.com > > > Subject: [asterisk-users] Dundi and Dial Arguments > > > > > > > > > Dundi question: > > > > > > Is there a way to pass dial arguments to switch => DUNDi as > > > if you were > > > dialing using Dial(${DUNDILOOKUP(${EXTEN})},,tTwW)? > > > > > > We were going to impliment DUNDi, but realized we lost > the ability to > > > use the Dial features. > > > > > > I could just use the DUNDILOOKUP function, but that keeps you > > > from being > > > able to use alternate routes if DUNDi returns multiple routes. > > Yes, damn annoying that. > > I suggest you use an AGI for it. > That gives you way more optionsHow does AGI help? Your still calling DUNDILOOKUP inside the AGI script, and not matter how many times you call it, your still always going to get the lowest priority path returned. Doug.