[asterisk-users] Carrying context from one server to another?

2011-02-24 Thread Roger Burton West
The relevant part of my setup is something like:

SIP phones - local server - remote server - SIP-to-PSTN provider

I want _some_ of the SIP phones on the local server to be able to get
access to SIP-to-PSTN, but not all of them. The local-to-remote
connection is IAX2 over VPN.

Do I need to set up two separate IAX2 connections, one privileged and
the other not, or can I somehow tag calls from some phones on the local
server so that they're noted as privileged on the remote server?

--
_
-- 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


Re: [asterisk-users] Carrying context from one server to another?

2011-02-24 Thread Daniel Tryba
On Thu, Feb 24, 2011 at 11:38:17AM +, Roger Burton West wrote:
 The relevant part of my setup is something like:
 
 SIP phones - local server - remote server - SIP-to-PSTN provider
 
 I want _some_ of the SIP phones on the local server to be able to get
 access to SIP-to-PSTN, but not all of them. The local-to-remote
 connection is IAX2 over VPN.

The way I would to this is by blocking them on the localserver (with
different contexts). An other solution would be to set prefixes on the
extension when dialing from local to remote and use these to filter, not
very elegant but works over any transport. I use this to do multitenant
billing on the remote server in places where I only want 1 IAX trunk.
Whether this is effective depends on your control of the local server.

-- 

   Daniel Tryba

--
_
-- 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


Re: [asterisk-users] Carrying context from one server to another?

2011-02-24 Thread Rizwan Hisham
you can also set some kind of authentication on the extensions for example
ask for a pin to dialout. etc

On Thu, Feb 24, 2011 at 6:51 PM, Daniel Tryba dan...@tryba.nl wrote:

 On Thu, Feb 24, 2011 at 11:38:17AM +, Roger Burton West wrote:
  The relevant part of my setup is something like:
 
  SIP phones - local server - remote server - SIP-to-PSTN provider
 
  I want _some_ of the SIP phones on the local server to be able to get
  access to SIP-to-PSTN, but not all of them. The local-to-remote
  connection is IAX2 over VPN.

 The way I would to this is by blocking them on the localserver (with
 different contexts). An other solution would be to set prefixes on the
 extension when dialing from local to remote and use these to filter, not
 very elegant but works over any transport. I use this to do multitenant
 billing on the remote server in places where I only want 1 IAX trunk.
 Whether this is effective depends on your control of the local server.

 --

   Daniel Tryba

 --
 _
 -- 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




-- 
Best Ragards
Rizwan Qureshi
VoIP/Asterisk Engineer
Axvoice Inc.
V: +92 (0)  6767 26
E: rizwanhas...@gmail.com
W: www.axvoice.com
--
_
-- 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