problem about vicidial TRUNK

All installation and configuration problems and questions

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

problem about vicidial TRUNK

Postby jslyg » Tue Sep 05, 2006 9:17 pm

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 :lol:
jslyg
 
Posts: 41
Joined: Wed Aug 16, 2006 5:51 am

Postby mflorell » Tue Sep 05, 2006 9:41 pm

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.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby jslyg » Tue Sep 05, 2006 10:15 pm

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? :oops:
jslyg
 
Posts: 41
Joined: Wed Aug 16, 2006 5:51 am

Postby mflorell » Tue Sep 05, 2006 10:20 pm

did you reload asterisk after making changes?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby jslyg » Tue Sep 05, 2006 10:23 pm

YES,RELOAD MANY TIMES
jslyg
 
Posts: 41
Joined: Wed Aug 16, 2006 5:51 am

Postby jslyg » Tue Sep 05, 2006 10:28 pm

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
jslyg
 
Posts: 41
Joined: Wed Aug 16, 2006 5:51 am

Postby jslyg » Tue Sep 05, 2006 10:55 pm

-- 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
jslyg
 
Posts: 41
Joined: Wed Aug 16, 2006 5:51 am

help!!!???????????????

Postby jslyg » Wed Sep 06, 2006 8:06 pm

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
jslyg
 
Posts: 41
Joined: Wed Aug 16, 2006 5:51 am

Postby mflorell » Wed Sep 06, 2006 8:17 pm

You must have zap defined somewhere in your dialplan for this to be happening.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby jslyg » Wed Sep 06, 2006 8:37 pm

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.
jslyg
 
Posts: 41
Joined: Wed Aug 16, 2006 5:51 am


Return to Support

Who is online

Users browsing this forum: No registered users and 69 guests