freeswitch
freeswitch copied to clipboard
[mod_sofia] Include Callee ID name in presence NOTIFY
Retreive user_data from the switch to display the callee ID name on the endpoint receiving the NOTIFY if it is available
Fixes #1410
Unit-tests failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/492/artifacts.html
Unit-tests failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/497/artifacts.html
@Len-PGH
I found a problem but it's somewhat unrelated to this actual code change. The longer display name of Callee ID info in dialog-info+XML can cause the packet to exceed 1514 bytes, and only the first part of the fragmented packet is being sent. Any suggestions how to fix? I'm noticing that the top of the SIP header seems excessive for a NOTIFY:
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: timer, path, replaces Event: dialog Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Unit-tests failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/844/artifacts.html
Oh my, IDK why that happened
@andywolk - Looking at the compare it shows a whole bunch of garbage but the commit looks clean. Should I rebase?
Unit-tests failed: https://public-artifacts.signalwire.cloud/drone/signalwire/freeswitch/1013/artifacts.html