Page 1 of 1
problem about vicidial TRUNK
Posted:
Tue Sep 05, 2006 9:17 pm
by jslyg
i have one zap/1-1 trunk,if i connect PSTN line to it, vicidial dial out is ok,in the channel box,it display "zap/1-1".
but if i dont connect PSTN with x100p,in the channel box,it display nothing.after a while,dial timed out,contact your system adminstrator.
pls tell me,how to assign trunk?why /agc/vicidial.php look zap/1-1 as default trunk?
ps:i have sip trunk,can i assign it as my vicidial trunk?thanks
Posted:
Tue Sep 05, 2006 9:41 pm
by mflorell
look in your [globals] section of your extensions.conf file and change TRUNK to be your SIP trunk. Also make sure that you have registered your SIP account in the sip.conf file.
Posted:
Tue Sep 05, 2006 10:15 pm
by jslyg
problem is i comment TRUNK=ZAP/1-1,or not ,that dont affect my usement of vicidial.
just like system know my trunk!dont need i assgin
[global]
;TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
CONSOLE=Console/dsp ; Console interface for demo
;TRUNK=Zap/g1 ; Trunk interface
;TRUNKX=Zap/g2 ; 2nd trunk interface
TRUNK=SIP/810
;RUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
using above , i can call out in vicidial by zap/1-1. is it strange?
Posted:
Tue Sep 05, 2006 10:20 pm
by mflorell
did you reload asterisk after making changes?
Posted:
Tue Sep 05, 2006 10:23 pm
by jslyg
YES,RELOAD MANY TIMES
Posted:
Tue Sep 05, 2006 10:28 pm
by jslyg
NOW i am tring on it.
below extensions is the same case.
[global]
;TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
CONSOLE=Console/dsp ; Console interface for demo
;TRUNK=Zap/g1 ; Trunk interface
;TRUNKX=Zap/g2 ; 2nd trunk interface
;TRUNK=SIP/810
;RUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
Posted:
Tue Sep 05, 2006 10:55 pm
by jslyg
-- Executing MeetMe("SIP/gs102-96d5", "8600051") in new stack
== 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-a8e3,2", "8600051") in new stack
> Channel Local/8600051@default-a8e3,1 was answered.
-- Executing Dial("Local/8600051@default-a8e3,1", "zap/1-1/10086||tTo") in new stack
Sep 5 19:54:39 NOTICE[5594]: app_dial.c:764 dial_exec: Unable to create channel of type 'zap'
== Everyone is busy/congested at this time
-- Executing Hangup("Local/8600051@default-a8e3,1", "") in new stack
== Spawn extension (default, 910086, 2) exited non-zero on 'Local/8600051@default-a8e3,1'
-- Executing DeadAGI("Local/8600051@default-a8e3,1", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/8600051@default-a8e3,1", "VD_hangup.agi|PRI-----NODEBUG-----0-----CHANUNAVAIL----------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
-- AGI Script VD_hangup.agi completed, returning 0
== Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-a8e3,2'
-- Executing DeadAGI("Local/8600051@default-a8e3,2", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Local/8600051@default-a8e3,2", "VD_hangup.agi|PRI-----NODEBUG-----0---------------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/VD_hangup.agi
help!!!???????????????
Posted:
Wed Sep 06, 2006 8:06 pm
by jslyg
it is my extensiosns.conf ,i comment zap trunk,but it still exist and working.i call out,vicidial still use zap/1-1.
i reboot the maching,and reload,dont have any affect!
[global]
;TRUNKBINFONE=IAX2/1112223333:PASSWORD@iax.binfone.com ; IAX trunk interface
CONSOLE=Console/dsp ; Console interface for demo
;TRUNK=Zap/g1 ; Trunk interface
;TRUNKX=Zap/g2 ; 2nd trunk interface
;TRUNK=SIP/810
;RUNKIAX=IAX2/ASTtest1:test@10.10.10.16:4569 ; IAX trunk interface
Posted:
Wed Sep 06, 2006 8:17 pm
by mflorell
You must have zap defined somewhere in your dialplan for this to be happening.
Posted:
Wed Sep 06, 2006 8:37 pm
by jslyg
you meant my extensions.conf act it?
but none of st about zap/1-1
and i found,in the [gloable],comment or not zap/1-1,it affect not surely.
pls tell me,sth about vicidial out band trunk?
in my another machine,it not assume zap/1-1 as trunk,i just put extensions number in the phone_number of vicidial list table.