Hi,
 
One solution would be to configure each IP phone (in sip.conf) on a different context.
[phone1]
context=local
 
[phone2]
context=intl
 
Then make 2 different contexts named "local" and "intl" on extensions.conf
 
[local]
exten => _9X.,1,yourDialString
; Nine followed by any number is just an example as I don't know the dial plan in Argentina
 
[intl]
include => local
; Including local context to be available on intl too
exten => _00X.,1,yourDialString
 
 
This just looks like crap if you hadn't take the time to read a bit about the dialplan.
I recommend you to look at:
 
 
voip-info.org has lots of nice documentation ;)
 
Hope it helps a bit...
 
 
Buena suerte!
 
Alejandro Mejia

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mariano Gonzalez
Sent: Jueves, 17 de Noviembre de 2005 03:52 p.m.
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] call levels

Hello all.

This is my first time with Asterisk, may be my question is fool.

I have a two IP phone.

I need that the first phone makes calls to local numbers only and the second phone make calls to all numbers.

Somebody know the solution?

Thanks a lot.

 

Mariano

 

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

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

Reply via email to