This is my first time posting here so I hope I've included all the info you need. Any help is much appreciated because the other similar forum posts didn't help.
System:
I downloaded the demo version of vicidial a few weeks ago (perhaps 3) as an ISO and installed it straight into a VMWare (v5.0.0 build-812388) virtualization. My machine is a Core 2 duo 2.5GHz with 4GB RAM and SSD hard drive. The Asterisk CLI tells me that this is Asterisk 1.2.30.2 and Ubuntu is running 4 year old Gnome v2.22.2 .
At present I'm just trying to make outbound calls, which has been fine when I dial directly from XLite. I am on page 20 (item 34) in the manual and when I attempt an outbound call I receive a "Sorry that is not a valid extension."
The number I am dialing is a regular 13 digit cell phone number with DialCode: 1. My phone is named "phoneextension" with extension 666. I have attempted dialing manually and with a lead list. From my point of view, its an issue with the dial plan so I'll post that first, followed by carrier settings and .confs.
In the "exten" entries below I've tried firstly applying the default settings in the manual, secondly with a global string, and finally with no leading 9s in front of the number. Although I restart the whole Asterisk server each time (is this necessary?), all attempts result in the same thing. I'm losing hair here... thanks in advance for keeping me young.
P.S. Excuse the randomly scattered white space... just trying to defeat your incessant "spammy" protection. Turns out it doesn't like .n3t
Global String:
- Code: Select all
TRUNKVIT=username:passw d @ in bound. ********.n3t: 5060
Dialplan Entry:
- Code: Select all
exten => _91NXXNXXXXXX,1,AGI(agi://127.0.0.1: 4577/call_log)
exten => _91NXXNXXXXXX,2,Dial(TRUNKVIT/${EXTEN:2},,tTor)
exten => _91NXXNXXXXXX,3,Hangup
These are my Carrier Settings:
- Code: Select all
register => username:pass wd @ inbo und. ********.n3t:5060
- Code: Select all
[vitelity]
disallow=all
allow=ulaw
type=friend
username=username <== I used the correct uname and passwd here
secret=passwd
host=inbound. ******** .n3t
dtmfmode=auto
context=trunkinbound
Sip Show Peers:
- Code: Select all
v it e l i t y/username 66.241.99.27 N 5060 Unmonitored
CLI output:
- Code: Select all
=========================================================================
Connected to Asterisk 1.2.30.2 currently running on rob-desktop (pid = 6812)
Verbosity is at least 21
-- Remote UNIX connection
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
> Channel SIP/phoneextension-08214810 was answered.
-- Executing MeetMe("SIP/phoneextension-08214810", "8600051|F") in new stack
== Parsing '/etc/asterisk/meetme.conf': Found
-- Created MeetMe conference 1023 for conference '8600051'
-- Playing 'conf-onlyperson' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing MeetMe("Local/8600051@default-94d4,2", "8600051|F") in new stack
> Channel Local/8600051@default-94d4,1 was answered.
== Starting Local/8600051@default-94d4,1 at default,**********,1 failed so falling back to exten 's'
== Starting Local/8600051@default-94d4,1 at default,s,1 still failed so falling back to context 'default'
-- Sent into invalid extension 's' in context 'default' on Local/8600051@default-94d4,1
-- Executing Playback("Local/8600051@default-94d4,1", "invalid") in new stack
-- Playing 'invalid' (language 'en')
Nov 6 22:09:13 WARNING[2262]: file.c:1045 ast_waitstream: Unexpected control subclass '-1'
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, i, 1) exited non-zero on 'Local/8600051@default-94d4,1'
-- Executing DeadAGI("Local/8600051@default-94d4,1", "agi://127.0.0. 1 :4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-94d4,2'
-- Executing DeadAGI("Local/8600051@default-94d4,2", "agi://127.0.0. 1 :4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
extensions.conf
- Code: Select all
[general]
static=yes
writeprotect=no
[globals]
CONSOLE=Console/dsp ; Console interface for demo
TRUNK=Zap/g1 ; Trunk interface
TRUNKX=Zap/g2 ; 2nd trunk interface
TRUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKIAX1=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.c0m ; IAX trunk interface
SIPtrunk=SIP/1234:PASSWORD@sip.provider.n3t ; SIP trunk
TRUNKloop = IAX2/ASTloop:test@127.0.0.1:40569 ; used for blind monitoring
TRUNKblind = IAX2/ASTblind:test@127.0.0.1:41569 ; used for testing
#include extensions-vicidial.conf
[trunkinbound]
; agent dial-in:
exten => 2345,1,Answer ; Answer the line
exten => 2345,2,AGI(agi-AGENT_dial_in.agi)
exten => 2345,3,Hangup
; DID call routing process
exten => _X.,1,AGI(agi-DID_route.agi)
; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
[default]
include => vicidial-auto
; VICI-GROUP DIRECT SUPPORT LINE (VICIHELP[84244357])
exten => _84244XXX,1,Dial(IAX2/vicihelp/${EXTEN:5})
; Local agent alert extensions
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
; Local blind monitoring
exten => _08600XXX,1,Dial(${TRUNKblind}/6${EXTEN:1},55,To)
;;;;;;;;;; BEGIN Voicemail and Prompts Section ;;;;;;;;;;;;;;;;;;;;;;;
; Give voicemail at extension 8500
exten => 8500,1,VoicemailMain
exten => 8500,2,Goto(s,6)
[color=#FF0000]...etc[/color]
extensions-vicidial.conf
- Code: Select all
KPIAF = IAX2/ViciBox:test@192.168.X.x:4569
TRUNKVIT=username:passwd@inbound.******.n3t:5060
[vicidial-auto]
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG--------------------)
; Local Server: 127.0.0.1
exten => _127*000*000*001*.,1,Goto(default,${EXTEN:16},1)
; Remote Server VDAD extens: PIAF 192.168.2.10
exten => _192*168*XXX*xxx*.,1,Dial(${TRUNKPIAF}/${EXTEN:16},55,o)
; VICIDIAL Carrier: Vitelity - Vitelity
exten => _1NXXNXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)^M
exten => _1NXXNXXXXXX,2,Dial(TRUNKVIT/${EXTEN:2},,tTor)^M
exten => _1NXXNXXXXXX,3,Hangup
...
exten => 666,1,Dial(SIP/phoneextension)
exten => 666,2,Voicemail,u666