search for: context1

Displaying 20 results from an estimated 25 matches for "context1".

Did you mean: context
2006 Aug 08
1
Named routes and url generation?
Hi all In my application I''ve some named routes defined this way... map.label_context1 '':context1/label'', :controller => ''mycontroller'' map.label_context2 '':context1/:context2/label'', :controller => ''mycontroller'' map.label_context3 '':context1/:context2/:context3/label'', :controller =&gt...
2006 Feb 01
1
Digit timeouts vs includes in diaplan
Hi, I have a little situation with my dialplan, and I am wondering if what I want is even possible. Here it is: I have three contexts, context1 includes contexts2, and context2 includes context3. In other words, in context1 all extensions of context2 and context3 are valid (and actually working, so that's good). I am using those context for the sake of code clarity and reuse, and for this reason they are absolutely needed. Most e...
2009 Mar 09
0
Crash when reloading AEL
...make the following contexts empty "ael reload" works just like it should. context contexta { _X. => { NoOp(Check where to send the call); ifTime(0:00-4:59|mon-fri|*|*) { Playback(prompts/SwitchClosedRT_); } else ifTime(5:00-6:29|mon-fri|*|*) { jump ${EXTEN}@context1; } else ifTime(6:30-18:59|mon-thu|*|*) { jump ${EXTEN}@context2; } else ifTime(6:30-21:59|fri|*|*) { jump ${EXTEN}@context2; } else ifTime(19:00-23:59|mon-thu|*|*) { jump ${EXTEN}@context1; } else ifTime(22:00-23:59|fri|*|*) { jump ${EXTEN}@context1; } el...
2017 Aug 15
2
transfer type to 'local' context
Hi all, is there an easy way to get a 'copy' of a type living in another context into the local context? Background: when calling a function residing in a different module (context2) from a module (context1), we first need to introduce a function declaration of the function with empty body. However, in order to do so, we need the function type. pFuncInContext2->getType gives us the type in context2. The returnType or argument type might refer to some types yet only defined in context2 (e.g. specia...
2005 Jun 20
0
Contexts Calling Each Other
I have a question about contexts calling each other. We have one * box that is setup for multiple companies. Calls come into the default context and that hands them out to the context for each company. For example, 1x goes to context1, 2x goes to context2, etc. Each context includes "outbound" which says that if you dial 1+ or a local number, you are sent out to the Cisco gateway. The question is "how do I set it up so that when a user from context2 dials a user from context1 (using the full 10 digit number),...
2008 Oct 21
2
[help] Realtime Swich any context dinamically
when i wnat to working with realtime and mysql for any context i have to insert (switch => Realtiem/context at extensions) statment into extensions.conf for example if i want to have 10 context, i have to insert these lines into extension.conf : [context1] switch => Realtiem/context1 at extensions [context2] switch => Realtiem/context2 at extensions [context3] switch => Realtiem/context3 at extensions ................. ................. i want to switch these 10 context whithout insert these 10 lines .... how can i switch any context...
2013 Oct 16
1
Use Asterisk Realtime Extensions with Switch-statement and include-statement
...f I would have : extensions => mysql,asterisk,extensions_table In extensions.conf I would then have : [includecontext] switch => Realtime/includecontext at realtime_ext in database : INSERT INTO `my_extensions_table` VALUES (NULL, 'includecontext', 'include', =>, 'context1', ''); INSERT INTO `my_extensions_table` VALUES (NULL, 'includecontext', 'include', =>, 'context2', ''); INSERT INTO `my_extensions_table` VALUES (NULL, 'includecontext', 'include', =>, 'context3', ''); This woul...
2010 Jul 28
2
IAX authentication oddity - Known issue? Fixed?
Hi, I had the following odd behaviour in Asterisk 1.2 - We are migrating to 1.6, and I will re-test ASAP, though it is quite hard to replicate, but I am curious to know whether it is a known IAX issue in 1.2. We had 2 users in iax.conf: [user1] username=user1 secret=secret1 context=context1 host=iax.hostname.com [user2] username=user2 secret= context=context2 host=dynamic deny=0.0.0.0/0.0.0.0 allow=1.2.3.0/255.255.255.0 A call came in with username=user2, the call was from the valid IP range specified in [user2], and the IAX debug trace showed the call as UNAUTHENTICATED. So far so...
2004 Aug 30
1
IAX.conf problem (NEWBIE ALERT!)
...XX] and make incoming entries in IAX.conf for the numbers like below with a different entry for each number pointing to a different context, incoming numbers always use the same entry and ignore the others. PSTN Numbers below are fictitious. [0700681001] type=friend username=08700681001 context=context1 [0700681002] type=friend username=08700681002 context=context2 [0700681003] type=friend username=0700681003 context=context3 So if the first incoming number 0700681001 arrives pointing at context1 it works, when incoming number 0700681002 arrives it seems to still use the entry for 0700681001 an...
2012 Apr 05
3
Dial Plan - Routing via Caller ID
...isk 1.8.10.1. I am trying to set up some routing in my dial plans and having some issues (the issue being that I don't quite understand all of the syntax and patterns that can be used: Examples: DID1 = 6140000000 DID2 = 6140000001 CNAME1 = 6149999999 CNAME2 = 6149999998 CNAME3 = 6149999997 context1 context2 context3 I have looked at several examples (patterns) and I am a little confused and am looking to the list for guidance. Assuming I have (2) two DIDs and I want to route incoming calls according to the DID called and as well as the Caller ID various contexts. If I wanted to route a c...
2006 Feb 21
5
Voicemail 0 for operator call routing
Does anyone know of a way to specify what extension is dialed when 0 is pressed in the voicemail system. I have a situation where there is more than one secretary and they want the 0 to redirect to the appropriate secretary for the two groups of people. So an example would be: 555-1234 -> voicemail -> Secretary 1 555-1235 -> voicemail -> Secretary 2 Any help would be greatly
2016 Jun 07
2
Want to detect sound
<!DOCTYPE html> <html><head> <meta charset="UTF-8"> </head><body><p>Hello everybody,<br><br>I manage not to detect one silence with record () when I make as follows:<br><br>Exten = > 0178900271, n, Record ($ ${ link_recorded_pseudos_clients } pseudo_ Client_Id} wav, 5,5) exten = > 0178900271, n, GotoIf ($ ["
2008 Jun 21
0
One VOIP Provider Multiple registrations <to> multiple inbound contexts ?
.... those work and I have working "s" and test extensions in my dialplan contexts that work as well :-) register => 7341112222:testpassword at sip.exampleprovider.net ; standard inbound to 's' in default inbound context ; would like to be able to direct that inbound call ; into context1 instead of common default defined register => 7341113333:testpassword at sip.exampleprovider.net/100 at context2 ;example of me trying to get inbound call to 102 in context: context2 [peer-1] type=peer context=context1 secret=testpassword username=7341112222 fromuser=7341112222 fromdomain=...
2008 Nov 14
1
Queue App - Set monitoring dynamically
...ls using - w ? allow the called user to write the conversation to disk via Monitor. - W ? allow the calling user to write the conversation to disk via Monitor. But I need to monitor all the calls. I do some operation in dialplan depending the time using GotoIfTime(21:00-09:00|sat|*|*?context1|96|1) Have Queue App any option to resolve this that I?m forgetting? Any Ideas? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081114/cc51db1d/attachment.htm
2009 Jun 29
0
FW: re: Asterisk Outbound with Failover, alarm notification, dial status and hangupcause capturing to CDR from Dialplan
...te 2 exten => _XXX.,n,goto(after-dial) ;after attempting to dial, go to after-dial exten => _XXX.,100,gotoif($[${dialout} > 0 ]?secondfail) exten => _XXX.,n,Set(dialout=${MATH(${dialout}+1)) exten => _XXX.,n,NoOp(${dialout}) exten => _XXX.,n,dial(${route1}/${EXTEN}@${context1}) ;attempt dial out via route 1 exten => _XXX.,n,goto(after-dial) ;after attempting to dial, go to after-dial exten => _XXX.,n(secondfail),set(try=${MATH(${dialout}+2}) ;If call has been dialled by other route and is failing over, set variable try = 2 exten => _XXX.,n,dial(${route1}/${E...
2006 Apr 01
2
Newbie question - sip.conf incoming contexts
Hello! I've been struggling with the documentation for months on this simple subject... I still have not been able to get this concept down... I have 3 sip accounts (PSTN DID's) that come into my asterisk box and give me phone service from my itsp via SIP. I for the life of me have not been able to figure out how to get them to come in to 3 seperate contexts! This must be simple but I
2006 Dec 07
1
-- Called 12127773456@OOH323 Segmentation fault (core dumped)
...h323id ; email ; url ; e164 ; rtptimeout ; ;Define users here ;Section header is extension ;[myuser1] ;type=user ;context=context1 ;disallow=all ;allow=gsm ;allow=ulaw [dol_h323] type=peer ip=83.66.50.2 ; UPDATE with appropriate ip address port=1720 ; UPDATE with appropriate port disallow=all allow=g729 ;[myfriend1] ;type=friend ;context=default ;ip=10.0.0.82 ; UPDATE with appropriate ip address ;port=1820 ; UPDA...
2005 Oct 14
1
Access to trunks
Are there any configuration options to allow certain sip/iax accounts to dial out over specific trunks, and also to stop them dialing out over other trunks. Thanks in advance Bails
2007 May 30
0
Configuring Asterisk as Gateway SIP-H.323 via ooh323
...the address of my Asterisk server h323id=ObjSysAsterisk e164=100100 callerid=asterisk gateway=yes gatekeeper = 192.57.108.112 ;the address of my Tandberg GK faststart=yes h245tunneling=yes context=default disallow=all allow=gsm allow=ulaw allow=alaw dtmfmode=rfc2833 [myuser1] type=user context=context1 disallow=all allow=gsm allow=ulaw [mypeer1] type=peer context=context2 ip=a.b.c.d ; UPDATE with appropriate ip address port=1720 ; UPDATE with appropriate port e164=101 [myfriend1] type=friend context=default ip=a.b.c.d ; UPDATE with appropriate ip address port=1720 ; UPDATE with appropriate port...
2008 Sep 25
1
Create virtual extension
Have, i want to create a sip extension to a context in my dialplan. how i can do that?