Dears;
I have been faced with a problem that I am not sure about how can I solve
it...
I my scenario there is a variable which will be ready just after the callee
had hanged up and the caller, which coming throw a Queue.

But the CDR fields are logged into DB just after the Queue application. so
the '*userfield'  *field will remained Blank.
is there any way to suspend CDR write INTO DB untill the end of the whole
dialplan priorities?

*exten => research,1,Answer()*
*exten => research,n,Wait(3)*
*exten => research,n,Queue(research,tkc)*
*exten => research,n,Noop(${BRIDGEPEER:4:4})*
*exten => research,n,SayNumber(${BRIDGEPEER:4:4})*
*exten => research,n,read(dtmf,,1,,,10)*
*exten => research,n,Set(CDR(userfield)=${**dtmf}**)*
*exten => research,n,Hangup*


-- 
Regards,
Ali R. Taleghani
0936 322 4069
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to