Page 1 of 1
Carriers vs Inbound Groups
Posted:
Mon Sep 30, 2019 4:05 am
by Azizieh7
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
Re: Carriers vs Inbound Groups
Posted:
Mon Sep 30, 2019 8:07 am
by ambiorixg12
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 ?
Re: Carriers vs Inbound Groups
Posted:
Mon Sep 30, 2019 10:22 am
by GenXOutsourcing
I believe he wants to know how Vicidial determines what carrier to use and how Vicidial knows.....
Carrier:
Account Entry
context=trunkinbound
Re: Carriers vs Inbound Groups
Posted:
Tue Oct 01, 2019 12:33 am
by Azizieh7
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?
Re: Carriers vs Inbound Groups
Posted:
Tue Oct 01, 2019 12:34 am
by Azizieh7
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,
Re: Carriers vs Inbound Groups
Posted:
Tue Oct 01, 2019 1:11 am
by GenXOutsourcing
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.................
Re: Carriers vs Inbound Groups
Posted:
Tue Oct 01, 2019 2:05 am
by Azizieh7
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
Re: Carriers vs Inbound Groups
Posted:
Tue Oct 01, 2019 3:01 am
by GenXOutsourcing
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?
Re: Carriers vs Inbound Groups
Posted:
Tue Oct 01, 2019 3:05 am
by ed123
need to read more the manual