search for: firstcontext

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

2011 Mar 02
1
Doubt about cdr on asterisk
I have the following situation.... I'm using Action Originate to originate a call for a costumer. Originate goes 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 c...
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 secondconte...