I have two asterisk servers. One is at location 1 and the other is at location 2. What I am trying to do seems straightforward. I want the Asterisk server at location 2 to
send all it outbound calls to the Asterisk Server at location 1.

Both asterisk servers can dial each other using extensions without a problem, but when users on Asterisk server 2, dial 9XXX-XXX-XXXX the call never reaches the zap channel
on Asterisk server 1.

I have a workaround working right now using switch => but I think there should be a better
way to do this.

Asterisk Server 2 -- extensions.conf
[outbound]
exten => _9XXXXXXXXXXX,1,       Dial(SIP/outbound-server/${EXTEN:1},30,r)
exten => _9XXXXXXXXXXX,2,       HangUp()

Asterisk Server 2 -- sip.conf
[outbound-server]
       type=friend
       username=outbound-server
       secret=********
       context = all-calls
       host=1.1.1.1
       nat=no
       canreinvite=no
       insecure=very
       qualify=yes
       disallow=all
       allow=ulaw
       allow=alaw
       allow=gsm

any help is accepted and appreciated.

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to