Short story:
Alert-Info header format changed from
Alert-Info: foo
to
Alert-Info: <http://127.0.0.1>;info=foo
this way it’s no more compatible with some phones.
Temporary solved by editing extensions_additional.conf
Requiring a final solution.
Request:
I would appreciate very much if, after many years working in a not strictly RFC compliant way, but indeed phone compliant, the FreePBX GUI could give me the opportunity (maybe just a flag in the GUI?) to choose if I want to continue to use the old Alert-Info format or if I prefer the new, strictly RFC compliant one.
Note: Using such a flag/option, one could just pass RFC compliant headers by typing
<http://my.preferred.url/bar/myring.wav\>;info=foo
in the GUI text field Connectivity - Inbound Routes - General - Alert info resulting in the header:
Alert-Info: <http://my.preferred.url/bar/myring.wav\>;info=foo
Detailed story:
Since last Friday, when I upgraded FeePBX to 14.0.5.25 (now core is at version 14.0.18.49) and Asterisk to 13.22.0, distinctive ringtone on my Cisco SPA 303 phones did not work any more.
After last upgrade the phones rung the same (default) tone independently on the source of the call, while, before upgrading, they rung differently when the call came from inside or outside.
After some analysis I found that the problem is the new format of the Alert-Info header in the sip INVITE.
Let’s say that I set Connectivity - Inbound Routes - General - Alert info to
foo
the new version sends to the phones an INVITE packet with the following Alert-Info header
Alert-Info: <http://127.0.0.1>;info=foo
while, in the previous version it was simply
Alert-Info: foo
While the new format is compliant to RFC7462, my phones are not able to parse the new Alert-Info format so they ignore the header at all, not paying the different ringtone.
Now, my phones are old, but work perfectly, as I suppose, many other similar phones all over the world do. We cannot expect Cisco (or other manufacturer) to release new firmwares for them.
Temporary solved:
By now I’ve temporary solved the issue by manually editing the file
/etc/asterisk/extensions_additional.conf
replacing
exten => xxxxxxxxxz,n,Set(__ALERT_INFO=foo)
with
exten => xxxxxxxxxx,n,SIPAddHeader(Alert-Info: foo)
like previous FreePBX versions.
But, this way, I will need to re-edit the file it every time FreePBX will have applied some changes.
Please,
- Does anybody know if there is a way to keep the change to persist to Freepbx reload?
- Or any way to re-enable in FreePBX the old Alert-Info format?
- Someone with the same issue?
- Should post the request elsewhere?