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:
>
> ---
--- "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. ;-(
--- 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
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
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
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
--- 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
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
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-