I am unable to configure the “early media” support on a PJSIP SIP trunk or device profile (in some cases, this setting is also named premature media).
Example: If a mobile phone is in flight mode or turned off and a call is made from VitalPBX, the call keeps ringing as if the mobile phone isn’t answering.
The response should be unavailable, this was tested from other PBXs and works properly.
I have disabled the ringing tone in the dial profile which is used and the result is the same.
Please find the log file in the attachment, is this log appropriate or do you require any other type?
The call was made from extension PJSIP/11266. 11266_trace.txt (30.7 KB)
I only see a regular Dial in your log; nothing unusual.
In this case the behavior of the PBX depends on the response returned by your VoIP provider. You can use the SNGREP tool to see the responses or events returned by your VoIP provider.
Please find the screenshot of the sngrep attached. Where can I send You the complete file?
IP .10 is VitalPBX
IP .09 is SBC
IP .02 is router (call was made from a softphone with an established VPN). The same occurs with calls from devices in LAN.