the dial plan is not working

All installation and configuration problems and questions

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

the dial plan is not working

Postby rajal » Mon May 25, 2015 12:32 am

same dial plan ,same voip same vicidial version i installed from same dvd, but location of both servers is different 1 is hosted and the second in my office,
but my office server dialplan is not working . (an other dialplan is working on computer 2)
(NOTE) For the second server i have share vpn tarafic to second lan card because here voice traffic is blocked
Server (goautodial CE 2.1 )
Processors 2
Model Intel(R) Pentium(R) 4 CPU 3.00GHz
CPU Speed 2.99 GHz
Cache Size 2.00 MB
System Bogomips 11970.59
PCI Devices
- Audio device: Intel Corporation 82801H
- Communication controller: Intel Corporation 82Q963/Q965 HECI Controller
- Ethernet controller: Intel Corporation 82566DM Gigabit Network Connection
- Host bridge: Intel Corporation 82Q963/Q965 Memory Controller Hub
- IDE interface: Intel Corporation 82801H
- ISA bridge: Intel Corporation 82801HO
- PCI bridge: Intel Corporation 82801 PCI Bridge
- PCI bridge: Intel Corporation 82801H
- (6x) USB Controller: Intel Corporation 82801H
- VGA compatible controller: Intel Corporation 82Q963/Q965 Integrated Graphics Controller
IDE Devices
- hdc: HL-DT-STDVD-ROM GDR-8084N
- hda: HDS722540VLSA80 (Capacity: 37.25 GB)
SCSI Devices none
USB Devices none
HERE IS MY DIALPLAN
[trunk]
type=peer
username=
secret=
canreinvite=no
fromuser=
disallow=all
allow=ulaw
allow=g729
allow=gsm
host=77.72.169.129
port=6000
context=trunkinbound
exten => _1X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _1X.,2,Set(__RECORDING=${EXTEN:1}-${STRFTIME(,,%s)})
exten => _1X.,n,MixMonitor(${RECORDING}.wav)
exten => _1X.,n,Set(CDR(userfield)=${RECORDING}.wav)
exten => _1X.,n,Set(CALLERID(num)=3473494974)
exten => _1X.,n,Dial(${SIPTRUNK}/${EXTEN:0},,tTor)
exten => _1X.,n,Hangup

and CLI SHOWS THIS WHEN I MAKE CALL
[Oct 10 06:43:07] -- Executing [15879979551@default:5] Set("SIP/8001-00000004", "CALLERID(num)=3473494974") in new stack
[Oct 10 06:43:07] -- Executing [15879979551@default:6] Dial("SIP/8001-00000004", "/15879979551||tTor") in new stack
[Oct 10 06:43:07] WARNING[1443]: channel.c:3765 ast_request: No channel type registered for ''
[Oct 10 06:43:07] WARNING[1443]: app_dial.c:1310 dial_exec_full: Unable to create channel of type '' (cause 66 - Channel not implemented)
[Oct 10 06:43:07] == Everyone is busy/congested at this time (1:0/0/1)
[Oct 10 06:43:07] -- Executing [15879979551@default:7] Hangup("SIP/8001-00000004", "") in new stack
[Oct 10 06:43:07] == Spawn extension (default, 15879979551, 7) exited non-zero on 'SIP/8001-00000004'
[Oct 10 06:43:07] -- Executing [h@default:1] DeadAGI("SIP/8001-00000004", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----66-----CHANUNAVAIL----------") in new stack
[Oct 10 06:43:07] == Begin MixMonitor Recording SIP/8001-00000004
[Oct 10 06:43:07] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Oct 10 06:43:07] == End MixMonitor Recording SIP/8001-00000004
go*CLI>
rajal
 
Posts: 48
Joined: Mon Apr 28, 2014 11:29 pm

Re: the dial plan is not working

Postby williamconley » Mon May 25, 2015 12:54 pm

You are missing the Vicidial Version with Build, and should hang your head in shame as a result of this oversight.

That being said:
[Oct 10 06:43:07] -- Executing [15879979551@default:6] Dial("SIP/8001-00000004", "/15879979551||tTor") in new stack
[Oct 10 06:43:07] WARNING[1443]: channel.c:3765 ast_request: No channel type registered for ''


Note in front of "/15879979551" before the "/" there should be a sip account name. You have a variable in your globals in the original server that fills this blank, but did not create that variable in the copy.

${SIPTRUNK} is defined by "SIPTRUNK=xxxxxxx" in the original, this is apparently missing in the copy.

The dialplan is not independent of all other settings, it relies on global variables and sip/iax accounts.
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!)

Re: the dial plan is not working

Postby striker » Tue May 26, 2015 9:44 pm

make sure
you sip trunk registered by typing the below command in asterisk cli

sip show peers
sip show registry

then as said by william , make sure the variable is set ie: ${SIPTRUNK} in global entry as SIPTRUNK=SIP/trunk

or replace in your dialplan
exten => _1X.,n,Dial(${SIPTRUNK}/${EXTEN:0},,tTor)

to
exten => _1X.,n,Dial(SIP/trunk/${EXTEN:0},,tTor)
www.striker24x7.com www.youtube.com/c/striker24x7 Telegram/skype id : striker24x7
striker
 
Posts: 962
Joined: Sun Jun 06, 2010 10:25 am

Re: the dial plan is not working

Postby rajal » Sat May 30, 2015 1:47 am

when i make changing in Globlal string it worked i put SIPTRUNK=SIP/trunk in global string then it worked
rajal
 
Posts: 48
Joined: Mon Apr 28, 2014 11:29 pm


Return to Support

Who is online

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

cron