search for: context3

Displaying 9 results from an estimated 9 matches for "context3".

Did you mean: context
2006 Aug 08
1
Named routes and url generation?
...pplication 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 => ''mycontroller'' The controller for the 3 routes is the same but obviously it behaves differently whether 1 or 2 or 3 contexts are given. The routes and the controller just work fine BUT... Now, on the sam...
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 extensions work allright, EXCEPT in the cases where...
2012 Apr 05
3
Dial Plan - Routing via Caller ID
...m 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 call from a particu...
2008 Oct 21
2
[help] Realtime Swich any context dinamically
...ave 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 to real time dinamically ? -------------- next part -------------- An HTML attachment was scrubbed......
2013 Oct 16
1
Use Asterisk Realtime Extensions with Switch-statement and include-statement
...'include', =>, 'context1', ''); INSERT INTO `my_extensions_table` VALUES (NULL, 'includecontext', 'include', =>, 'context2', ''); INSERT INTO `my_extensions_table` VALUES (NULL, 'includecontext', 'include', =>, 'context3', ''); This would then replace the following in extensions.conf : [includecontext] include => context1 include => context2 include => context3 Possible or not ? Thanks, Jonas Kellens -------------- next part -------------- An HTML attachment was scrubbed... URL: <h...
2009 Sep 08
2
1.2 AGI Deadlock
I am running 1.2.34 (also tried on 1.2.32) and whenever I launch an AGI, I get the "avoided deadlock" message below. *CLI> == Spawn extension (CONTEXT3, 6080, 8) exited non-zero on 'SIP/3211-1-081c40a8' -- Executing NoOp("SIP/3211-1-081c40a8", "") in new stack -- Executing AGI("SIP/3211-1-081c40a8", "diallocal.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/diallocal.a...
2004 Aug 30
1
IAX.conf problem (NEWBIE ALERT!)
...erent 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 and therefore goes to the wrong context in extensions.conf and then of course can't find the numbers entry. If I bung all th...
2010 Jul 02
1
DAHDI FXO calls and the 's' extension. No, Jackie-O doesn't work here--it's just an example. Sheesh!
...to 2345 I want DAHDI/1-3 to go to 3456 ...etc What is the CLEANEST way to do this? Yes, I can create a private context for each DAHDI channel but that seems messy and verbose. [useless-context1] exten => s,1,goto(context,1234,1) [useless-context2] exten => s,1,goto(context,2345,1) [useless-context3] ...etc Slightly better, I can eliminate other contexts by hooking the channel variable, like this, but this also messier than it COULD be. [context] exten => s,1,GotoIf($["${CHANNEL}" = "DAHDI/1-1"]?1234) exten => s,n,GotoIf($["${CHANNEL}" = "DAHDI/2-1&qu...
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