Multiple Resetcdr Calls Have No Effect

Home » Asterisk Users » Multiple Resetcdr Calls Have No Effect
Asterisk Users 2 Comments

Hi All

My dial plan has the following context:

[sip-guest]

exten => _!.,1, Answer

exten => _!.,n, verbose(1,[${EXTEN}@${CONTEXT}])

exten => _!.,n, resetcdr(w)

exten => _!.,n, resetcdr(w)

exten => _!.,n, set(DNIS=${EXTEN})

exten => _!.,n, resetcdr(w)

exten => _!.,n, hangup()

I expected at least 3 CDR’s in MySQL. I see only one.

Tried playing with cdr.conf settings but apparently they have no effect.

The cdr_mysql.conf is pretty generic.

*CLI> cdr show status

Call Detail Record (CDR) settings

——————————–

2 thoughts on - Multiple Resetcdr Calls Have No Effect

  • Hi All

    Using Asterisk 11. My dial plan has the following context:

    [sip-guest]

    exten => _!.,1, Answer

    exten => _!.,n, verbose(1,[${EXTEN}@${CONTEXT}])

    exten => _!.,n, resetcdr(w)

    exten => _!.,n, resetcdr(w)

    exten => _!.,n, set(DNIS=${EXTEN})

    exten => _!.,n, resetcdr(w)

    exten => _!.,n, hangup()

    I expected at least 3 CDR’s in MySQL. I see only one.

    Tried playing with cdr.conf settings but apparently they have no effect.

    The cdr_mysql.conf is pretty generic.

    *CLI> cdr show status

    Call Detail Record (CDR) settings

    ——————————–