i finnaly manage this problem but ofcourse i have another one now.
but first of all:
It seems asterisk gives this error ( "Asterisk has detected a problem with your Zaptel configuration" ) when is trying to take the clock from /dev/zap/timer but this doesn't work correctly.
In order to see if the timer is working or not, please check if you have ztdummy module installed and run zttest. If zttest doen't show you anything it seems the ztdummy module has something wrong.
After a lot of readings it seems the kernel timer should be put to 1000(which is stupid because this timer is usually for desktop not for servers).
So recompile your kernel and put CONFIG_HZ_1000=y and CONFIG_HIGH_RES_TIMERS=y
after that, of course you ztdummy will not compile :lol
for this there is patch (
http://www.mail-archive.com/svn- ... m.com/msg34082.html
) .. apply it and compile again the zaptel
after this load zaptel, load ztdummy and after that opvxg4xx.
ok..so far so good.
now i managed to start asterisk and everthing looks ok to me.
hasterisk*CLI> zap show channels
Chan Extension Context Language MOH Interpret
pseudo default default
1 from-pstn default
3 from-pstn default
5 from-pstn default
7 from-pstn default
zap show channel 1
Channel: 1CLI>
File Descriptor: 10
Span: 1
Extension:
Dialing: no
Context: from-pstn
Caller ID:
Calling TON: 0
Caller ID name:
Destroy: 0
InAlarm: 0
Signalling Type: GSM
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: no
Relax DTMF: no
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 1 taps unless TDM bridged, currently OFF
Hookstate (FXS only): Onhook
when i am trying to place a call i receive this error.
-- Executing [100@default:1] Dial("SIP/100-08423668", "zap/1/10000") in new stack
[Jul 25 12:18:01] WARNING[2797]: app_dial.c:1294 dial_exec_full: Unable to create channel of type 'zap' (cause 0 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
can you please help with this ?
i] Last edited by yoyo at 2010-7-25 20:32 [/i