Adding PJSIP extension crashes page

Hi everyone,

I’ve got a fully updated version of FreePBX 10.13.66-9 with Asterisk 13.

I found that the option to add pjsip extensions was missing so I went to “Settings” > “Advanced Settings” > “Channel Sip Driver” and set it to both.

I went to add the extension, but when I try to add a pjsip extension, the page crashes with: Invalid argument supplied for foreach()

If I add it as a Quick Extension, it goes in, but I get the same crash when I edit it. Adding a chansip extension works fine.

Errors:

  1. Whoops\Exception\ErrorException
    /­var/­www/­html/­admin/­modules/­core/­functions.inc/­drivers/­Sip.class.php169
  2. Whoops\Run handleError
    /­var/­www/­html/­admin/­modules/­core/­functions.inc/­drivers/­Sip.class.php169
  3. FreePBX\modules\Core\Drivers\Sip getDeviceDisplay
    /­var/­www/­html/­admin/­modules/­core/­functions.inc/­drivers/­PJSip.class.php189
  4. FreePBX\modules\Core\Drivers\PJSip getDeviceDisplay
    /­var/­www/­html/­admin/­modules/­core/­functions.inc.php6437
  5. core_devices_configpageload
    /­var/­www/­html/­admin/­libraries/­components.class.php479
  6. component buildconfigpage
    /­var/­www/­html/­admin/­config.php360

You need to go add a transport to Asterisk SIP Settings under PJSIP

Yup, that did it. :slight_smile: