Roger Burton West
2011-Feb-24 11:38 UTC
[asterisk-users] Carrying context from one server to another?
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?
Daniel Tryba
2011-Feb-24 13:51 UTC
[asterisk-users] Carrying context from one server to another?
On Thu, Feb 24, 2011 at 11:38:17AM +0000, 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
Rizwan Hisham
2011-Feb-24 16:17 UTC
[asterisk-users] Carrying context from one server to another?
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 <daniel at tryba.nl> wrote:> On Thu, Feb 24, 2011 at 11:38:17AM +0000, 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) 3333 6767 26 E: rizwanhasham at gmail.com W: www.axvoice.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110224/1a72dede/attachment.htm>