| |
| News & Reviews |
Welcome to the Voxilla VoIP Forum.
Voxilla has been a trusted source for accurate, up-to-date information on the IP Communications industry since 2002. A dedicated staff of reporters and engineers produce feature articles and product reviews to keep industry watchers abreast of the people, companies, and trends driving a fast moving market.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us.
Voxilla VoIP Forum |
SetCDRUserField does not work in screen macro.Technical support, how-to guides, troubleshooting, and general assistance, from beginner to seasoned pro, this is where to discuss Asterisk, the most powerful open source PBX. |
| | LinkBack | Thread Tools | Rate Thread | Display Modes |
| |||
| Hi All, My requirement is, when a call comes to my extension, I will tranfer the control to my agent who has to accept the call. Now I have to keep track of the time when agent has lifted the call, so for that I am using the my cdr table userField to set that time. but some reason it does't work, SetCDRUserField inSide the screen (i.e internalDocument macro). where as when I keep that SetCDRUserField out side screen(ie. Document macro), it updates my cdr table with that value. can some one point me to right direction. I am below this code. [macro-Documet] exten => s,1,Dial(SIP/123...@sip, 60, M(InternalDocumet)) [macro-InternalDocumet] exten => s,1,Read(ACCEPT|/var/lib/asterisk/sounds/pressonetotakecall|1) exten => s,2,GotoIf($[${ACCEPT} = 1 ]?3:6) exten => s,3,set(CallAcceptTime=${STRFTIME(${EPOCH},GMT+8,% Y-%m-%d %H:%M:%S)}) exten => s,4,SetCDRUserField(documet-*${CallAcceptTime}*) exten => s,5,Goto(9) exten => s,6,SetCDRUserField(" ") exten => s,7,Playback(/var/lib/asterisk/sounds/agent-busy) exten => s,8,Set(MACRO_RESULT=CONTINUE) exten => s,9,NOOP(InternalDocument compeleted) Any help is highly appreciated. Thanks & Regards, Ajay. |
| Thread Tools | |
| Display Modes | Rate This Thread |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GXP-2010 Screen | utpbx | Grandstream Support Forum | 1 | June 2nd, 2008 10:07 AM |
| Can't Access the login screen | ben14 | IPKall Support Forum | 0 | May 14th, 2007 08:01 PM |
| macro for outbound call to uk or usa | sometirtha das | Asterisk Support Forum | 0 | November 22nd, 2006 08:29 AM |
| Macro(superdial) Help | sryan2k1 | Asterisk Support Forum | 0 | May 11th, 2006 08:51 PM |
| dialplan macro -- help needed | global_dev | Asterisk Support Forum | 0 | May 7th, 2006 11:52 PM |