Page 1 of 1

Vonage Inbound Configuration

PostPosted: Sun Feb 14, 2016 11:15 am
by xenia2608
I have configured vonage TollFree as Inbound DID in vicidial system to get all inbound calls to vicidial phone.

My config

[Vonage4021]
disallow=all
allow=ulaw
allow=alaw
type=friend
username=********
secret=******
host=******vocalocity.com
dtmfmode=rfc2833
context=trunkinbound
trustrpid=yes
sendtrpid=yes
trunk=yes
qualify=yes
insecure=invite,port
nat=yes

But whenever i try to make calls on this DID it says "no one is avilable to take your calls", and asterisk cli shows
[Feb 14 21:43:39] NOTICE[4453]: chan_sip.c:23534 handle_request_invite: Call from 'SIP-ID' (54.213.138.56:5060) to extension 's' rejected because extension not found in context 'trunkinbound'.
== Using SIP RTP CoS mark 5
[Feb 14 21:43:40] NOTICE[4453]: chan_sip.c:23534 handle_request_invite: Call from 'SIP-ID' (54.213.138.56:5060) to extension 's' rejected because extension not found in context 'trunkinbound'.

Re: Vonage Inbound Configuration

PostPosted: Mon Feb 15, 2016 12:28 am
by striker
try the below

go to vi /etc/asterisk/extensions.conf

do the below changes

[trunkinbound]
exten => _X.,1,AGI(agi-DID_route.agi)

to
[trunkinbound]
exten => s,1,AGI(agi-DID_route.agi)

then in the gui create a DID with number as s