I am using Twilio as my SIP Trunk and the latest version of RasPBX. I had this working for a year or more until recently some field technicians from my ISP came to upgrade my internet speed. They also added a VoIP system using Grandstream. Ever since I’ve had no luck with my FreePBX / Asterisk system. When I make outbound calls using Zoiper I hear the ringing for like a fraction of a second and then it’s completely silent afterwards. I have port forwarded 5060 UDP and 10000-20000 UDP to my Raspberry Pi. I’m using a DIR-880L as my router. I’m really pulling my hair trying to figure out what changed to make this a problem. On Twilio’s side there aren’t any errors and the calls are being completed with no error reporting. I have tried rtp debugging and it seems like I’m sending and receiving packets just fine. Anyone have any ideas? I put some sample debugging calls below.
Here is a sample call made to a burner phone number that I have. It automatically hangs up after 3-4 seconds:
controlc . c o m /f40df2e0
Here is a sample call made to a random 800 number. In this case I chose to use Target’s phone number. The difference here is that it does not hang up automatically.:
controlc . c o m /2ec7ae1b
Here is PJSIP logging:
controlc . c o m /3ae8e857
Here is my RTP debug (just a snippet as it’s repeating):
[2021-02-03 17:07:13] ERROR[1200]: res_pjsip_header_funcs.c:410 remove_header: No headers had been previously added to this session.
Got RTP packet from 192.168.0.143:8000 (type 95, seq 014894, ts 2468431455, len 000001)
Got RTP packet from 192.168.0.143:8000 (type 95, seq 014895, ts 2468431455, len 000001)
Got RTP packet from 192.168.0.143:8000 (type 00, seq 014896, ts 2468431455, len 000160)
Sent RTP packet to 34.203.251.242:11684 (type 00, seq 015362, ts 2468431448, len 000160)
Got RTP packet from 192.168.0.143:8000 (type 00, seq 014897, ts 2468431615, len 000160)
Sent RTP packet to 34.203.251.242:11684 (type 00, seq 015363, ts 2468431608, len 000160)
Got RTP packet from 192.168.0.143:8000 (type 00, seq 014898, ts 2468431775, len 000160)
Sent RTP packet to 34.203.251.242:11684 (type 00, seq 015364, ts 2468431768, len 000160)
Got RTP packet from 192.168.0.143:8000 (type 00, seq 014899, ts 2468431935, len 000160)
Sent RTP packet to 34.203.251.242:11684 (type 00, seq 015365, ts 2468431928, len 000160)
Got RTP packet from 192.168.0.143:8000 (type 00, seq 014900, ts 2468432095, len 000160)
Sent RTP packet to 34.203.251.242:11684 (type 00, seq 015366, ts 2468432088, len 000160)
Got RTP packet from 192.168.0.143:8000 (type 00, seq 014901, ts 2468432255, len 000160)
Sent RTP packet to 34.203.251.242:11684 (type 00, seq 015367, ts 2468432248, len 000160)
Got RTP packet from 192.168.0.143:8000 (type 00, seq 014902, ts 2468432415, len 000160)
Sent RTP packet to 34.203.251.242:11684 (type 00, seq 015368, ts 2468432408, len 000160)
Got RTP packet from 192.168.0.143:8000 (type 00, seq 014903, ts 2468432575, len 000160)
Sent RTP packet to 34.203.251.242:11684 (type 00, seq 015369, ts 2468432568, len 000160)
Got RTP packet from 192.168.0.143:8000 (type 00, seq 014904, ts 2468432735, len 000160)