Dial Zap problem?

Can someone tell me why I get the message below? Thanks!

– Executing [27999188@internal:1] Dial(“SIP/09015126502-09cd9ac8”, “Zap/1”) in new stack
[Oct 30 11:28:10] WARNING[19666]: channel.c:3236 ast_request: No channel type registered for ‘Zap’
[Oct 30 11:28:10] WARNING[19666]: app_dial.c:1111 dial_exec_full: Unable to create channel of type ‘Zap’ (cause 66 - Channel not implemented)
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [27999188@internal:2] Hangup(“SIP/09015126502-09cd9ac8”, “”) in new stack
== Spawn extension (internal, 27999188, 2) exited non-zero on ‘SIP/09015126502-09cd9ac8’
[Oct 30 11:28:10] NOTICE[19666]: cdr.c:434 ast_cdr_free: CDR on channel ‘SIP/09015126502-09cd9ac8’ not posted

I’m getting the same error.

I’ve done lspci and the card shows up.
ztcfg -vvv shows everything as fine and zttool shows OK.
dmesg shows all the correct FXO and FXS ports etc. So the card is definately in ok.

Any help would be grand!
Thanks!

Hey bryant,

I solved this issue by giving my asterisk user the correct permissions to the /dev/zap directory. I used the tutorial on voip-info to not run asterisk as root and didn’t set the zap permissions as I didn’t have a trunk card yet.

Hope that helps your problem.

Thanks,

[quote=“rick.north”]Hey bryant,

I solved this issue by giving my asterisk user the correct permissions to the /dev/zap directory. I used the tutorial on voip-info to not run asterisk as root and didn’t set the zap permissions as I didn’t have a trunk card yet.

Hope that helps your problem.

Thanks,[/quote]

I use root to do all the process. It’s that ok?

If you’re using root to run asterisk then the problem won’t be the same as mine.

What happens if you issue “load chan_zap.so” from the CLI?

Bryant:
As a general rule of thumb it is best to run asterisk as non root for security purposes.