FreePBX | Register | Issues | Wiki | Portal | Support

After upgrade from Asterisk 13 to 16 now extension regs get duplicated


(Carlos Chavez) #1

We recently upgraded Asterisk 13 to 16 on our PBXact server and now we notice that when a phone or Zulu registers there are two registrations:
Contact: 2870/sip:2870@192.168.12.215:21883 54ffac4372 Avail 4.896
Contact: 2870/sip:2870@192.168.12.215:21883 54ffac4372 Avail 4.896
Contact: 2874/sip:2874@192.168.12.137:5060 dc4e77d463 Avail 2.922
Contact: 2874/sip:2874@192.168.12.137:5060 dc4e77d463 Avail 2.922
Contact: 2875/sip:2875@192.168.12.26:5060 4a96645b3e Avail 3.698
Contact: 2875/sip:2875@192.168.12.26:5060 4a96645b3e Avail 3.698
Contact: 2877/sip:2877@192.168.12.112:5060 43734398af Avail 8.330
Contact: 2877/sip:2877@192.168.12.112:5060 43734398af Avail 8.330
Contact: 2881/sip:2881@192.168.12.75:5060 5595f387fe Avail 12.921
Contact: 2881/sip:2881@192.168.12.75:5060 5595f387fe Avail 12.921
Contact: 2884/sip:2884@192.168.12.72:5060 efb45fc9dd Avail 7.462
Contact: 2884/sip:2884@192.168.12.72:5060 efb45fc9dd Avail 7.462
Contact: 2887/sip:2887@192.168.12.108:5060 a49438e2e7 Avail 8.008
Contact: 2887/sip:2887@192.168.12.108:5060 a49438e2e7 Avail 8.008
Contact: 2893/sip:2893@192.168.12.215:44622 9316a78389 Avail 4.880
Contact: 2893/sip:2893@192.168.12.215:44622 9316a78389 Avail 4.880

Why would this happen? Everything seems to be working fine.


(Joshua C. Colp) #2

It’s a cosmetic CLI issue only. There is an issue[1] tracking it.

[1] https://issues.asterisk.org/jira/browse/ASTERISK-28228


(Carlos Chavez) #3

Unfortunately it is not just a “cosmetic” issue because all my CDR entries are duplicated since Asterisk wants to send a call for every entry. I now get the “correct” CDR that is answered or not and another that always has a 0 duration. Any idea when this will be fixed?


(Joshua C. Colp) #4

It’ll be fixed in the next week or so, and end up in the next set of releases in approximately 3-5 weeks. I don’t know when it would appear in FreePBX.

Do you have an example of these CDRs? Noone else reported such a problem.


(Lorne Gaetz) #5

I’m not seeing duplicated CDRs. From Asterisk CLI, what is the output of:

 cdr show status

(Carlos Chavez) #6

asterisk -rx “cdr show status”

Call Detail Record (CDR) settings

Logging: Enabled
Mode: Simple
Log unanswered calls: No
Log congestion: No

  • Registered Backends

    Adaptive ODBC

(Carlos Chavez) #7

On a single call I end up with multiple cdr entries. I understand that I should have two entries per call because one call goes to the phone and the other to Zulu (even if zulu is not connected). This call has 4 cdr entries. I assume the first 3 have 0 duration because zulu is not connected and the second registration for the phone does not respond.

Thu, 1 Aug 2019 12:51 [1564681907.515200] 1148 Dial 902818 NO ANSWER 00:00
Thu, 1 Aug 2019 12:51 [1564681907.515200] 1148 Dial 902818 NO ANSWER 00:00
Thu, 1 Aug 2019 12:51 [1564681907.515200] 1148 Dial 902818 NO ANSWER 00:00
Thu, 1 Aug 2019 12:51 [1564681907.515200] 1148 Dial 902818 NO ANSWER 00:10