Displaying 1 result from an estimated 1 matches for "secondcontex".
Did you mean:
  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 f...