No dial tone on simple test setup

Running Yellow Dog Linux 3.0.1 (2.4.22-2gsmp) RH9ish, on a Quicksilver PowerMac with dual 800mhz.

make ; make install on:
zaptel, libpri, asterisk
ztcfg’ed and modprobed
make samples (asterisk)

Configured using the following just to get Asterisk up and running:
digium.com/index.php?menu=co … ion#TDM2XB
with 2 analog phones, 2 POTS lines, 0 SIP Phones (awaiting my Cisco delivery)

Asterisk is up and running. 2 warnings during startup:
WARNING[993]: chan_skinny.c:2905 reload_config:
&
WARNING[993]: chan_oss.c:470 soundcard_init:

I get the #CLI> prompt.
When I pickup Ch1 analog phone: – Starting simple switch on 'Zap/1-1’
but no dial tone, keypress registers though no call is made

Same deal with Ch2 analog phone: --Starting simple switch on ‘Zap/2-1’

When calling into either Ch 3 or 4 via Cell Phone:
—Starting simple switch on 'Zap/4-1’
Apr 19 16:29:28 NOTICE[1017]: chan_zap.c:5645 ss_thread: Got event 2 (Ring/Answered)…
– Executing Wait(“Zap/4-1”, “1”) in new stack
– Executing Dial(“Zap/4-1”, “Zap/g120|t”) in new stack
– Called g120
Apr 19 16:29:29 WARNING[1017]: app_dial.c:1104 dial_exec_full: Invalid timeout specified: ‘t’
– Hungup ‘Zap/pseudo-507862337’
– Executing VoiceMail(“Zap/4-1”, “b9000”) in new stack
Apr 19 16:29:29 WARNING[1017]: app_voicemail.c:2232 leave_voicemail: No entry in voicemail config file for ‘9000’
– Executing Hangup(“Zap/4-1”, “”) in new stack
== Spawn extension (incoming, s, 104) exited non-zero on ‘Zap/4-1’
– Hungup ‘Zap/4-1’
--------------- In an infinite loop until I end the call from the cell. During this time I am not presented with any attendants, nor do any of the analog phones ring. Just continuous dialing tone from the cell phone.

Please help me pull my head out of my Asterisk.

Thanks,
d

Take a look at voip-info.org/wiki-Asterisk+cmd+dial

The sintax is Dial(What,timeout,options) you forgot the second , so Asterisk thinks that t is the timeout. Don’t you mean g1,20,t instead of g120,t ?

Thanks poli,
I now receive rings when dialing into the analog phones from a cell phone, but only hear both ways on one line and not the other.

I still don’t receive a dial tone when picking up on of the analog lines to make an outgoing call.

I think I’m gonna trash all my hacked sample files and rewrite them fresh for my setup.

day