VOIP Extension: Asterisk v13 does not handle outgoing calls via Newchannel event

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dkohler
    Junior Member
    • Oct 2018
    • 6

    VOIP Extension: Asterisk v13 does not handle outgoing calls via Newchannel event

    While working on a customization to allow the ignored call list to support regular expressions, I found that the Asterisk v13 module does not appear to handle outgoing calls properly in the Newchannel event handler. When testing my customization, I realized that $phoneNumber was being set to a null value in isIgnoredNumber(). I was able to trace this back to the event handler, where the phone number is supposed to be extracted from the Newchannel event.

    After digging through the code, I noticed that the Asterisk v11 event handling has logic to handle outgoing calls in the Newchannel case (if exten is valid), but this logic is missing from the v13 module. As a workaround to this issue, I've updated my VOIP integration to Asterisk v11. This has resolved the problem, but I'm not sure if it will have other consequences.

    Versions:
    - EspoCRM 5.6.1
    - VOIP Integration 1.10.0
    - Asterisk 13.19.1 (FreePBX)
  • tarasm
    Super Moderator
    • Mar 2014
    • 573

    #2
    Thanks for reporting the bug. We will check it.

    Job Offers and Requests

    Comment

    Working...