Hi everyone,
Our asterisk has a trunk which has been set up with a VoIP Provider (voip.ms). From internal, when we placed a called, it’s working. It’s going “through the trunk” and the call is established. But when someone call us by using the external phone number provided by this provider, the call cannot be established. It’s trying to call but then, automatically hung up.
I’m using Free PBX to control and manage Asterisk. In the “inbound Routes”, a route has been set up with the DID number and a ring group for the destination. If I specify an extension instead of using a ring group, it won’t immediately hang up but I’ll get a busy tone.
Asterisk version: 1.4.21.2
Do I have to add something in the “incoming settings” in the properties of the trunk ?
In my outgoing settings, this is what i have:
Trunk name:trunk1
Peer details :
"canreinvite=nonat
;nat=yes ;uncomment if behind nat
context=from-trunk
host=host.provider.com
secret=********
realm=domainprovider.com
type=friend
username=myusername
disallow=all
allow=g729&ulaw&alaw
fromuser=myusername
trustrpid=yes
sendrpid=yes
insecure=port,invite "
In my incoming settings:
User context: from-trunk
User details:
type=peer
host=host.provider.com
qualify=yes
canreinvite=no
context=from-trunk
Thank you in advance for you help or your thoughts.
Regards,