search for: secondcontext

Displaying 2 results from an estimated 2 matches for "secondcontext".

2011 Mar 02
1
Doubt about cdr on asterisk
...es to a context that call the dial application. Before the application (Dial using the G option) to be invoked i'm setting the variable cellphone like this: [firstcontext] exten => s,1,Set(CDR(cellphone)=${CELLPHONE}) exten => s,n,Dial(IAX2/user:pass at otherasterisk/${CELLPHONE},30,G(secondcontext^s^1)) [secondcontext] exten => s,1,Hangup() exten => s,n,Playback(something) exten => s,n,NoOp(CDR(cellphone) exten => s,n,Hangup() When the costumer answer the call, caller party goes to secondcontex on extension 1 and the called party goes to secondcontex on extension 2. On fi...
2007 Jan 08
0
Goto not jumping to current context
in a simple dialplan like follows: [firstcontext] include => secondcontext include => thirdcontext include => fourthcontext [fourthcontext] _03X.,1,Goto(${EXTEN:2},1) _X.,1,DoSomething() _X.,2,Hangup() the Goto() for exten _03X. seems to start the search for the jump within firstcontext, thus possibly matching an exten in secondcontext or thirdcontext first bef...