[asterisk-bugs] [JIRA] (ASTERISK-21688) CDR record cannot be modified in 'h' extension when 'g' option is used in Dial application

Emiliano (JIRA) noreply at issues.asterisk.org
Thu Apr 25 11:08:38 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205839#comment-205839 ] 

Emiliano commented on ASTERISK-21688:
-------------------------------------

Dear Matt,
I need to incorporate in the CDR who hangup.

In my Dialplan set this value when hangup communication.

exten => 111,1,Noop(Inbound call)
exten => 111,n,Dial(SIP/111,,g)
exten => 111,n,Set(CDR(term)=CALLED) ;**
exten => 111,n,Noop(Hangup Called)

exten => h,1,Noop(Hangup caller)
exten => h,n,Set(CDR(term)=CALLER) ;**

** Execute this lines but not update in CDR.

I understand that can be done using some agi or some other mechanism. What I wanted to do was add complexity to my DialPlan. In callcenters is very important to have this information.

I appreciate your response and that later would add this information to the CDR.

Sorry to report it as an error but not it.

                
> CDR record cannot be modified in 'h' extension when 'g' option is used in Dial application
> ------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-21688
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21688
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_dial, CDR/General, Features
>    Affects Versions: 11.2.1
>         Environment: Debian Squeeze 64x
> Asterisk 11.2-cert1
>            Reporter: Emiliano
>            Severity: Minor
>
> Can't update CDR (cdr_adaptive_odbc) custom fields after hangup.
> I tried by setting endbeforehexten with yes or no.
> Scenario:
> exten => s,1,Dial(SIP/TEST,,g)
> same => n,Set(CDR(field)=testing)
> same => n,hangup()
> exten => h,1,Noop(Set different value for field)
> same => n,Set(CDR(field)=hanguptest)
> same => n,hangup()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list