On Mon, 13 Jun 2011, salaheddine elharit wrote:

[configuration details snipped]

i can call the 2000 from my unit and 1000 from my server without issue  

my question how i can i do in order to call an external number from my unit(server 2)

with my server 1 i can call the external number without issue

Read 'Asterisk: The Future of Telephony.' It's available as a free PDF as well as in paper book form.

If you only have the single extension on each server, you don't need to do pattern matching in the 'answering' dialplan.

To call from server2, DUNDi may be appropriate or it may be overkill for your needs.

For me (a 1 man band), I'd just set up a pattern in server2 to match the external number dialing plan of your country and use IAX to dial a new context in server1 that accesses the card in server1.

Make sure you restrict access between the hosts by IP addresses and strong passwords to reduce the chance of nasty surprises.

--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to