My setup:
VOIP Provider: Vitelity
Inbound Trunk:
type=friend
username=xxxxxxxx
secret=xxxxxxx
context=from-trunk
insecure=very
canreinvite=no
host=inbound18.vitelity.net
disallow=all
allow=ulaw&gsm
Inbound route:
setup with an ext as destination - for any DID/CID (tried IVR as well)
General setting:
Set to accept anonymous calls
extensions_custom.conf has:
[outgoing]
exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@vitel-outbound)
exten => _011.,1,Dial(SIP/${EXTEN}@vitel-outbound)
; e911 must be enabled. see DIDs > NPANXXNXXX > Action > e911
exten => _911,1,Dial(SIP/911@vitel-outbound)
[incoming]
exten => MYDID NUMBER,1,Answer
I am able to make outgoing calls. However, incoming calls do get routed to my PBX from Vitelity but I get a busy/hangup tone. PBX is not routing it to the extension/ivr.
What am I missing?
Thanks