Setuping up an Inbound DID

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Setuping up an Inbound DID

Postby zenithbsolutions » Sat Apr 02, 2016 7:36 am

Hi,

I have setup my DID in vicidial but it says number not in service. But if I configure it directly on any softphone I'm getting an inbound call. So I hope that I'm configuring something wrong or I might be missing something to configure can some one help me on that.

I have done the register string and account entry as

register => xxxxxxxx:xxxxxxxx@xxxxxxx:5060

[usadid]
disallow=all
allow=g729
allow=gsm
allow=ulaw
type=friend
secret=xxxxxx
username=xxxxxxxx
host=xxxxxxxx
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=invite
nat=yes

In the DID numbers section.

I have put the DID Extentions : xxxxxxx (My DID number)

DID route : phone
Phone Extension as 8001 and which I kept active on softphone.
Later I selected my server IP.
But Whenever I make a call its not getting connected.

Here is the CLI log

[Apr 2 18:03:23] -- Executing [xxxxxxxx@trunkinbound:1] AGI("SIP/usadid-00000009", "agi-DID_route.agi") in new stack
[Apr 2 18:03:23] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-DID_route.agi
[Apr 2 18:03:23] -- <SIP/usadid-00000009>AGI Script agi-DID_route.agi completed, returning 0
[Apr 2 18:03:23] -- Executing [9998811112@default:1] Wait("SIP/usadid-00000009", "2") in new stack
[Apr 2 18:03:25] -- Executing [9998811112@default:2] Answer("SIP/usadid-00000009", "") in new stack
[Apr 2 18:03:26] -- Executing [9998811112@default:3] Playback("SIP/usadid-00000009", "ss-noservice") in new stack
[Apr 2 18:03:26] -- <SIP/usadid-00000009> Playing 'ss-noservice.gsm' (language 'en')
[Apr 2 18:03:26] > 0x7ff69402beb0 -- Probation passed - setting RTP source address to xxx.xx.xxx.xxx:52996
[Apr 2 18:03:31] -- Executing [9998811112@default:4] Playback("SIP/usadid-00000009", "vm-goodbye") in new stack
[Apr 2 18:03:31] -- <SIP/usadid-00000009> Playing 'vm-goodbye.gsm' (language 'en')
[Apr 2 18:03:32] -- Executing [9998811112@default:5] Hangup("SIP/usadid-00000009", "") in new stack
[Apr 2 18:03:32] == Spawn extension (default, 9998811112, 5) exited non-zero on 'SIP/usadid-00000009'
[Apr 2 18:03:32] -- Executing [h@default:1] AGI("SIP/usadid-00000009", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Apr 2 18:03:32] -- <SIP/usadid-00000009>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0

Please let me know if I miss something. Thank you.
zenithbsolutions
 
Posts: 124
Joined: Tue Aug 25, 2015 2:17 am

Re: Setuping up an Inbound DID

Postby zenithbsolutions » Mon Apr 04, 2016 6:33 am

Hi

Can anyone help me configuring an inbound DID. I'm new to setup a DID. Thank you
zenithbsolutions
 
Posts: 124
Joined: Tue Aug 25, 2015 2:17 am

Re: Setuping up an Inbound DID

Postby striker » Tue Apr 05, 2016 5:08 am

as per the log your inbound is working.

you need to create

1. INGROUP
2. Campaign with Blended default=Y and select the ingroup in allowed ingroups
3. Create DID ie xxxxxxxx@trunkinbound the no shown as xxxxxxxx
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: Setuping up an Inbound DID

Postby iboam » Tue Apr 05, 2016 1:48 pm

Go to Inbound -> Add A New DID
DID Extension: 1XXXXXXXXXX (If USA DID )

If DID should forward to a cell phone / land line
DID Route: EXTEN
EXTENSION: 1XXXXXXXXXX (Depend on your dial Plan for Outbound Calls)

If DID should forward to a campaign
Create a New In-Group
DID Route: IN_GROUP
In-Group ID: Select your In-Group
Go to Campaign Details:
Allow Inbound and Blended: Y
Allowed Inbound Groups: Select your In-Group

If DID should forward to an extension
DID Route: PHONE
Phone Extension: Your Extension

i hope this help if not let me know by pm
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 125 guests