Need your help, spent 2 days debugging this and have no clue what happens. Was working fine before wit Asterisk 16.
The issue: INVITES from Twilio SIP trunks completely invisible to pjsip. But they come and are visible in tcpdump (and no firewall set).
All trunks (DIDWW, Voip.ms and Twilio) configured similarly with "inbound match" on IP (and based on tcpdump trace the match should happen)
Inbound calls from Voip.ms and DIDWW work fine and they are visible to pjsip debug trage (pjsip set logger on / set logger verbose on)
For twilio only the outbound calls work and sip options originated from Incredible PBX
On the tcpdump trace clearly there is no SIP answer to the INVITEs UDP packets - INVITEs come in every few seconds and nothing happens
My Incredible PBX 2025 works fine outbound /inbound with DIDWW and Voip.ms. Twilio inbound calls work as well fine if initiated from the trunk "Originate test call".
Only inbound calls routed through the twilio trunk (to same DIDs on my Incredible PBX) are "invisible" to pjsip
In the pjsip "advanced" for the trunk I am matching on either IP or username (which is defined in the trunk pjsip settings / general as the +1438vvvzzzz visible in the attached traces)
The only 2 INVITE differences I see are the "From:" header and the P-Asserted-Identity header (missing in the working test call)
In the working test call
From: <sip:[email protected]>;tag=48407581 ... etc
In the ignored INVITE
From: <sip:[email protected]:5060;isup-oli=00;pstn-params=9084818088>;tag=76030578_c3356d0b ... etc
Thank you in advance for any idea on how to debug and fix this odd behavior
P.S.
- the FQDNs, IPs, DIDs are anonymized for security
- the IP filters in trunk / pjsip / advanced were double checked against the source IPs
(true the test call is coming from a different range but both ranges are covered by the "match IP")
- INVITE "invisible" to PJSIP means that with full debug logging (pjsip set logger on / logger verbose on / logger method on) can see e.g. the SIP OPTIONS being exchanged (always initiated locally) but not the invite.
- with same logging options the test call INVITE appears just fine in the log
The issue: INVITES from Twilio SIP trunks completely invisible to pjsip. But they come and are visible in tcpdump (and no firewall set).
All trunks (DIDWW, Voip.ms and Twilio) configured similarly with "inbound match" on IP (and based on tcpdump trace the match should happen)
Inbound calls from Voip.ms and DIDWW work fine and they are visible to pjsip debug trage (pjsip set logger on / set logger verbose on)
For twilio only the outbound calls work and sip options originated from Incredible PBX
On the tcpdump trace clearly there is no SIP answer to the INVITEs UDP packets - INVITEs come in every few seconds and nothing happens
My Incredible PBX 2025 works fine outbound /inbound with DIDWW and Voip.ms. Twilio inbound calls work as well fine if initiated from the trunk "Originate test call".
Only inbound calls routed through the twilio trunk (to same DIDs on my Incredible PBX) are "invisible" to pjsip
In the pjsip "advanced" for the trunk I am matching on either IP or username (which is defined in the trunk pjsip settings / general as the +1438vvvzzzz visible in the attached traces)
The only 2 INVITE differences I see are the "From:" header and the P-Asserted-Identity header (missing in the working test call)
In the working test call
From: <sip:[email protected]>;tag=48407581 ... etc
In the ignored INVITE
From: <sip:[email protected]:5060;isup-oli=00;pstn-params=9084818088>;tag=76030578_c3356d0b ... etc
Thank you in advance for any idea on how to debug and fix this odd behavior
P.S.
- the FQDNs, IPs, DIDs are anonymized for security
- the IP filters in trunk / pjsip / advanced were double checked against the source IPs
(true the test call is coming from a different range but both ranges are covered by the "match IP")
- INVITE "invisible" to PJSIP means that with full debug logging (pjsip set logger on / logger verbose on / logger method on) can see e.g. the SIP OPTIONS being exchanged (always initiated locally) but not the invite.
- with same logging options the test call INVITE appears just fine in the log
Attachments
Last edited: