I have an PIAF (Freepbx 2.9) installation which is working fine. The trouble is coming when I am trying to make an outbound call to my VOIP provider. The call is generated from XLITE, 3CX and QUTECOM softphones:
Sometimes (50% of outbound calls) the softphone does not ringing but the cell phone yes. In this case, the audio doesn´t work. In the log I have the next:
Retransmitting #1 (NAT) to VOIPPROVIDER_IP:5060
WARNING chan_sip.c: Retransmission timeout reached on transmission [email protected]_IP:5060 for seqno 102 (Non-critical Request) – See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 32001ms with no response
Sometimes (another 50% of outbound calls) the softphone is ringing ok and the cell phone rings too. In this case, the audio is very good. In the log I have the next:
Reliably Transmitting (NAT) to LOCAL_IP_ADDRES_SOFTPHONE:5060
I´ve checked the codec settings and the sip settings. What would you think about this? My nat setting is:
externip=XXX.XXX.XXX.XXX (My Public Static IP)
localnet=192.168.0.0/255.255.255.0 (My Local Net - Softphone used)
PS: I´ve tried with two different providers ad the result is the same.
Thanks a lot for your help.