Re: [asterisk-users] Dial out through multiple Zap groups

2007-07-25 Thread C F
Sorry I did not realize that your concern was when the line is disconnected, as I didn't bother reading the whole message and as soon as I read that the problem is about LCR I responded not reading even one word further about the disconnected. On 7/25/07, Vieri <[EMAIL PROTECTED]> wrote: > > ---

Re: [asterisk-users] Dial out through multiple Zap groups

2007-07-25 Thread Vieri
--- "Eric \"ManxPower\" Wieling" <[EMAIL PROTECTED]> wrote: > You cannot detect disconnected analog lines in > Asterisk. You can't even > determine of the lines have dialtone. All you can > do is determine if > there is a current active asterisk managed call. You're right, unfortunately. ;-(

Re: [asterisk-users] Dial out through multiple Zap groups

2007-07-25 Thread Vieri
--- C F <[EMAIL PROTECTED]> wrote: > This should do what you want: > > You can call it like this: > exten => 12125551212,1,Macro(dialoutbound,${EXTEN},8005551212,3-Zap/G1/-Zap/G2/-Sip/Nufone/) > > Hope this helps. Thanks but it still won't work when the wires are disconnected. This is what I g

Re: [asterisk-users] Dial out through multiple Zap groups

2007-07-24 Thread C F
This should do what you want: You can call it like this: exten => 12125551212,1,Macro(dialoutbound,${EXTEN},8005551212,3-Zap/G1/-Zap/G2/-Sip/Nufone/) The above using the macro below will try zap/g1 first if it's in use or otherwise unavailable, ti will go to zap/g2 and then sip/nufone. [macro-d

Re: [asterisk-users] Dial out through multiple Zap groups

2007-07-24 Thread Eric \"ManxPower\" Wieling
You cannot detect disconnected analog lines in Asterisk. You can't even determine of the lines have dialtone. All you can do is determine if there is a current active asterisk managed call. Noah Miller wrote: > Hi Vieri - > >> I'm trying to set a rule to dial out through multiple >> Zap gro

Re: [asterisk-users] Dial out through multiple Zap groups

2007-07-24 Thread Eric \"ManxPower\" Wieling
Vieri wrote: > --- Noah Miller <[EMAIL PROTECTED]> wrote: > >> You can try using ChanIsAvail() to test beforehand >> if the zap channels >> will accept a call. > > I'll try that. Thanks Noah. > My test was with "disconnected" analog lines. > I will also try to do the same but this time will keep

Re: [asterisk-users] Dial out through multiple Zap groups

2007-07-24 Thread Vieri
--- Noah Miller <[EMAIL PROTECTED]> wrote: > You can try using ChanIsAvail() to test beforehand > if the zap channels > will accept a call. I'll try that. Thanks Noah. My test was with "disconnected" analog lines. I will also try to do the same but this time will keep the line busy by placing a

Re: [asterisk-users] Dial out through multiple Zap groups

2007-07-24 Thread Noah Miller
Hi Vieri - > I'm trying to set a rule to dial out through multiple > Zap groups so that, say, g0 is the cheaper POTS lines > group > and must be used first. However, if g0 is busy or > disconnected then try dialing out g1. > > My g0 group is made up of 4 analog lines connected to > a 4-FXO card. I

[asterisk-users] Dial out through multiple Zap groups

2007-07-24 Thread Vieri
Hi, I'm trying to set a rule to dial out through multiple Zap groups so that, say, g0 is the cheaper POTS lines group and must be used first. However, if g0 is busy or disconnected then try dialing out g1. My g0 group is made up of 4 analog lines connected to a 4-FXO card. I disconnected the RJ-