[Aaug] Failover Dialplan
Dustin Wildes
dustin at vecsector.com
Sat Feb 3 15:42:23 EST 2007
Hey Christopher - you can definitely do this.
I use macros for everything, so here's an example of a failover:
[outgoing]
exten => _X.,1,Macro(callVoipJet2PSTN)
|[macro-callVoipJet2PSTN]
exten => s,1,Dial(IAX2/<user>@voipjet/{$MACRO_EXTEN},15,tT)
exten => s,n,Goto(s-${DIALSTATUS},1)
exten => s-NOANSWER,1,Goto(s-FAILOVER,1)
exten => s-BUSY,1,||Goto(s-FAILOVER,1)
||exten => s-CONGESTION,1,Goto(s-FAILOVER,1)
||exten => s-CHANUNAVAIL,1,Goto(s-FAILOVER,1)|
|
exten => s-FAILOVER,1,||Dial(Zap/g1/$MACRO_EXTEN},15,tT)
Hope it helps!
|
Christopher Fowler wrote:
> Since I've got the FXO board and I do have the phone line I think that I
> am going to install that as a trunk too. I believe I can make Asterisk
> fail over to that line if my main VOIP trunk (now is voipjet) goes down.
>
> I'm going to install another one at a friend's house (Louie) tonight. I
> told him that all his extension should start at 300 and mine at 200. I
> think I can create a link between the two PBX systems so that if I dial
> 300 then his phone rings. He dials 200 then mine rings. I've got a
> group setup so that ext 2 is all my phones. 3 will be all his.
>
> No I plan to set him up a voipjet trunk to play with as well. What
> would be really cool is if my voipjet trunk failed but his was up then
> all my outbounds would go via the Internet to hisp lace about 5m away
> and then out his voip trunk. We're are just playing around to try and
> learn it.
>
> I ordered a Sipura SPA-2000 ATA off eBay. If iy works well when I get
> this PBX installed in our data center then I may be ordering many more
> and distribute them among our sales reps. I just need to get inbound
> DID taken care of and IVR since we have no receptionist. We do use a
> company that handles all our phone needs including a receptionist and we
> could do a little bit better if I install some of this technology. They
> use Meridian Mail and I _hate_ Meridian Mail.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atlaug.com/pipermail/aaug/attachments/20070203/841428c4/attachment.html
More information about the Aaug
mailing list