HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Hylafax/IAXmodem



I wish that were the case, I hax faxdetect completely disabled in
Zapata.conf The asterisk CLI states that the call goes through just
fine..

-snip-
[Feb 15 14:01:18] VERBOSE[26768] logger.c:     -- Accepting
AUTHENTICATED call from 192.168.10.20:
       > requested format = ulaw,
       > requested prefs = (),
       > actual format = ulaw,
       > host prefs = (ulaw),
       > priority = mine
[Feb 15 14:01:18] VERBOSE[27913] logger.c:     -- Executing
[6237928820@internal:1] Set("IAX2/198-4", "CALLERID(all)="PNI"
<6024540471>") in new stack
[Feb 15 14:01:18] VERBOSE[27913] logger.c:     -- Executing
[6237928820@internal:2] Dial("IAX2/198-4", "ZAP/g1/6237928820") in new
stack
[Feb 15 14:01:18] VERBOSE[27913] logger.c:     -- Requested transfer
capability: 0x00 - SPEECH
[Feb 15 14:01:18] VERBOSE[27913] logger.c:     -- Called g1/6237928820
[Feb 15 14:01:18] DEBUG[26774] chan_zap.c: Queuing frame from
PRI_EVENT_PROCEEDING on channel 0/2 span 1
[Feb 15 14:01:18] VERBOSE[27913] logger.c:     -- Zap/2-1 is proceeding
passing it to IAX2/198-4
[Feb 15 14:01:18] DEBUG[27779] chan_zap.c: Set option AUDIO MODE, value:
ON(1) on Zap/1-1
[Feb 15 14:01:18] DEBUG[27779] chan_zap.c: Not yet hungup...  Calling
hangup once with icause, and clearing call
[Feb 15 14:01:18] DEBUG[27779] chan_zap.c: Set option AUDIO MODE, value:
OFF(0) on Zap/1-1
[Feb 15 14:01:18] VERBOSE[27779] logger.c:     -- Hungup 'Zap/1-1'
[Feb 15 14:01:18] VERBOSE[27779] logger.c:   == Spawn extension
(internal, 6236953065, 2) exited non-zero on 'SIP/103-08a604c0'
[Feb 15 14:01:18] VERBOSE[26756] logger.c:  Extension Changed _103 new
state Idle for Notify User 100
[Feb 15 14:01:19] VERBOSE[27913] logger.c:     -- Zap/2-1 is ringing
[Feb 15 14:01:37] VERBOSE[27913] logger.c:     -- Zap/2-1 answered
IAX2/198-4

[root@localhost iaxmodem-0.3.2]# tail -20 /var/log/asterisk/full
[Feb 15 14:01:18] VERBOSE[26768] logger.c:     -- Accepting
AUTHENTICATED call from 192.168.10.20:
       > requested format = ulaw,
       > requested prefs = (),
       > actual format = ulaw,
       > host prefs = (ulaw),
       > priority = mine
[Feb 15 14:01:18] VERBOSE[27913] logger.c:     -- Executing
[6237928820@internal:1] Set("IAX2/198-4", "CALLERID(all)="PNI"
<6024540471>") in new stack
[Feb 15 14:01:18] VERBOSE[27913] logger.c:     -- Executing
[6237928820@internal:2] Dial("IAX2/198-4", "ZAP/g1/6237928820") in new
stack
[Feb 15 14:01:18] VERBOSE[27913] logger.c:     -- Requested transfer
capability: 0x00 - SPEECH
[Feb 15 14:01:18] VERBOSE[27913] logger.c:     -- Called g1/6237928820
[Feb 15 14:01:18] DEBUG[26774] chan_zap.c: Queuing frame from
PRI_EVENT_PROCEEDING on channel 0/2 span 1
[Feb 15 14:01:18] VERBOSE[27913] logger.c:     -- Zap/2-1 is proceeding
passing it to IAX2/198-4
[Feb 15 14:01:18] DEBUG[27779] chan_zap.c: Set option AUDIO MODE, value:
ON(1) on Zap/1-1
[Feb 15 14:01:18] DEBUG[27779] chan_zap.c: Not yet hungup...  Calling
hangup once with icause, and clearing call
[Feb 15 14:01:18] DEBUG[27779] chan_zap.c: Set option AUDIO MODE, value:
OFF(0) on Zap/1-1
[Feb 15 14:01:18] VERBOSE[27779] logger.c:     -- Hungup 'Zap/1-1'
[Feb 15 14:01:18] VERBOSE[27779] logger.c:   == Spawn extension
(internal, 6236953065, 2) exited non-zero on 'SIP/103-08a604c0'
[Feb 15 14:01:18] VERBOSE[26756] logger.c:  Extension Changed _103 new
state Idle for Notify User 100
[Feb 15 14:01:19] VERBOSE[27913] logger.c:     -- Zap/2-1 is ringing
[Feb 15 14:01:37] VERBOSE[27913] logger.c:     -- Zap/2-1 answered
IAX2/198-4
-snip-

As you can see theres 2 attemps

These are outbound attempts, though same results for incoming.. the
transaction log for outbound just says

Feb 15 13:59:45.79: [27808]: SESSION BEGIN 000000034 14806237928820
Feb 15 13:59:45.79: [27808]: HylaFAX (tm) Version 4.4.4
Feb 15 13:59:45.79: [27808]: SEND FAX: JOB 6 DEST 6237928820 COMMID
000000034 DEVICE '/dev/ttyIAX' FROM 'Art Tarsha <atarsha@xxxxxxxxx>'
USER atarsha
Feb 15 13:59:45.79: [27808]: <-- [12:AT+FCLASS=1\r]
Feb 15 13:59:45.79: [27808]: --> [2:OK]
Feb 15 13:59:45.79: [27808]: DIAL 6237928820
Feb 15 13:59:45.79: [27808]: <-- [17:ATX3DT6237928820\r]
Feb 15 14:01:07.50: [27808]: --> [10:NO CARRIER]
Feb 15 14:01:07.50: [27808]: SEND FAILED: JOB 6 DEST 6237928820 ERR [2]
No carrier detected
Feb 15 14:01:08.50: [27808]: <-- [5:ATH0\r]
Feb 15 14:01:08.50: [27808]: --> [2:OK]
Feb 15 14:01:08.50: [27808]: SESSION END

-Art


-----Original Message-----
From: Lee Howard [mailto:faxguy@xxxxxxxxxxxxxxxx] 
Sent: Friday, February 15, 2008 1:52 PM
To: Art Tarsha
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] Hylafax/IAXmodem

Art Tarsha wrote:
>
> Additionally I tried the record option and I heard stuff in the -dsp 
> but nothing in the -iax its size is 320 (which from what I've read on 
> the list essentially means there is an audio issue between the 
> devices, though I find it bazaar that I can hear IAXmodem train yet 
> not the fax machine itself.
>
> -rw-r----- 1 uucp root 646400 2008-02-15 11:44 198-dsp.raw
>
> -rw-r----- 1 uucp root 320 2008-02-15 11:43 198-iax.raw
>

Watch the Asterisk CLI on this call. Most of the call's audio is not 
getting from Asterisk to iaxmodem. So it's possible that something like 
fax detection is whisking the call away to elsewhere in your dialplan.

Thanks,

Lee.


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions