New Installation-Cannot Make Outbound Calls
Posted: Sun Nov 18, 2018 3:19 am
After a bit of grief I was able to install Vicibox 8.1 ISO on a remote server. I'm really impressed with the amount of features, and I can clearly see how much is missing from GoAutoDial. I should have switched over a while ago, but live and learn. Anyways, my test server is as follows and I'm 100% focused on outbound calling in the USA. My PBX's handle inbound calls.
ViciBox 8.1.2
VERSION: 2.14-694a
BUILD: 181005-1738
SVN 3053
Asterisk 13.21.1-vici
No extra software
Cloud based
I copied over my old Carrier settings from the GAD signature listed in my signature to the new ViciBox server. Unfortunately, those settings do not work with the latest ViciBox installation.
This is the error message I've pretty much memorized at this point trying to figure out a solution for the past few hours.
As you can clearly see a 9 is being added to the dial string for some odd reason. I have no idea what the other error/warnings are for, and figure I'll get to that later unless it's important. Hopefully somebody would be kind enough to shed some light on those parts.
The managers manual does a great job about explaining username:password authorization, but truth be told, I've never been able to get that to work with JustgoVoip, so I opted for IP authorization instead. Their customer service is VERY lacking!
This is what I changed to see if I could get auto/manual dialing working for a test campaign.
Error message below
That last line has been driving me nuts for hours. It doesn't make sense to me why the 9 is added. I've tested a few variations of EXTEN (no number or 2), and tried different variations of _91XXXXXXXXXX (NXXNXXXXXX, XXXXXXXXXX, for example), as well as played around with the Dial Prefix section listed in the campaign menu (BLANK, X 9 or 1). The one time the outbound number showed up perfectly (12223334444) in the CLI I got that annoying local channel error message listed below.
Sip Show Registry shows active for the User/Phone, as well as JustGoVoip. I've also been pretty relentless about using Sip Reload and Dialplan Reload just to be on the safe after updating CARRIER and CAMPAIGN settings.
I really want to get away from using GAD. More than likely I'll be going with a different voip provider very soon, but before I do that, I'd love to know what I'm doing wrong because I cannot figure what is causing the issue with making outbound calls.
Thanks.
ViciBox 8.1.2
VERSION: 2.14-694a
BUILD: 181005-1738
SVN 3053
Asterisk 13.21.1-vici
No extra software
Cloud based
I copied over my old Carrier settings from the GAD signature listed in my signature to the new ViciBox server. Unfortunately, those settings do not work with the latest ViciBox installation.
- Code: Select all
***GAD v3.3*** (working)
Carrier ID: justgovoip
Carrier Name: justgovoip
Carrier Description: justgovoip
Admin User Group: ALL
Registration String: BLANK
Template ID: none selected
Account Entry:
[justgovoip]
disallow=all
allow=gsm
allow=ulaw
type=friend
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=invite,port
nat=yes
host=dal.justgovoip.com
Dialplan Entry:
exten => _XXXXXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _XXXXXXXXXX.,2,Dial(SIP/${EXTEN:1}@justgovoip,,tTo)
exten => _XXXXXXXXXX.,3,Hangup
Campaign>XXXX>
Dial Prefix Prefix: BLANK (NOT USING X)
Manual Dial Prefix: BLANK
Dial Method: RATIO
Auto Dial Level: 1
Manual Dialing = Works great.
AutoDial = Also Works great.
This is the error message I've pretty much memorized at this point trying to figure out a solution for the past few hours.
- Code: Select all
[Nov 17 19:35:08] == Manager 'sendcron' logged on from 127.0.0.1
[Nov 17 19:35:08] ERROR[2063]: netsock2.c:305 ast_sockaddr_resolve: getaddrinfo("vicibox81", "(null)", ...): Name or service not known
[Nov 17 19:35:08] WARNING[2063]: acl.c:835 resolve_first: Unable to lookup 'vicibox81'
[Nov 17 19:35:08] == Using SIP RTP CoS mark 5
[Nov 17 19:35:08] -- Called 8675309
[Nov 17 19:35:09] -- SIP/8675309-00000018 is ringing
[Nov 17 19:35:13] > 0x1721e80 -- Strict RTP learning after remote address set to: OFFICEIPADDRESS:8000
[Nov 17 19:35:13] -- SIP/8675309-00000018 answered
[Nov 17 19:35:13] -- Executing [8600051@default:1] MeetMe("SIP/8675309-00000018", "8600051,F") in new stack
[Nov 17 19:35:13] -- Created MeetMe conference 1023 for conference '8600051'
[Nov 17 19:35:13] -- <SIP/8675309-00000018> Playing 'conf-onlyperson.gsm' (language 'en')
[Nov 17 19:35:13] > 0x1721e80 -- Strict RTP switching to RTP target address OFFICEIPADDRESS:8000 as source
[Nov 17 19:35:14] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 17 19:35:18] > 0x1721e80 -- Strict RTP learning complete - Locking on source address OFFICEIPADDRESS:8000
[Nov 17 19:35:18] == Manager 'sendcron' logged on from 127.0.0.1
[Nov 17 19:35:18] NOTICE[2083]: core_local.c:756 local_call: No such extension/context 913124661212@default while calling Local channel
[Nov 17 19:35:19] == Manager 'sendcron' logged off from 127.0.0.1
vicibox81*CLI> that was an autodial number
No such command 'that was an autodial number' (type 'core show help that was' for other possible commands)
[Nov 17 19:35:40] == Manager 'sendcron' logged on from 127.0.0.1
[Nov 17 19:35:41] == Manager 'sendcron' logged on from 127.0.0.1
[Nov 17 19:35:41] -- Called 58600051@default
[Nov 17 19:35:41] -- Executing [58600051@default:1] MeetMe("Local/58600051@default-00000032;2", "8600051,Fmq") in new stack
[Nov 17 19:35:41] -- Local/58600051@default-00000032;1 answered
[Nov 17 19:35:41] -- Executing [8309@default:1] Answer("Local/58600051@default-00000032;1", "") in new stack
[Nov 17 19:35:41] -- Executing [8309@default:2] Monitor("Local/58600051@default-00000032;1", "wav,20181117-193539_2816789876_1000_8675309") in new stack
[Nov 17 19:35:41] -- Executing [8309@default:3] Wait("Local/58600051@default-00000032;1", "3600") in new stack
[Nov 17 19:35:41] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 17 19:35:42] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 17 19:35:58] == Manager 'sendcron' logged on from 127.0.0.1
[Nov 17 19:35:58] -- Manager 'sendcron' from 127.0.0.1, hanging up channel: Local/58600051@default-00000032;2
[Nov 17 19:35:58] == Spawn extension (default, 58600051, 1) exited non-zero on 'Local/58600051@default-00000032;2'
[Nov 17 19:35:58] WARNING[2120][C-0000004e]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Nov 17 19:35:58] -- Executing [h@default:1] AGI("Local/58600051@default-00000032;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[Nov 17 19:35:58] -- <Local/58600051@default-00000032;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------) completed, returning 0
[Nov 17 19:35:58] == Spawn extension (default, 8309, 3) exited non-zero on 'Local/58600051@default-00000032;1'
[Nov 17 19:35:58] WARNING[2119][C-0000004f]: func_hangupcause.c:140 hangupcause_read: Unable to find information for channel
[Nov 17 19:35:58] -- Executing [h@default:1] AGI("Local/58600051@default-00000032;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------)") in new stack
[Nov 17 19:35:58] -- <Local/58600051@default-00000032;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------------) completed, returning 0
[Nov 17 19:35:59] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 17 19:36:02] == Manager 'sendcron' logged on from 127.0.0.1
[Nov 17 19:36:02] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 17 19:36:02] == Manager 'sendcron' logged on from 127.0.0.1
As you can clearly see a 9 is being added to the dial string for some odd reason. I have no idea what the other error/warnings are for, and figure I'll get to that later unless it's important. Hopefully somebody would be kind enough to shed some light on those parts.
The managers manual does a great job about explaining username:password authorization, but truth be told, I've never been able to get that to work with JustgoVoip, so I opted for IP authorization instead. Their customer service is VERY lacking!
This is what I changed to see if I could get auto/manual dialing working for a test campaign.
- Code: Select all
***Vicibox Setup*** (# 2)
Carrier ID: justgovoip
Carrier Name: justgovoip
Carrier Description: justgovoip
Admin User Group: ALL
Registration String: BLANK
Template ID: none selected
Account Entry:
[justgovoip]
disallow=all
allow=gsm
allow=ulaw
type=friend
dtmfmode=rfc2833
context=trunkinbound (not sure if it's needed, but doesn't hurt)
qualify=yes
insecure=invite,port
nat=force_rport,comedia
host=dal.justgovoip.com
Dialplan Entry:
exten => _91XXXXXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX.,2,Dial(SIP/${EXTEN:1}@justgovoip3,,tTo)
exten => _91XXXXXXXXXX.,3,Hangup
Campaign>XXXX>
Dial Prefix Prefix: 9
Manual Dial Prefix: 9
Dial Method: RATIO
Auto Dial Level: 1
Error message below
- Code: Select all
[Nov 18 01:56:56] -- Executing [8600051@default:1] MeetMe("SIP/8675309-00000007", "8600051,F") in new stack
[Nov 18 01:56:56] -- Created MeetMe conference 1023 for conference '8600051'
[Nov 18 01:56:56] -- <SIP/8675309-00000007> Playing 'conf-onlyperson.gsm' (language 'en')
[Nov 18 01:56:56] > 0x7f9bf003ef60 -- Strict RTP switching to RTP target address OFFICEIPADDRESS:8000 as source
[Nov 18 01:56:57] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 18 01:57:01] > 0x7f9bf003ef60 -- Strict RTP learning complete - Locking on source address OFFICEIPADDRESS:8000
[Nov 18 01:57:02] == Manager 'sendcron' logged on from 127.0.0.1
[Nov 18 01:57:02] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 18 01:57:02] == Manager 'sendcron' logged on from 127.0.0.1
[Nov 18 01:57:02] == Manager 'sendcron' logged off from 127.0.0.1
[Nov 18 01:57:04] == Manager 'sendcron' logged on from 127.0.0.1
[Nov 18 01:57:04] NOTICE[19197]: core_local.c:756 local_call: No such extension/context 918162381212@default while calling Local channel
That last line has been driving me nuts for hours. It doesn't make sense to me why the 9 is added. I've tested a few variations of EXTEN (no number or 2), and tried different variations of _91XXXXXXXXXX (NXXNXXXXXX, XXXXXXXXXX, for example), as well as played around with the Dial Prefix section listed in the campaign menu (BLANK, X 9 or 1). The one time the outbound number showed up perfectly (12223334444) in the CLI I got that annoying local channel error message listed below.
Sip Show Registry shows active for the User/Phone, as well as JustGoVoip. I've also been pretty relentless about using Sip Reload and Dialplan Reload just to be on the safe after updating CARRIER and CAMPAIGN settings.
I really want to get away from using GAD. More than likely I'll be going with a different voip provider very soon, but before I do that, I'd love to know what I'm doing wrong because I cannot figure what is causing the issue with making outbound calls.
Thanks.