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 wrote: > 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 customer-internal context. That

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 ca

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

2014-02-06 Thread isrlgb
-Commercial Discussion Subject: [asterisk-users] Rejecting a call as if the extension does not exist. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory

[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 => _X.,1,Progres

Re: [asterisk-users] Rejecting a Call

2006-12-06 Thread Eric \"ManxPower\" Wieling
Ray Jackson wrote: The problem is I do not want to answer the call but reject it during call setup with the appropriate 401 or 403 type response - similar to the way Busy() sends back a '486 Busy Here'. The problem is this causes the other end to Hunt to the next endpoint, whereas I want the o

Re: [asterisk-users] Rejecting a Call

2006-12-06 Thread Ray Jackson
The problem is I do not want to answer the call but reject it during call setup with the appropriate 401 or 403 type response - similar to the way Busy() sends back a '486 Busy Here'. The problem is this causes the other end to Hunt to the next endpoint, whereas I want the other end to give up

Re: [asterisk-users] Rejecting a Call

2006-12-06 Thread Tzafrir Cohen
On Wed, Dec 06, 2006 at 10:25:29AM -0400, Arlen Nascimento wrote: > Maybe you want something like > > [undesireable] > exten => _x,1,Playback(forbidden) This requires Asterisk to pass audio to the other party. -- Tzafrir Cohen icq#16849755jabber:[EM

RE: [asterisk-users] Rejecting a Call

2006-12-06 Thread Carlos Alperin
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Jackson Sent: Tuesday, December 05, 2006 11:27 PM To: asterisk-users@lists.digium.com Subject: [asterisk-users] Rejecting a Call All, Is there a way of rejecting a call using SIP in the Asterisk Dialplan? Essentially, I want to look at the

Re: [asterisk-users] Rejecting a Call

2006-12-06 Thread Arlen Nascimento
Maybe you want something like [undesireable] exten => _x,1,Playback(forbidden) exten => _x,n,Hangup Regards On 12/6/06, Ray Jackson <[EMAIL PROTECTED]> wrote: All, Is there a way of rejecting a call using SIP in the Asterisk Dialplan? Essentially, I want to look at the called number

[asterisk-users] Rejecting a Call

2006-12-05 Thread Ray Jackson
All, Is there a way of rejecting a call using SIP in the Asterisk Dialplan? Essentially, I want to look at the called number and if it matches something I don't like I want to send back a SIP response which will not cause the other end to 'hunt'. The response codes that will achieve this are