Howdy all,
I followed the Ubuntu 14 Incredible 12 Avantfax tutorial (including reboot, module enabling, etc.). One part I could not see covered anywhere was how to configure an inbound route for a dedicated did (voip.ms in my case).
The route is configured to detect faxes and send them to the Hylafax custom destination. What's confusing me is the final "Set Destination" choice. Nothing seems to work (faxes not received). At the moment I've set it to Custom Destination > Hylafax but incoming calls hear a brief silence then a generated DTMF "1" and finally a busy signal.
Also, the Avatfax web interface shows this (even across reboots):
dpkg-new [Please wait] ttyIAX0 [Please wait] ttyIAX1 [Please wait] ttyIAX2 [Please wait]
ttyIAX3 [Please wait]
Does the above mean I have bigger problems? Here's the tail end of the sip log (hope its ok to post this!!)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/Voip.ms Fax-00000001", "") in new stack
-- Executing [in@sub-record-check:5] Return("SIP/Voip.ms Fax-00000001", "") in new stack
-- Executing [763710XXXX@from-trunk:3] Gosub("SIP/Voip.ms Fax-00000001", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/Voip.ms Fax-00000001", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/Voip.ms Fax-00000001", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/Voip.ms Fax-00000001", "") in new stack
-- Executing [763710XXXX@from-trunk:4] Set("SIP/Voip.ms Fax-00000001", "CDR(did)=763710XXXX") in new stack
-- Executing [763710XXXX@from-trunk:5] ExecIf("SIP/Voip.ms Fax-00000001", "0 ?Set(CALLERID(name)=612965XXXX)") in new stack
-- Executing [763710XXXX@from-trunk:6] Set("SIP/Voip.ms Fax-00000001", "CHANNEL(musicclass)=default") in new stack
-- Executing [763710XXXX@from-trunk:7] Set("SIP/Voip.ms Fax-00000001", "__MOHCLASS=default") in new stack
[2015-03-13 10:54:14] WARNING[4952][C-00000001]: func_channel.c:560 func_channel_read: Unknown or unavailable item requested: 'reversecharge'
-- Executing [763710XXXX@from-trunk:8] GotoIf("SIP/Voip.ms Fax-00000001", "0?macro-hangupcall") in new stack
-- Executing [763710XXXX@from-trunk:9] Set("SIP/Voip.ms Fax-00000001", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [763710XXXX@from-trunk:10] Set("SIP/Voip.ms Fax-00000001", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [763710XXXX@from-trunk:11] Set("SIP/Voip.ms Fax-00000001", "FAX_DEST=custom-fax-iaxmodem^s^1") in new stack
-- Executing [763710XXXX@from-trunk:12] Set("SIP/Voip.ms Fax-00000001", "FAXOPT(faxdetect)=yes") in new stack
-- Executing [763710XXXX@from-trunk:13] Answer("SIP/Voip.ms Fax-00000001", "") in new stack
-- Executing [763710XXXX@from-trunk:14] Wait("SIP/Voip.ms Fax-00000001", "4") in new stack
-- Executing [763710XXXX@from-trunk:15] Goto("SIP/Voip.ms Fax-00000001", "custom-fax-iaxmodem,s,1") in new stack
-- Goto (custom-fax-iaxmodem,s,1)
-- Executing [s@custom-fax-iaxmodem:1] Answer("SIP/Voip.ms Fax-00000001", "") in new stack
-- Executing [s@custom-fax-iaxmodem:2] Wait("SIP/Voip.ms Fax-00000001", "1") in new stack
-- Executing [s@custom-fax-iaxmodem:3] SendDTMF("SIP/Voip.ms Fax-00000001", "1") in new stack
> 0x7f6a10019180 -- Probation passed - setting RTP source address to 208.100.39.53:19110
-- Executing [s@custom-fax-iaxmodem:4] Dial("SIP/Voip.ms Fax-00000001", "IAX2/iax-fax0/s") in new stack
[2015-03-13 10:54:20] WARNING[4952][C-00000001]: app_dial.c:2421 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@custom-fax-iaxmodem:5] Dial("SIP/Voip.ms Fax-00000001", "IAX2/iax-fax1/s") in new stack
[2015-03-13 10:54:20] WARNING[4952][C-00000001]: app_dial.c:2421 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@custom-fax-iaxmodem:6] Dial("SIP/Voip.ms Fax-00000001", "IAX2/iax-fax2/s") in new stack
[2015-03-13 10:54:20] WARNING[4952][C-00000001]: app_dial.c:2421 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@custom-fax-iaxmodem:7] Dial("SIP/Voip.ms Fax-00000001", "IAX2/iax-fax3/s") in new stack
[2015-03-13 10:54:20] WARNING[4952][C-00000001]: app_dial.c:2421 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@custom-fax-iaxmodem:8] Busy("SIP/Voip.ms Fax-00000001", "") in new stack
== Spawn extension (custom-fax-iaxmodem, s, 8) exited non-zero on 'SIP/Voip.ms Fax-00000001'
I followed the Ubuntu 14 Incredible 12 Avantfax tutorial (including reboot, module enabling, etc.). One part I could not see covered anywhere was how to configure an inbound route for a dedicated did (voip.ms in my case).
The route is configured to detect faxes and send them to the Hylafax custom destination. What's confusing me is the final "Set Destination" choice. Nothing seems to work (faxes not received). At the moment I've set it to Custom Destination > Hylafax but incoming calls hear a brief silence then a generated DTMF "1" and finally a busy signal.
Also, the Avatfax web interface shows this (even across reboots):
dpkg-new [Please wait] ttyIAX0 [Please wait] ttyIAX1 [Please wait] ttyIAX2 [Please wait]
ttyIAX3 [Please wait]
Does the above mean I have bigger problems? Here's the tail end of the sip log (hope its ok to post this!!)
-- Executing [recordcheck@sub-record-check:3] Return("SIP/Voip.ms Fax-00000001", "") in new stack
-- Executing [in@sub-record-check:5] Return("SIP/Voip.ms Fax-00000001", "") in new stack
-- Executing [763710XXXX@from-trunk:3] Gosub("SIP/Voip.ms Fax-00000001", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/Voip.ms Fax-00000001", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/Voip.ms Fax-00000001", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/Voip.ms Fax-00000001", "") in new stack
-- Executing [763710XXXX@from-trunk:4] Set("SIP/Voip.ms Fax-00000001", "CDR(did)=763710XXXX") in new stack
-- Executing [763710XXXX@from-trunk:5] ExecIf("SIP/Voip.ms Fax-00000001", "0 ?Set(CALLERID(name)=612965XXXX)") in new stack
-- Executing [763710XXXX@from-trunk:6] Set("SIP/Voip.ms Fax-00000001", "CHANNEL(musicclass)=default") in new stack
-- Executing [763710XXXX@from-trunk:7] Set("SIP/Voip.ms Fax-00000001", "__MOHCLASS=default") in new stack
[2015-03-13 10:54:14] WARNING[4952][C-00000001]: func_channel.c:560 func_channel_read: Unknown or unavailable item requested: 'reversecharge'
-- Executing [763710XXXX@from-trunk:8] GotoIf("SIP/Voip.ms Fax-00000001", "0?macro-hangupcall") in new stack
-- Executing [763710XXXX@from-trunk:9] Set("SIP/Voip.ms Fax-00000001", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [763710XXXX@from-trunk:10] Set("SIP/Voip.ms Fax-00000001", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [763710XXXX@from-trunk:11] Set("SIP/Voip.ms Fax-00000001", "FAX_DEST=custom-fax-iaxmodem^s^1") in new stack
-- Executing [763710XXXX@from-trunk:12] Set("SIP/Voip.ms Fax-00000001", "FAXOPT(faxdetect)=yes") in new stack
-- Executing [763710XXXX@from-trunk:13] Answer("SIP/Voip.ms Fax-00000001", "") in new stack
-- Executing [763710XXXX@from-trunk:14] Wait("SIP/Voip.ms Fax-00000001", "4") in new stack
-- Executing [763710XXXX@from-trunk:15] Goto("SIP/Voip.ms Fax-00000001", "custom-fax-iaxmodem,s,1") in new stack
-- Goto (custom-fax-iaxmodem,s,1)
-- Executing [s@custom-fax-iaxmodem:1] Answer("SIP/Voip.ms Fax-00000001", "") in new stack
-- Executing [s@custom-fax-iaxmodem:2] Wait("SIP/Voip.ms Fax-00000001", "1") in new stack
-- Executing [s@custom-fax-iaxmodem:3] SendDTMF("SIP/Voip.ms Fax-00000001", "1") in new stack
> 0x7f6a10019180 -- Probation passed - setting RTP source address to 208.100.39.53:19110
-- Executing [s@custom-fax-iaxmodem:4] Dial("SIP/Voip.ms Fax-00000001", "IAX2/iax-fax0/s") in new stack
[2015-03-13 10:54:20] WARNING[4952][C-00000001]: app_dial.c:2421 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@custom-fax-iaxmodem:5] Dial("SIP/Voip.ms Fax-00000001", "IAX2/iax-fax1/s") in new stack
[2015-03-13 10:54:20] WARNING[4952][C-00000001]: app_dial.c:2421 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@custom-fax-iaxmodem:6] Dial("SIP/Voip.ms Fax-00000001", "IAX2/iax-fax2/s") in new stack
[2015-03-13 10:54:20] WARNING[4952][C-00000001]: app_dial.c:2421 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@custom-fax-iaxmodem:7] Dial("SIP/Voip.ms Fax-00000001", "IAX2/iax-fax3/s") in new stack
[2015-03-13 10:54:20] WARNING[4952][C-00000001]: app_dial.c:2421 dial_exec_full: Unable to create channel of type 'IAX2' (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@custom-fax-iaxmodem:8] Busy("SIP/Voip.ms Fax-00000001", "") in new stack
== Spawn extension (custom-fax-iaxmodem, s, 8) exited non-zero on 'SIP/Voip.ms Fax-00000001'