The issue I have is somewhat bizarre and I’m not sure if this is to do with the provider or my FreePBX (asterisk 13.14) settings?
Everything works perfectly fine on my machine except when the outgoing calls through the SIP trunk to mobiles are actually declined (what I mean is the mobile actually rings but user decides to press the red “decline” button on the iPhone when it is ringing).
I noticed when the call is rejected in this way, the SIP channels do not close and then after a few minutes the called mobile receive a voicemail with busy signal. When I look at core, I can see active channels even though the call was rejected!!!
I was hoping it doesn’t come to that. They will take for ever. Do you know a way to look for the BYE message? I assume I need some sort of verbose debug ?? Just to make sure it is not my Asterisk that ignores it.
Use this command and send the output pcap file to your provider. Inspect first the sip trace that you don’t get a bye response when the caller hangups.