I am trying to make FusionPBX play well with Teams Direct Routing.
A new option was added to Freeswitch release 1.10.5 named "contact-in-ping".
Added new fields as "contact_in_ping" for vars and database field; and "contact-in-ping" for xml handler.
Files modified:
app/gateways/gateway_edit.php
app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua
app/gateways/app_languages.php
app/gateways/app_config.php
resources/switch.php
Also:
/usr/share/freeswitch/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua
Still testing i out. No git done whatsoever.
Results:
A new option was added to Freeswitch release 1.10.5 named "contact-in-ping".
Added new fields as "contact_in_ping" for vars and database field; and "contact-in-ping" for xml handler.
Files modified:
app/gateways/gateway_edit.php
app/scripts/resources/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua
app/gateways/app_languages.php
app/gateways/app_config.php
resources/switch.php
Also:
/usr/share/freeswitch/scripts/app/xml_handler/resources/scripts/configuration/sofia.conf.lua
Still testing i out. No git done whatsoever.
Results:
Code:
OPTIONS sip:sip.pstnhub.microsoft.com:5061;transport=tls SIP/2.0
Via: SIP/2.0/TLS sbc.mydomain.com:5081;rport;branch=z9hG4bKprXtZeDHNp64S
Max-Forwards: 70
From: <sip:sip.pstnhub.microsoft.com:5061>;tag=pvr6r0Q2r81vF
To: <sip:sip.pstnhub.microsoft.com:5061>
Call-ID: 0ba7025b-9d88-123a-45aa-fa163e683858
CSeq: 42002544 OPTIONS
Contact: <sip:sbc.mydomain.com@sbc.mydomain.com:5081;transport=tls;transport=tls;gw=2efa37e6-b176-4788-aed1-1263c7dd694d>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Length: 0
recv 395 bytes from tls/[52.114.132.46]:5061 at 18:27:16.221881:
------------------------------------------------------------------------
SIP/2.0 200 OK
FROM: <sip:sip.pstnhub.microsoft.com:5061>;tag=pvr6r0Q2r81vF
TO: <sip:sip.pstnhub.microsoft.com:5061>
CSEQ: 42002544 OPTIONS
CALL-ID: 0ba7025b-9d88-123a-45aa-fa163e683858
VIA: SIP/2.0/TLS sbc.mydomain.com:5081;branch=z9hG4bKprXtZeDHNp64S;rport
CONTENT-LENGTH: 0
ALLOW: INVITE,ACK,OPTIONS,CANCEL,BYE,NOTIFY
SERVER: Microsoft.PSTNHub.SIPProxy v.2021.9.28.13 i.USEA.2