|Summary:||ASTERISK-16474: CDR(userfield) is not saved when called by Set(CDR(userfield)=...) activated by features.conf|
|Reporter:||James Wilson (integratedvoip)||Labels:|
|Date Opened:||2010-07-29 19:13:31||Date Closed:||2011-06-07 14:05:02|
|Description:||This is a follow on from issue number 17733 because it was closed before i could explain it.|
This issue (17733) was not exactly the same as issue number 0015502 because i was modifying the CDR(userfield) on the caller and NOT the callee. Issue number 0015502 was trying to modify the CDR(userfield) on the callee.
In my example i made an inbound call to SIP extension 301. Then on SIP extension 301 after the call was answered i dialled *7628 to activate the feature on the peer (i.e. not SIP/301, but the caller). The CDR(userfield) changed for the caller but was not save to the DB.
Please help. If i dont understand please help by telling me where i have gone wrong as i cannot see it. It looks like a bug to me.
Thanks in advance.
****** ADDITIONAL INFORMATION ******
Asterisk version 22.214.171.124
|Comments:||By: Leif Madsen (lmadsen) 2010-07-30 06:27:45|
I'm leaving this open for now, but please ask on the asterisk-users mailing list for help in triaging this issue, or join #asterisk-bugs on the IRC network irc.freenode.net.
I spoke with the developer who closed both those issues and he feels it is a configuration problem.
By: James Wilson (integratedvoip) 2010-08-03 21:35:13
Thanks for leaving this open. The reson i have suggested it is a bug is i have tried all combinations of peer/self and caller/callee
By: James Wilson (integratedvoip) 2010-08-03 21:50:27
In my extensions.conf i have
exten => 94738677,1,Set(__DYNAMIC_FEATURES=setExtension621#setExtension622#setExtension623#setExtension624#setExtension625#setExtension626)
exten => 94738677,n,Dial(SIP/301)
In my features.conf i have:
setExtension621 => *1,peer/callee,Set,CDR(userfield)=internal_extension=621,default
setExtension622 => *2,peer/caller,Set,CDR(userfield)=internal_extension=622,default
setExtension623 => *3,self/callee,Set,CDR(userfield)=internal_extension=623,default
setExtension624 => *4,self/caller,Set,CDR(userfield)=internal_extension=624,default
setExtension625 => *5,peer/both,Set,CDR(userfield)=internal_extension=625,default
setExtension626 => *6,peer/both,Set,CDR(userfield)=internal_extension=626,default
i dial *1 *2 *3 *4 *5 *6 from the caller and the callee and the CDR(userfield) is never saved to the DB.
By: Paul Belanger (pabelanger) 2010-09-04 14:19:06
We require a complete debug log to help triage the issue.
This document will provide instructions on how to collect debugging logs from an Asterisk machine for the purpose of helping bug marshals troubleshoot an issue:
By: James Wilson (integratedvoip) 2010-09-05 19:51:49
Please mark this as closed as i found a work around. This does not mean the issue is resolved, just that i have done what i needed in another manner.
By: Leif Madsen (lmadsen) 2010-09-07 15:49:02
Without additional debugging we cannot move this issue forward. As you've found a work around and not provided additional debugging information, I presume you're not interested in moving this forward.
Suspending. Please open a new issue with appropriate debugging if you have this issue. Thanks!