AW: Re: sms/voice over isdn

Kai Krebber Kai.Krebber at krick.net
Wed Jun 21 07:16:39 UTC 2006


Solution to the slow sound is to use -r 8000 with sox while converting .wav to .al.
Don't now, what went wrong with the original msg.al (it was quite late yesterday...)

But now a new problem popped up.

I wrote a little script:

#!/bin/sh
isdnphone -n 12345 -w
dd if=/usr/share/isdn/ansage.al bs=2k of=/dev/i4btel0 > /dev/null 2>&1
isdnphone -h

The script works fine, when called the first time but doesn't call the number, when called the second time. Instead, I get the following error in /var/log/messages:

Jun 21 08:56:18 myswat kernel: i4b-L2 i4b_T200_timeout: unit 0, RC = 0
Jun 21 08:56:20 myswat isdnd[36854]: ERR set_channel_busy: controller [0] invalid channel [-1]!
Jun 21 08:56:21 myswat kernel: i4b-L3 T303_timeout: SETUP not answered, cr = 35
Jun 21 08:56:21 myswat kernel: i4b-L3 next_l3state: FSM illegal state, state = ST_U0 - Null, event = EV_T303EXP - T303 timeout! 

works again the third and every other time...

Seems like the script, i.e. isdnphone -h doesn't clean up properly.

Any ideas, how to make the script work every time?

Cheers,
 Kai


-----Ursprüngliche Nachricht-----
Von: owner-freebsd-isdn at freebsd.org [mailto:owner-freebsd-isdn at freebsd.org] Im Auftrag von Kai Krebber
Gesendet: Mittwoch, 21. Juni 2006 08:17
An: freebsd-isdn at freebsd.org
Betreff: AW: Re: sms/voice over isdn

OK - the slow sound is probably not a freebsd/isdn-problem.
I took another .wav-file, converted it to a-law and back to wav and got the same creepy result. Need to figure out how to correctly transform sound formats.

Cheers,
 Kai



More information about the freebsd-isdn mailing list