FOP2 upgrade to 2.31.29 breaking WebRTC on FreePBX v14 and v15
After upgrade of FOP2 with command:
wget -O - http://download.fop2.com/upgrade_fop2.sh | bash
Output while upgrading seems fine:
New configuration file /usr/local/fop2/fop2.cfg.new installed. Original fop2.cfg preserved. New configuration file /var/www/html/fop2/config.new.php installed. Original config.php preserved. New configuration file /var/www/html/fop2/admin/config.new.php installed. Original config.php preserved. Done! Backing up /etc/asterisk/extensions_override_freepbx.conf to /etc/asterisk/extensions_override_freepbx.conf.bak Done! Cleaning and updating /etc/asterisk/extensions_override_freepbx.conf ... Done! Creating /etc/asterisk/extensions_override_fop2.conf ... Done! Reloading asterisk dialplan... Done! Generating FOP2 Manager configuration... Updating buttons for context GENERAL Removing button PJSIP/992001 Removing button PJSIP/992002 Removing button PJSIP/992000 Removing button PJSIP/992003 Removing button PJSIP/99001 Removing button PJSIP/992006
WebRTC stops working.
I tried multiple times, its always the same issue.
Sidenote: The update seems to remove the 99xxxx users in FOP2.
One will login directly with the User example 2000 not as usual with 992000 WebRTC user.
I could not find a hint, that this is expected behavior after FOP2 upgrade.
**Error message in tail -f /var/log/asterisk/full
[2020-11-19 22:13:30] VERBOSE res_http_websocket.c: WebSocket connection from '172.16.1.229:51350' closed
[2020-11-19 22:13:41] VERBOSE res_http_websocket.c: WebSocket connection from '172.16.1.229:51914' for protocol 'sip' accepted using version '13'
[2020-11-19 22:13:41] NOTICE chan_sip.c: Registration from '"2000" <sip:email@example.com>' failed for '172.16.1.229:51914' - Wrong password
We bought 40$ license today for upgrading purpose but have to stick to old version 2.31.25 of FOP2 due to several issues.