Carriers vs Inbound Groups

All installation and configuration problems and questions

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

Carriers vs Inbound Groups

Postby Azizieh7 » Mon Sep 30, 2019 4:05 am

I am trying to figure our how specific DID use a specific Carrier for inbound and outbound?

i mean if I created a DID, how can I tell vicidial to use that DID through Carrier1 for instance, or for outbound, how can I tell vicidial to use specific carrier through dialplan assigned to a campaign?


Thanks
Azizieh7
 
Posts: 4
Joined: Thu Sep 26, 2019 5:58 am

Re: Carriers vs Inbound Groups

Postby ambiorixg12 » Mon Sep 30, 2019 8:07 am

I am trying to figure our how specific DID use a specific Carrier for inbound and outbound?


I dont understand this part, because DID number are tied to the carrier who provide them, so can you please be more clear about this requiment ?
ambiorixg12
 
Posts: 453
Joined: Tue Sep 17, 2013 10:35 pm

Re: Carriers vs Inbound Groups

Postby GenXOutsourcing » Mon Sep 30, 2019 10:22 am

I believe he wants to know how Vicidial determines what carrier to use and how Vicidial knows.....

Carrier:
Account Entry

context=trunkinbound
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: Carriers vs Inbound Groups

Postby Azizieh7 » Tue Oct 01, 2019 12:33 am

ambiorixg12 wrote:
I am trying to figure our how specific DID use a specific Carrier for inbound and outbound?


I dont understand this part, because DID number are tied to the carrier who provide them, so can you please be more clear about this requiment ?


What I mean, how vicidial determine which carrier to use for specific DID?
Azizieh7
 
Posts: 4
Joined: Thu Sep 26, 2019 5:58 am

Re: Carriers vs Inbound Groups

Postby Azizieh7 » Tue Oct 01, 2019 12:34 am

GenXOutsourcing wrote:I believe he wants to know how Vicidial determines what carrier to use and how Vicidial knows.....

Carrier:
Account Entry

context=trunkinbound



Exactly, is it the context who let vicidial know? what options I have for this?

Thanks,
Azizieh7
 
Posts: 4
Joined: Thu Sep 26, 2019 5:58 am

Re: Carriers vs Inbound Groups

Postby GenXOutsourcing » Tue Oct 01, 2019 1:11 am

Create a new carrier, and name the carrier something specific to Inbound ie: SalesInbound


In the ACCOUNT ENTRY, add the following
[SalesInbound]
disallow=all
allow=ulaw
allow=gsm
type=peer
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=port,invite
nat=force_rport,comedia
host=YOUR_CARRIER_IP

Leave DIALPLAN ENTRY empty, Vicidial will do the rest.................
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: Carriers vs Inbound Groups

Postby Azizieh7 » Tue Oct 01, 2019 2:05 am

GenXOutsourcing wrote:Create a new carrier, and name the carrier something specific to Inbound ie: SalesInbound


In the ACCOUNT ENTRY, add the following
[SalesInbound]
disallow=all
allow=ulaw
allow=gsm
type=peer
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=port,invite
nat=force_rport,comedia
host=YOUR_CARRIER_IP

Leave DIALPLAN ENTRY empty, Vicidial will do the rest.................



what if context never mentioned? what is the default one?

such as following config

Code: Select all
[test]
host=X.X.X.X
type=friend
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
trustrpid=yes
sendrpid=yes 
dtmfmode=rfc2833
insecure=port,invite
qualify=yes
nat=no
Azizieh7
 
Posts: 4
Joined: Thu Sep 26, 2019 5:58 am

Re: Carriers vs Inbound Groups

Postby GenXOutsourcing » Tue Oct 01, 2019 3:01 am

Add the CONTEXT

[test]
host=X.X.X.X
type=friend
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
allow=gsm
trustrpid=yes
sendrpid=yes
dtmfmode=rfc2833
insecure=port,invite
qualify=yes
nat=no
context=trunkinbound

That is what makes the carrier an INBOUND carrier. Vicidial reads the CONTEXT=TRUNKINBOUND and performs the actions required to accept the call and pass the call to the phone/exten/group you choose.

Do you have the Vicidial manual? Have you read it?
Built too many to count, Centos7 Scratch install, Opensuse Scratch install, Centos8 Scratch install, etc.
Dual 8 core/32gb RAM/500gb SSDs
SVN Version:3440
VERSION: 2.14-812a
genxoutsourcing.com
GenXOutsourcing
 
Posts: 120
Joined: Sun Sep 22, 2019 12:53 am

Re: Carriers vs Inbound Groups

Postby ed123 » Tue Oct 01, 2019 3:05 am

need to read more the manual :D
ed123
 
Posts: 294
Joined: Mon Mar 15, 2010 9:19 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 48 guests