carrier setup

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

carrier setup

Postby xordox » Mon Apr 04, 2011 4:29 am

Hi,
I can make calls on clean asterisk 1.6 with freePBX, with this settings:

Outbound Caller ID: <722155560>

Peer details:
host=80.179.100.100
type=friend
dtmfmode=rfc2833
context=from-pstn
nat=yes
canreinvite=no
insecure=very
disallow=all
allow=ulaw&alaw

User details:
context=from-pstn

Dial rules:
XXXXXXXXXX

Asterisk sip setting:
external ip: 84.94.120.200
local: 192.168.1.0/255.255.255.0

Please can you help me, I'm stack on add new carrier in Goautodial 2.0:
I added:
[012]
host=80.179.100.100
type=friend
dtmfmode=rfc2833
context=from-pstn
nat=yes
canreinvite=no
insecure=very
disallow=all
allow=ulaw&alaw

extension:
exten => _XXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXX,2,Dial(${SIP012}/${EXTEN:1},,tTor)
exten => _XXXXXXXXXX,3,Hangup

also added externip and local network in sip.conf -> general.
but still cant make calls
xordox
 
Posts: 8
Joined: Mon Apr 04, 2011 2:07 am

Postby williamconley » Mon Apr 04, 2011 9:30 am

modify context so inbound calls will also work wrote:[012]
host=80.179.100.100
type=friend
dtmfmode=rfc2833
context=trunkinbound
nat=yes
canreinvite=no
insecure=very
disallow=all
allow=ulaw&alaw


add a globals string wrote:SIP012=SIP/012


change extension on all three lines wrote:exten => _91XXXXXXXXXX


and add "9" to the dial prefix for the campaign.

if your carrier requires 10 digit dialing, change "EXTEN:1" to "EXTEN:2" or remove the "1" from "91XXXXXXXXXX".

:1 removes the first digit of the dial string (the 9, which is only used to bring the call to this dial plan so we can have multiple dialplans/carriers)

:2 would remove TWO digits
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby xordox » Mon Apr 04, 2011 11:38 am

Thank you!
Now I can make outbounds calls, but i cannot get inbound calls.
I think I must write down the phone numbers from sip provider somewhere.
now trying to find out - where :)
got error when make inbound call:
Notice[XXXXX]: chan_sip.c:15147 handle_request_invite: Call from'' to extension '72215355' rejected because extension not found

VERSION: 2.2.1-237
BUILD: 100510-2015
xordox
 
Posts: 8
Joined: Mon Apr 04, 2011 2:07 am

Postby williamconley » Mon Apr 04, 2011 12:23 pm

context=trunkinbound
?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby xordox » Mon Apr 04, 2011 12:46 pm

Yep, I changed it to context=trunkinbound , but still get this error:
Notice[XXXXX]: chan_sip.c:15147 handle_request_invite: Call from'' to extension '72215355' rejected because extension not found
xordox
 
Posts: 8
Joined: Mon Apr 04, 2011 2:07 am

Postby williamconley » Mon Apr 04, 2011 12:54 pm

check sip debug and find out what context it is searching (if it is not trunkinbound, then the call inbound did not authenticate to the carrier, and you need to get it to authenticate to the carrier so it will get sent to trunkinbound where it belongs)

for instance: is the IP address sending the call the same as in the "host=" entry for that carrier?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby xordox » Mon Apr 04, 2011 1:31 pm

Thanks for your help williamconley!
I changed context to trunkinbound in sip.conf, now when I try to call, I havent errors, but call do not reach agent.
in cli I have:
Executing [722153555@trunkinbound:1] AGI("SIP/5060-0000000a", "agi-DID_route.agi") in new stack

Launched AGI script

AGI Script agi-DID_route.agi completed, returning 0

Executing [99909*1*@default:1] Answer(sip/5060-0000000a","") in new stack

Executing [99909*1*@default:2] AGI("SIP/5060-0000000a","agi-VDAD_ALL_inbound.agi") in new stack

Playing 'sip-silence'
Playing 'sip-silence'

can you tell me please how I can route the call to agent softphone?

2. I'm sending call from GSM network.
xordox
 
Posts: 8
Joined: Mon Apr 04, 2011 2:07 am

Postby williamconley » Mon Apr 04, 2011 2:15 pm

which is why the sip.conf value was set to default.

so find out which context it is resolving to inbound and/or find the ip it is coming from and put it in as a host= line for the context you WANT it to resolve to (yes, you may have more than one host= line).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

hey (CANADA and US working at same dialer?)

Postby adilcapricon » Sat Jun 04, 2011 1:24 am

Hope you are fine , I have one issue in my goautodial, I want to share you. I have Goautodial 2.0 and I have 2 campaigns in night shift (Canada and US) both dial plans (Carriers ) are different and I have only one dialer, i want to ask you .if i want both campaign works in one dialer at a time .is it works ? and both different dial plans (Carriers) work at same time ...If it is ...So how?

Kindly reply me ....i m waiting

Regard
M Adil
adilcapricon
 
Posts: 2
Joined: Wed May 25, 2011 9:44 pm

Postby williamconley » Thu Jun 09, 2011 12:25 pm

be sure each carrier has a different dial prefix
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

hey williamconley

Postby adilcapricon » Fri Jun 10, 2011 1:55 am

yes williamconley both has different dial prefix
.hey Guyz I find out the solution for Two countries(USA, CANADA) work in same dialer at same time . i Create one default dialplan for both carrier and its works.. :) I tested YAhooooooo
adilcapricon
 
Posts: 2
Joined: Wed May 25, 2011 9:44 pm


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 81 guests