I have 2 problems currently with a freepbx disto install.
My freepbx setup requires NAT. We have a public IP pointing to one to the box that is a 1:1 NAT
When we add a local network to the sip settings all outgoin and incoming calls stop working with the below error
WARNING[C-00000000]: channel.c:4816 ast_prod: Prodding channel ‘SIP/10501-00000000’ failed
. I have looked into the configuration files and have not found anything unusual. Can anyone tell me what could be the problem.
NAT part of /etc/asterisk/sip_general_additional.conf
Our SIP provider uses the public IP of the box for authentication. They will forward all calls to a public IP and when calls are placed from the box they are required to show the public IP in the SIP headers. But currently the sip headers contain the local ip of the box i.e. 10.0.0.122. This is the warning that the box shows . Our SIP provider blocks the call since it comes from the local IP hence the forbidden error. I do feel that this problem will be solved when problem 1 is fixed , I could be wrong.
WARNING[C-00000051]: chan_sip.c:22795 handle_response_invite: Received response: “Forbidden” from 'sip:[email protected];tag=as42f837c7’
Any help would be appreciated.