Hi,
I am new to FreePBX and Asterisk. I am having a issue setting up the SIP trunks to work with my provider for inbound calls outbound works great. They are telling me that the calls are being routed to my FreePBX IP address and that I need to setup to accept calls from my IP. I have looked everywhere on the Internet and cannot find how this is done. This is the info they say I need:
sip.conf
[sip-gw-a]
type=friend
nat=never
host=74...2
disallow=all
canreinvite=yes
allow=ulaw
dtmfmode=auto
context=inbound-did
qualify=yes
[sip-gw-b]
type=friend
nat=never
host=74...18
disallow=all
canreinvite=yes
allow=ulaw
dtmfmode=rfc2833
context=inbound-did
qualify=yes
Extensions.conf:
[paid-outbound]
exten => _NXXNXXXXXX,1,Dial(SIP/${EXTEN}@sip-gw-b)
exten => _NXXNXXXXXX,2,Dial(SIP/${EXTEN}@sip-gw-a)
exten => _NXXNXXXXXX,3,Dial(SIP/${EXTEN}@sip-pst-primary)
exten => _NXXNXXXXXX,4,busy()
Any suggestion and Help is much appreciated. Thanks!