Hello,
I am having very easy to replicate trunk to trunk failures between two internal trunks to our FreePBX box. I have spent hours trying to find why one SIP trunk to SIP trunk call is working and why the other SIP trunk to SIP call is failing. I did manage to find a difference in the packet capture that I do not understand. I have obfuscated the names/numbers for privacy. Please see below:
Call #1, Rejected
“8.528233”,“8.714564”,“100.101.58.3”,““Orig Cust"sip:[email protected]:5060”,“sip:[email protected]:5060”,“SIP”,“00:00:00”,“4”,“CALL SETUP”,“INVITE”
“8.696185”,“8.713447”,“10.100.0.12”,”“Term Cust #1” sip:[email protected]",“sip:4067523333%[email protected]”,“SIP”,“00:00:00”,“3”,“REJECTED”,“INVITE 404”
Call #2, Successful:
“7.597821”,“13.162922”,“100.101.58.3”,““Orig Cust"sip:[email protected]:5060”,“sip:[email protected]:5060”,“SIP”,“00:00:05”,“6”,“IN CALL”,“INVITE 200”
“7.750494”,“13.089710”,“10.100.0.12”,”“Term Cust #2” sip:[email protected]",“sip:[email protected]”,“SIP”,“00:00:05”,“8”,“IN CALL”,“INVITE 401 200”
Notice in the first failing call the string from FreePBX to Term Cust #1 (10.100.0.12 to 100103.255.3) has a much longer number string and includes a % character than the successful call #2.
I believe the rejection of the first call is coming from the term PBX not liking the extra garbage in the number spill.
Does anyone have thoughts as to what might cause the number spills to be so different as they should both be sending 10 digits?
Thanks for your time!