search for: some_context

Displaying 13 results from an estimated 13 matches for "some_context".

2008 Feb 22
2
(no subject)
hi, how to write a advanced dial plan for example: dial to a extension(123).if the user didnot pick the call, caller should get a ivr script(Enter 1 to to dial operator and 2 to go to voicemail) If caller press 1 it should dial to the operator,else if he dials 2 it should go to the voicemail of calle's extension. thanks sandeep. -------------- next part -------------- An HTML attachment
2018 Jun 05
2
How to execute priorities following a caller hangup in a successful Dial?
...andleHangupByPeer.) Cheers, David On Tue, Jun 5, 2018 at 12:58 PM, Eric Wieling <ewieling at nyigc.com> wrote: > Don't use the _. pattern. Ever. > > The call has two channels so it needs two hangup handlers, something like > this, though I've not tested it. > > [some_context] > exten => _X.,1,Noop > same => n,Set(CHANNEL(hangup_handler_push)=my_caller_hangup_handler) > same => n,Dial(SIP/number at peer,b(pre_dial^s^1)) > same => n,Hangup > > [pre_dial] > exten => s,1,Set(CHANNEL(hangup_handler_push)=my_called_hangup_handler) >...
2018 Jun 05
2
How to execute priorities following a caller hangup in a successful Dial?
Thanks, Eric. I just tried a hangup handler, but it's showing a similar problem: When the peer hangs-up, the hangup handler is not invoked and the caller channel remains open. same => n(callPeer),Set(GLOBAL(Peer${IndexIntoPeers}CurrentCallsCount)=$[${PeerCurrentCallsCount} + 1]) same => n,Set(CHANNEL(hangup_handler_push)=handleHangupByCallerOrPeer,doesntMatter,1(args)) same =>
2005 Feb 11
4
Setting a "Forward" to an external number on your phone
Hi! Maybe I have just been looking on the wrong pages but there is a question that is very important for me. I already studied some Demo-Dialplans and made some basic experiences with Asterisk. But what I need to find out is how I can handle this. I am leaving my office and I want to tell asterisk to forward calls now to my mobile phone by just hitting a key (on my IP-Phone) or by using a
2004 Jul 29
0
ParkAndAnnounce command !!!
...eed some help with the ParkAndAnnounce command. Here's what I would like to do. I would like to specify an extension in the extension.conf file which is using the ParkAndAnnouce command (something like this) exten => 200,1,Answer exten => 200,2,ParkAndAnnounce(PARKED|60|SIP/${EXTEN}|some_context,${EXTEN},1) exten => 200,3,Hangup I'm writing an application in JAVA which is using the Manager interface to manage calls and so on (I have succeeded to hardcode the call on hold and the transfer and some other actions). In this program I use the Manager interface to detect calls (I use...
2004 Aug 02
0
Help with ParkAndAnnounce command
...need some help with the ParkAndAnnounce command. Here's what I would like to do. I would like to specify an extension in the extension.conf file which is using the ParkAndAnnouce command (something like this) exten => 200,1,Answer exten => 200,2,ParkAndAnnounce(PARKED|60|SIP/${EXTEN}|some_context,${EXTEN},1) exten => 200,3,Hangup I'm writing an application in JAVA which is using the Manager interface to manage calls and so on (I have succeeded to hardcode the call on hold and the transfer and some other actions). In this program I use the Manager interface to detect calls (I use th...
2009 Feb 09
0
Problem with upper case extension names
It seems as if there is a problem if one uses Local/SomeName at some_context in a Dial application. If the extension is changed to somename then things work. I have an extension SomeName defined. In another extension I try to dial this extension and it does not work saying extension/context not found. The extension displayed has uppercase characters so the case is not lost...
2007 May 15
2
Originate and ForkCDR()
Hi, I'm tryng to place a call through Asterisk Manager Originate Action. Since I want separate CDR for each of the two legs of the call, I'm forking CDR with ForkCDR as the first Channel has picked up. The problem is that, while the first CDR is fine, in the second one the "answer" field is always empty, "billsec" field is 0 and "disposition" field is
2011 Nov 22
1
Asterisk refuses INVITE (401) and I don't know why
Hello list, this is the communication between an Aastra 5000 PBX and Asterisk, where the Aastra makes a call to Asterisk. For some reason, Asterisk responds with 401-Unauthorized and I don't know why. Calls go well with Panasonic PBX, Avaya PBX, Alcatel-Lucent PBX but NOT with this Aastra. A1.A1.A1.A1 = IP-address Asterisk PBX AS.AS.AS.AS = IP-address Aastra PBX Aastra PBX makes a call
2010 Mar 16
2
DID/CID doesn't match "." (dot) in CID field
Hi all, using Skype for Asterisk I have the following problem. In my dialplan I need to have a CID matching (example.skype) over a DID (test.skype) : [example] exten => test.skype/example.skype,1, NoOp(nothing) exten => test.skype/example.skype,n, Hangup() Where test.skype and example.skype are Skype business account. In this case, when I get a : CLI> show dialplan example I get: [
2011 Jan 10
3
How to check a number online or offline
Hi all, Now i want to check a number (channel) online, offline or unreachable on asterisk but i don`t know to do. Can anyone help me to solve this issue. Thanks and best regard! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110109/c193b48d/attachment.html>
2011 Dec 16
2
Which device auto-registered an extension?
Hi all, In sip.conf: [general] regcontext = autoreg [devabc] regexten = 543 creates "exten=> 543,1,Noop(devabc)" in context autoreg when devabc registers. But I can't use "exten=> _5XX,2,Dial(SIP/${EXTEN})" in the dialplan, because there's no device SIP/543. Now I know I can add a line like "exten=> 543,2,Dial(SIP/devabc)" for each and
2006 Oct 10
10
Voicemail Press '0'
Crikey. I can't get this to work! Allegedly, you can press 0 while in the voicemail greeting and be dropped to the 'o' extension. For some reason, I can't get it to work. The 'docs' aren't clear about what context the o extension should be in. The voip wiki says "the context for the voicemail box that we're looking for in the dialplan for the jump to the