Re: [asterisk-users] Rejecting a call as if the extension does not exist.

2014-02-07 Thread A J Stiles
On Friday 07 February 2014, John Kiniston wrote: I'm trying to address a problem with users transferring to invalid destinations. In my sip peer I'm setting both __FORWARD_CONTEXT and __TRANSFER_CONTEXT to a context with a extension defined below to set some CDR variables before the call is

Re: [asterisk-users] Rejecting a call as if the extension does not exist.

2014-02-07 Thread John Kiniston
On Fri, Feb 7, 2014 at 2:16 AM, A J Stiles asterisk_l...@earthshod.co.ukwrote: You are suffering from classic Namespace Pollution. You need to put the extensions for which you are testing into their own separate context, e.g. customer-realexts; and include -that- context into your

[asterisk-users] Rejecting a call as if the extension does not exist.

2014-02-06 Thread John Kiniston
I'm trying to address a problem with users transferring to invalid destinations. In my sip peer I'm setting both __FORWARD_CONTEXT and __TRANSFER_CONTEXT to a context with a extension defined below to set some CDR variables before the call is transferred. [customer-forward] exten =

Re: [asterisk-users] Rejecting a call as if the extension does not exist.

2014-02-06 Thread isrlgb
You could have the call immediately return to the transferer -Original Message- From: John Kiniston johnkinis...@gmail.com Sender: asterisk-users-bounces@lists.digium.comDate: Thu, 6 Feb 2014 17:14:02 To: Asterisk Users Mailing List - Non-Commercial