HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] call is not answered while testing iaxmodem
I've installed IAXmodem according to what the README file says, but while testing it as non-deamon mode, the call never gets answered. I get the following errors:
(I have Asterisk running in one machine (
192.168.141.100) and IAXmodem running on another machine (
192.168.141.101). For the testing I placed a call from my extension (5273) to the DID 220408010 which is routed by asterisk to iaxmodem)
[root@voip-testes iaxmodem-1.0.0]# pwd
/usr/local/src/iaxmodem-1.0.0
[root@voip-testes iaxmodem-1.0.0]# ./iaxmodem ttyIAX0
[2008-01-25 19:13:46] Modem started
[2008-01-25 19:13:46] Setting device = '/dev/ttyIAX0'
[2008-01-25 19:13:46] Setting owner = 'uucp:uucp'
[2008-01-25 19:13:46] Setting mode = '660'
[2008-01-25 19:13:46] Setting port = 4570
[2008-01-25 19:13:46] Setting refresh = 300
[2008-01-25 19:13:46] Setting server = '
192.168.141.100'
[2008-01-25 19:13:46] Setting peername = 'FaxDSP0'
[2008-01-25 19:13:46] Setting secret = 'testing'
[2008-01-25 19:13:46] Setting cidname = 'FAX de Teste0'
[2008-01-25 19:13:46] Setting cidnumber = '000000000'
[2008-01-25 19:13:46] Setting codec = ulaw
[2008-01-25 19:13:46] Opened pty, slave device: /dev/pts/3
[2008-01-25 19:13:46] Created /dev/ttyIAX0 symbolic link
[2008-01-25 19:13:46] Registration completed successfully.
[2008-01-25 19:13:49] Incoming call connected 220408010, 5273, Ricardo Carvalho.
[2008-01-25 19:13:49] Unable to pass the full buffer onto the device file. 2015 bytes of 2052 written: Resource temporarily unavailable
[2008-01-25 19:13:49] Successfully flushed pty buffer
[2008-01-25 19:13:54] Unable to pass the full buffer onto the device file. 2015 bytes of 2052 written: Resource temporarily unavailable
[2008-01-25 19:13:54] Successfully flushed pty buffer
[2008-01-25 19:13:59] Unable to pass the full buffer onto the device file. 2015 bytes of 2052 written: Resource temporarily unavailable
[2008-01-25 19:13:59] Successfully flushed pty buffer
[2008-01-25 19:14:04] Remote hangup.
[2008-01-25 19:14:04] Unable to pass the full buffer onto the device file. 2015 bytes of 2052 written: Resource temporarily unavailable
[2008-01-25 19:14:04] Successfully flushed pty buffer
And in my Asterisk server's CLI it says:
-- Executing Dial("SIP/5273-0836fa08", "IAX2/FaxDSP0/220408010|15|r") in new stack
-- Called FaxDSP0/220408010
-- Call accepted by
192.168.141.101 (format ulaw)
-- Format for call is ulaw
-- IAX2/FaxDSP0-2 is ringing
-- Nobody picked up in 15000 ms
-- Hungup 'IAX2/FaxDSP0-2'
This is my configuration in the Asterisk dialplan:
exten => _220408010,1,Dial(IAX2/FaxDSP0/${EXTEN},15,r)
exten => _220408010,n,Congestion()
exten => _220408010,n,Hangup
And this is what I have in the Asterisk iax.conf file:
[general]
bindport=4569
bindaddr=
0.0.0.0
disallow=all
allow=ulaw
allow=alaw
mailboxdetail=yes
iaxcompat=yes
jitterbuffer=yes
[FaxDSP0]
type=friend
username=FaxDSP0
secret=testing
host=dynamic
port=4570
disallow=all
allow=ulaw
qualify=yes
And this is my /etc/iaxmodem/ttyIAX0 file:
device /dev/ttyIAX0
owner uucp:uucp
mode 660
port 4570
refresh 300
server
172.16.103.241
peername FaxDSP0
secret testing
cidname FAX de Teste0
cidnumber 000000000
codec ulaw
Any ideas? What am I doing wrong? I didn't include anything in /etc/inittab, but I guess it won't be necessary too because I'm not running IAXmodem as deamon!...
Regards,
Ricardo Carvalho.