Unable to create channel of type 'Zap' (cause 0 - Unknown)

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Unable to create channel of type 'Zap' (cause 0 - Unknown)

Postby mr.rizwan » Mon Mar 22, 2010 5:15 pm

Hi all,
i need help in vicidial. i am unable to dialout on vicidial. when i try to dial on asterisk CLI i can see this message "Unable to create channel of type 'Zap' (cause 0 - Unknown)" i don't know why but asterisk is trying to use ZAP channels and i am not using zap server. give below are my conf file ans asterisk cli results.

sip.conf
register => xxxxx:xxxxx@sip.xxxxxxxxxx:5060
[cordia]
type=friend
host=sip.xxxxxxx
username=xxxxxxx
secret=xxxxxx
disallow=all
allow=ulaw
insecure=port,invite
canreinvite=no

extensions.conf

exten => _91XXXXXXXXXX,2,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,3,Dial(SIP/cordia/${EXTEN:1},55,To)
exten => _91XXXXXXXXXX,4,Hangup

Asterisk CLI

[Mar 22 22:06:28] -- Executing MeetMe("Local/8600051@default-b204,2", "8600051|F") in new stack
[Mar 22 22:06:28] > Channel Local/8600051@default-b204,1 was answered.
[Mar 22 22:06:28] -- Executing AGI("Local/8600051@default-b204,1", "agi://127.0.0.1:4577/call_log") in new stack
[Mar 22 22:06:28] -- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Mar 22 22:06:28] -- Executing Dial("Local/8600051@default-b204,1", "Zap/g2/17704291824||To") in new stack
[Mar 22 22:06:28] NOTICE[2026]: app_dial.c:1076 dial_exec_full: Unable to create channel of type 'Zap' (cause 0 - Unknown)
[Mar 22 22:06:28] == Everyone is busy/congested at this time (1:0/0/1)
[Mar 22 22:06:28] -- Executing Hangup("Local/8600051@default-b204,1", "") in new stack
[Mar 22 22:06:28] == Spawn extension (default, 917704291824, 3) exited non-zero on 'Local/8600051@default-b204,1'
[Mar 22 22:06:28] -- Executing DeadAGI("Local/8600051@default-b204,1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CHANUNAVAIL----------") in new stack
[Mar 22 22:06:28] -- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
[Mar 22 22:06:29] == Spawn extension (default, 8600051, 1) exited non-zero on 'Local/8600051@default-b204,2'
[Mar 22 22:06:29] -- Executing DeadAGI("Local/8600051@default-b204,2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
mr.rizwan
 
Posts: 27
Joined: Tue Feb 16, 2010 4:44 pm

Postby williamconley » Mon Mar 22, 2010 8:04 pm

in extensions.conf you will find a duplicate of your:

exten => _91XXXXXXXXXX,2,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,3,Dial(SIP/cordia/${EXTEN:1},55,To)
exten => _91XXXXXXXXXX,4,Hangup

you must comment it out by putting ; in front of each of the three lines or delete it (as you will note that there cannot be TWO of them, and yours is being ignored in favor of the one in extensions.conf. yours should be loaded into extensions-vicidial.conf by the GUI, but that is read too late. so you delete this one and yours should begin working at the next "asterisk reload")

so remove those lines, then at the asterisk CLI enter "reload" and try again.
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

thanks

Postby mr.rizwan » Tue Mar 23, 2010 7:02 am

williamconley wrote:in extensions.conf you will find a duplicate of your:

exten => _91XXXXXXXXXX,2,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,3,Dial(SIP/cordia/${EXTEN:1},55,To)
exten => _91XXXXXXXXXX,4,Hangup

you must comment it out by putting ; in front of each of the three lines or delete it (as you will note that there cannot be TWO of them, and yours is being ignored in favor of the one in extensions.conf. yours should be loaded into extensions-vicidial.conf by the GUI, but that is read too late. so you delete this one and yours should begin working at the next "asterisk reload")

so remove those lines, then at the asterisk CLI enter "reload" and try again.



thanks william, now it is working fine. i can outbound dailing but when i make manual call. call get connected but after 50 sec i receive a message that "Dial timed our, contact your system admin" please could you tell me what is the reason.
Regards
mr.rizwan
 
Posts: 27
Joined: Tue Feb 16, 2010 4:44 pm

Postby williamconley » Tue Mar 23, 2010 10:28 am

what does the cli in asterisk say is happening when you get this message?
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

hi

Postby mr.rizwan » Sat Mar 27, 2010 4:27 am

sorry william for late reply. actually asterisk CLI does not show any message. when i get this message on agent screen. i have noticed one thing on agent screen that if we make a manual call and then even call is connected but on agent screen it show that ringing status. and after 50 sec it give timed out message.
mr.rizwan
 
Posts: 27
Joined: Tue Feb 16, 2010 4:44 pm

Re: thanks

Postby williamconley » Sat Mar 27, 2010 8:38 am

mr.rizwan wrote:
williamconley wrote:exten => _91XXXXXXXXXX,2,AGI(agi://127.0.0.1:4577/call_log)
exten => _91XXXXXXXXXX,3,Dial(SIP/cordia/${EXTEN:1},55,To)
exten => _91XXXXXXXXXX,4,Hangup



thanks william, now it is working fine. i can outbound dailing but when i make manual call. call get connected but after 50 sec i receive a message that "Dial timed our, contact your system admin" please could you tell me what is the reason.
Regards
cannot start with ",2," the first one must be ",1," and you may number after that ",2," and ",3," or just ",n," on all successive lines, but the first one must be ",1," no matter what.

if that doesn't help, what do you have for your "carrier" settings for this carrier and what do you have in your campaign for dial prefix and manual dial prefix
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: hi.

Postby mr.rizwan » Mon Mar 29, 2010 7:47 am

william,
i have changed number 2 to 1 and and for rest of the numbers i have changed it to n. These settings are under career settings plus on campaign settings i am using 9 prefix but still i have same issue.
mr.rizwan
 
Posts: 27
Joined: Tue Feb 16, 2010 4:44 pm


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 291 guests