On Tuesday 16 October 2007 03:49:37 Atis Lezdins wrote:
> Well, as far as i have tried - i never get ANSWERED in DIALSTATUS. Only
> thing that continues is h extension.
You must of course use 'g' in the Dial flags so that it continues on in the
dialplan after hangup...
-A.
_
- Original Message -
From: "Alex Balashov" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
Sent: Tuesday, October 16, 2007 1:12 AM
Subject: Re: [asterisk-users] PSTN failover
> On Tue, 16 Oct 2007, Dovid B wrote:
>
&
- Original Message -
From: "Mojo with Horan & Company, LLC" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
Sent: Tuesday, October 16, 2007 1:20 AM
Subject: Re: [asterisk-users] PSTN failover
> Dovid B wrote:
>
On Tuesday 16 October 2007 06:21:45 Andrew Kohlsmith wrote:
> GotoIf($[${DIALSTATUS} = BUSY]?busy)
> GotoIf($[${DIALSTATUS} = NOANSWER]?noanswer)
> GotoIf($[${DIALSTATUS} = ANSWERED]?answered)
> Dial(Zap/...)
>
> Of course, I do this inside a macro, and I emit correct CDR and correct
> hangupcauses
On Monday 15 October 2007 19:50:03 Philipp Kempgen wrote:
> I'd basically just Dial() 2 times:
> Dial(SIP/...);
> Dial(Zap/...);
>
> No need for priority jumping. And not need to check if
> the ChanIsAvail(). Just Dial().
Why not just do it the correct way?
Dial(SIP/,,g)
GotoIf($[${DIALSTATUS} =
I don't really understand how ChanIsAvail() can be of any use.
Even if it tells you that the channel is available there's no
guarantee that the call will go through.
And moreover between the ChanIsAvail() check and the Dial()
command someone else could have taken the channel.
Regards,
Philipp Ke
Alex Balashov wrote:
> On Tue, 16 Oct 2007, Dovid B wrote:
>
>> Chanisavail does not work well for this. I would use priority jumping
>> (n+101).
>
>Why not?
Priority jumping is no solution to failover, it's just an ugly
hack. ;)
I'd basically just Dial() 2 times:
Dial(SIP/...);
Dial(Zap
Dovid B wrote:
> Chanisavail does not work well for this. I would use priority jumping
> (n+101).
>
Using ChanIsAvail with the 's' option is supposed to assume a SIP
channel is occupied if it's in use ANYWHERE under asterisk's wing. For
clarification, Dovid, have your poor experiences occur
On Tue, 16 Oct 2007, Dovid B wrote:
> Chanisavail does not work well for this. I would use priority jumping
> (n+101).
Why not?
--
Alex Balashov
Evariste Systems
Web: http://www.evaristesys.com/
Tel: +1-678-954-0670
Direct : +1-678-954-0671
__
ber 15, 2007 6:47 PM
Subject: Re: [asterisk-users] PSTN failover
> On Mon, 15 Oct 2007, Robert McNaught wrote:
>
>> Does anyone have any advice in how to implement PSTN failover should an
>> internet connection for IAX trunking go down? to route outbound to
>> analog lines
&g
On Mon, 15 Oct 2007, Robert McNaught wrote:
> Does anyone have any advice in how to implement PSTN failover should an
> internet connection for IAX trunking go down? to route outbound to
> analog lines
>
> Can this be written into the dialplan using a GotoIf statement by
> testing the whether the
Hi,
Does anyone have any advice in how to implement PSTN failover should an
internet connection for IAX trunking go down? to route outbound to
analog lines
Can this be written into the dialplan using a GotoIf statement by
testing the whether the internet connection is up, or from a IAX/SIP
respon
12 matches
Mail list logo