[Asterisk-Users] Re: 2 servers

David Cook dbc_asterisk at advan.ca
Mon Sep 27 05:43:27 MST 2004


Quoting asterisk-users-request at lists.digium.com:
>
> Good day all
> I got my 2 asterisk servers talcking 2 each other using iax and sip
> thanks to davids doc here
> But...
> Only one box's has a zaptel card in!
> How do I get users from the other box to dial out threw the server
> with
> the card in?
> Thanks
> ALtus

In the document example the receiving server has extensions 5000-5999,
the sending server does not. However, the _5XXX definition on the
sending server matches all extensions in that range and forwards them
via IAX2 to the receiving server.
exten =>
_5XXX,1,Dial(IAX2/REC_SERVER:mysecret at my.receiving.server.ca/${EXTEN}@local)
exten => _5XXX,2,Hangup
exten => _5XXX,102,Hangup

dbc.
--
David Cook



More information about the asterisk-users mailing list