iaxmodem+hylafax-server+Asterisk iax2

this file configuration for iaxmodem

device /dev/ttyIAX1
owner uucp:uucp
mode 660
port 4570
refresh 30
server 10.5.0.9
peername 666
secret password
codec alaw
cidname 666
cidnumber 666

asterisk 13
iax_custum.conf

[general]
bindport = 4569           
bindaddr = 0.0.0.0    
disallow=all
allow=ulaw
allow=alaw
register => username:[email protected] 

[666]
type=friend
username=666
context=default
host=10.5.0.1
port=4570
secret=password
disallow=all
allow=alaw
trunk=no
requirecalltoken=no
authdebug = yes

logs iax2 set debug on
CAUSE : Registration Refused
CAUSE CODE : 29

[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: Timestamp: 00003ms SCall: 07574 DCall: 00000 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: VERSION : 2
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: CALLING NUMBER : 666
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: CALLING NAME : 666
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: FORMAT : 8
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: CAPABILITY : 76
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: USERNAME : 666
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: CALLED NUMBER : 666
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: DNID : 666
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c:
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
[2008-01-05 23:09:15] VERBOSE[23245] chan_iax2.c: Timestamp: 00003ms SCall: 06401 DCall: 07574 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: AUTHREQ
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: Timestamp: 00003ms SCall: 06401 DCall: 07574 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: AUTHMETHODS : 3
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: CHALLENGE : \x31\x33\x35\x36\x30\x31\x33\x34\x31
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: USERNAME : 666
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c:
[2008-01-05 23:09:15] VERBOSE[23241] chan_iax2.c: Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: AUTHREP
[2008-01-05 23:09:15] VERBOSE[23241] chan_iax2.c: Timestamp: 00003ms SCall: 07574 DCall: 06401 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23241] chan_iax2.c: MD5 RESULT : 689c318e9bcf4cffa18a6afb27d5c2ea
[2008-01-05 23:09:15] VERBOSE[23241] chan_iax2.c:
[2008-01-05 23:09:15] VERBOSE[23241] chan_iax2.c: Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
[2008-01-05 23:09:15] VERBOSE[23241] chan_iax2.c: Timestamp: 00003ms SCall: 06401 DCall: 07574 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23241] chan_iax2.c: Accepting AUTHENTICATED call from 10.5.0.1:4570:
> requested format = alaw,
> requested prefs = (),
> actual format = alaw,
> host prefs = (alaw),
> priority = mine
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACCEPT
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: Timestamp: 00004ms SCall: 06401 DCall: 07574 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: FORMAT : 8
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: FORMAT2 : alaw
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c:
[2008-01-05 23:09:15] VERBOSE[23239] chan_iax2.c: Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
[2008-01-05 23:09:15] VERBOSE[23239] chan_iax2.c: Timestamp: 00004ms SCall: 07574 DCall: 06401 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] pbx.c: Executing [[email protected]:1] Dial("IAX2/666-6401", "IAX2/666/666") in new stack
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] app_dial.c: Called IAX2/666/666
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: Timestamp: 00007ms SCall: 07075 DCall: 00000 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: VERSION : 2
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: CALLED NUMBER : 666
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: CODEC_PREFS : (alaw)
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: CALLING NUMBER : 666
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: CALLING PRESNTN : 0
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: CALLING TYPEOFN : 0
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: CALLING TRANSIT : 0
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: CALLING NAME : 666
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: LANGUAGE : en
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: USERNAME : 666
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: FORMAT : 8
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: FORMAT2 : alaw
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: CAPABILITY : 8
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: CAPABILITY2 : alaw
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: ADSICPE : 2
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: DATE TIME : 2008-01-05 23:09:14
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c:
[2008-01-05 23:09:15] VERBOSE[23240] chan_iax2.c: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
[2008-01-05 23:09:15] VERBOSE[23240] chan_iax2.c: Timestamp: 00007ms SCall: 07575 DCall: 07075 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23240] chan_iax2.c: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REJECT
[2008-01-05 23:09:15] VERBOSE[23240] chan_iax2.c: Timestamp: 00010ms SCall: 07575 DCall: 07075 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23240] chan_iax2.c: CAUSE : Busy
[2008-01-05 23:09:15] VERBOSE[23240] chan_iax2.c:
[2008-01-05 23:09:15] WARNING[23240][C-00000012] chan_iax2.c: Call rejected by 10.5.0.1:4570: Busy
[2008-01-05 23:09:15] VERBOSE[23240][C-00000012] chan_iax2.c: Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
[2008-01-05 23:09:15] VERBOSE[23240][C-00000012] chan_iax2.c: Timestamp: 00010ms SCall: 07075 DCall: 07575 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] chan_iax2.c: Hungup 'IAX2/666-7075'
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] pbx.c: Auto fallthrough, channel 'IAX2/666-6401' status is 'CHANUNAVAIL'
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: Tx-Frame Retry[000] -- OSeqno: 002 ISeqno: 002 Type: CONTROL Subclass: CONGSTN
[2008-01-05 23:09:15] VERBOSE[23234] chan_iax2.c: Timestamp: 00007ms SCall: 06401 DCall: 07574 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23243] chan_iax2.c: Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: ACK
[2008-01-05 23:09:15] VERBOSE[23243] chan_iax2.c: Timestamp: 00007ms SCall: 07574 DCall: 06401 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23243] chan_iax2.c: Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 003 Type: IAX Subclass: HANGUP
[2008-01-05 23:09:15] VERBOSE[23243] chan_iax2.c: Timestamp: 00010ms SCall: 07574 DCall: 06401 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[23243] chan_iax2.c: CAUSE : Normal disconnect
[2008-01-05 23:09:15] VERBOSE[23243] chan_iax2.c:
[2008-01-05 23:09:15] VERBOSE[23243] chan_iax2.c: Tx-Frame Retry[-01] -- OSeqno: 003 ISeqno: 003 Type: IAX Subclass: ACK
[2008-01-05 23:09:15] VERBOSE[23243] chan_iax2.c: Timestamp: 00010ms SCall: 06401 DCall: 07574 10.5.0.1:4570
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] pbx.c: Executing [[email protected]:1] Macro("IAX2/666-6401", "hangupcall,") in new stack
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] pbx.c: Executing [[email protected]:1] GotoIf("IAX2/666-6401", "1?theend") in new stack
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] pbx.c: Executing [[email protected]:3] ExecIf("IAX2/666-6401", "0?Set(CDR(recordingfile)=)") in new stack
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] pbx.c: Executing [[email protected]:4] NoOp("IAX2/666-6401", "IAX2/666-7075 monior file= ") in new stack
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] pbx.c: Executing [[email protected]:5] AGI("IAX2/666-6401", "attendedtransfer-rec-restart.php,IAX2/666-7075,") in new stack
[2008-01-05 23:09:15] VERBOSE[32143][C-00000012] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2008-01-05 23:09:16] VERBOSE[32143][C-00000012] res_agi.c: <IAX2/666-6401>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2008-01-05 23:09:16] VERBOSE[32143][C-00000012] pbx.c: Executing [[email protected]:6] Hangup("IAX2/666-6401", "") in new stack
[2008-01-05 23:09:16] VERBOSE[32143][C-00000012] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'IAX2/666-6401' in macro 'hangupcall'
[2008-01-05 23:09:16] VERBOSE[32143][C-00000012] pbx.c: Spawn extension (default, h, 1) exited non-zero on 'IAX2/666-6401'
[2008-01-05 23:09:16] VERBOSE[32143][C-00000012] chan_iax2.c: Hungup 'IAX2/666-6401'
[2008-01-05 23:12:09] VERBOSE[23241] chan_iax2.c: Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
[2008-01-05 23:12:09] VERBOSE[23241] chan_iax2.c: Timestamp: 00003ms SCall: 07576 DCall: 00000 10.5.0.1:4570
[2008-01-05 23:12:09] VERBOSE[23241] chan_iax2.c: USERNAME : 666
[2008-01-05 23:12:09] VERBOSE[23241] chan_iax2.c: REFRESH : 30
[2008-01-05 23:12:09] VERBOSE[23241] chan_iax2.c:
[2008-01-05 23:12:09] VERBOSE[23241] chan_iax2.c: Tx-Frame Retry[-01] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: ACK
[2008-01-05 23:12:09] VERBOSE[23241] chan_iax2.c: Timestamp: 00003ms SCall: 07259 DCall: 07576 10.5.0.1:4570
[2008-01-05 23:12:09] NOTICE[23241] chan_iax2.c: Peer '666' is not dynamic (from 10.5.0.1)
[2008-01-05 23:12:10] VERBOSE[23234] chan_iax2.c: Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGREJ
[2008-01-05 23:12:10] VERBOSE[23234] chan_iax2.c: Timestamp: 01011ms SCall: 07259 DCall: 07576 10.5.0.1:4570
[2008-01-05 23:12:10] VERBOSE[23234] chan_iax2.c: CAUSE : Registration Refused
[2008-01-05 23:12:10] VERBOSE[23234] chan_iax2.c: CAUSE CODE : 29
[2008-01-05 23:12:10] VERBOSE[23234] chan_iax2.c:
[2008-01-05 23:12:10] VERBOSE[23242] chan_iax2.c: Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: ACK
[2008-01-05 23:12:10] VERBOSE[23242] chan_iax2.c: Timestamp: 01011ms SCall: 07576 DCall: 07259 10.5.0.1:4570

freepbx*CLI> iax2 show registry
Host dnsmgr Username Perceived Refresh State
0 IAX2 registrations.

freepbx*CLI> iax2 show peers
Name/Username Host Mask Port Status Description
666/666 10.5.0.1 (S) 255.255.255.255 4570 Unmonitored
1 iax2 peers [0 online, 0 offline, 1 unmonitored]

I use Installing FAX on FreePBX (Hylafax + IAXModem)
and it help me

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.