Fax internally

xhal99104

Joined
Feb 17, 2007
Messages
15
Likes
0
Points
0
#1
Hi

My elastix is now 1.0 (freepbx 2.4 upgraded via the unembedded freepbx menu)

I'm sorry, but I have tried and tried to fax between two local IAX numbers and to fax to an external fax. I cannot get it to work, but I receive faxes perfectly.
When I submit a fax to the Hylafax printer I get a job ID in return and seconds later Asterisk starts to make the fax call. The modems seems to connect for a few seconds and then it hangs up again!!:angry: I had an idea that it was about the codec so i forced my provider to use alaw and ulaw only which have been working in earlier versions of elastix.

It seems that as soon as the actual fax is supposed to be sent, elastix disconnects again.
Pls any ideas? The mail I receive as confirmation of the failed fax below:

External:
Your job to xxx99311 failed because:




---- Transcript of session follows ----

Feb 15 22:12:25.70: [10311]: SESSION BEGIN 000000045 5930486999311
Feb 15 22:12:25.70: [10311]: HylaFAX (tm) Version 4.3.3
Feb 15 22:12:25.70: [10311]: SEND FAX: JOB 7 DEST xxx99311 COMMID 000000045 DEVICE '/dev/ttyIAX2' FROM '9002 <xxxx.dk>' USER 9002
Feb 15 22:12:25.70: [10311]: STATE CHANGE: RUNNING -> SENDING
Feb 15 22:12:25.70: [10311]: <-- [12:AT+FCLASS=1\r] Feb 15 22:12:25.71: [10311]: --> [2]
Feb 15 22:12:25.72: [10311]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Feb 15 22:12:25.72: [10311]: DIAL xxx99311
Feb 15 22:12:25.72: [10311]: <-- [13:ATDT86999311\r] Feb 15 22:12:46.45: [10311]: --> [7]
Feb 15 22:12:48.17: [10311]: --> HDLC<25:FF C0 02 04 04 04 04 04 04 04 04 04 8C 8C CC 9C 9C 9C 6C 1C 1E 86 62 8A B7>
Feb 15 22:12:48.17: [10311]: --> [2]
Feb 15 22:12:48.17: [10311]: REMOTE CSI "Faxxxx99311"
Feb 15 22:12:48.17: [10311]: <-- [9:AT+FRH=3\r]
Feb 15 22:12:48.19: [10311]: --> [7]
Feb 15 22:12:48.63: [10311]: --> HDLC<8:FF C8 01 00 77 1E 80 40>
Feb 15 22:12:48.69: [10311]: --> [2]
Feb 15 22:12:48.69: [10311]: REMOTE best rate 14400 bit/s
Feb 15 22:12:48.69: [10311]: REMOTE max A4 page width (215 mm)
Feb 15 22:12:48.69: [10311]: REMOTE max unlimited page length
Feb 15 22:12:48.69: [10311]: REMOTE best vres 7.7 line/mm
Feb 15 22:12:48.69: [10311]: REMOTE format support: MH, MR
Feb 15 22:12:48.69: [10311]: REMOTE best 0 ms/scanline
Feb 15 22:12:48.69: [10311]: USE 14400 bit/s
Feb 15 22:12:48.69: [10311]: <-- [9:AT+FTH=3\r]
Feb 15 22:12:48.69: [10311]: --> [7]
Feb 15 22:12:48.69: [10311]: <-- HDLC<3:FF C8 DF> Feb 15 22:12:49.87: [10311]: --> [2]
Feb 15 22:12:49.87: [10311]: MODEM input buffering enabled
Feb 15 22:12:49.87: [10311]: <-- [5:ATH0\r]
Feb 15 22:12:49.97: [10311]: --> [2]
Feb 15 22:12:49.97: [10311]: MODEM set DTR OFF
Feb 15 22:12:49.97: [10311]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 15 22:12:49.97: [10311]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Feb 15 22:12:49.97: [10311]: SESSION END

------- Unsent job status -------
Destination: xxx999311
JobID: 7
GroupID: 7
Sender: 9002
Mailaddr: xxxxx.dk
CommID: 000000045
Modem: ttyIAX2
Submitted From: rdfhada.xxxxx
Page Width: 209 (mm)
Page Length: 296 (mm)
Resolution: 196 (lpi)
Status:
Dialogs: 1
Dials: 0
Calls: 1
Pages: 0
TotPages: 0
Attempts: 0
Dirnum:


And the internal from 9002 to 9001:
Your job to 9001 failed because:




---- Transcript of session follows ----

Feb 15 22:12:02.24: [10228]: SESSION BEGIN 000000043 593049001
Feb 15 22:12:02.24: [10228]: HylaFAX (tm) Version 4.3.3
Feb 15 22:12:02.25: [10228]: SEND FAX: JOB 6 DEST 9001 COMMID 000000043 DEVICE '/dev/ttyIAX2' FROM '9002 <xxx.dk>' USER 9002
Feb 15 22:12:02.25: [10228]: STATE CHANGE: RUNNING -> SENDING
Feb 15 22:12:02.26: [10228]: <-- [12:AT+FCLASS=1\r] Feb 15 22:12:02.27: [10228]: --> [2]
Feb 15 22:12:02.27: [10228]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Feb 15 22:12:02.27: [10228]: DIAL 9001
Feb 15 22:12:02.27: [10228]: <-- [9:ATDT9001\r]
Feb 15 22:12:07.23: [10228]: --> [7]
Feb 15 22:12:09.07: [10228]: --> HDLC<34:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 CC 74 CC DA 7F>
Feb 15 22:12:09.07: [10228]: --> [2]
Feb 15 22:12:09.07: [10228]: REMOTE NSF "AD 00 55 48 79 6C 61 46 41 58 20 28 74 6D 29 20 56 65 72 73 69 6F 6E 20 34 2E 33 2E 33"
Feb 15 22:12:09.07: [10228]: NSF remote fax equipment: HylaFAX
Feb 15 22:12:09.07: [10228]: NSF remote station ID: "HylaFAX (tm) Version 4.3.3"
Feb 15 22:12:09.07: [10228]: <-- [9:AT+FRH=3\r]
Feb 15 22:12:09.09: [10228]: --> [7]
Feb 15 22:12:09.89: [10228]: --> HDLC<25:FF C0 02 1A 82 62 04 76 A6 CE B6 F6 16 2A 04 36 A6 86 16 C6 96 B2 04 AD 11>
Feb 15 22:12:09.89: [10228]: --> [2]
Feb 15 22:12:09.89: [10228]: REMOTE CSI "Michael Thomsen FAX"
Feb 15 22:12:09.89: [10228]: <-- [9:AT+FRH=3\r] Feb 15 22:12:09.93: [10228]: --> [7]
Feb 15 22:12:10.47: [10228]: --> HDLC<15:FF C8 01 00 73 5F 23 01 FB C1 01 01 18 90 61>
Feb 15 22:12:10.53: [10228]: --> [2]
Feb 15 22:12:10.53: [10228]: REMOTE best rate 9600 bit/s Feb 15 22:12:10.53: [10228]: REMOTE max A3 page width (303 mm)
Feb 15 22:12:10.53: [10228]: REMOTE max unlimited page length Feb 15 22:12:10.53: [10228]: REMOTE best vres R16 x 15.4 line/mm
Feb 15 22:12:10.53: [10228]: REMOTE format support: MH, MR, MMR
Feb 15 22:12:10.53: [10228]: REMOTE supports T.30 Annex A, 256-byte ECM
Feb 15 22:12:10.53: [10228]: REMOTE best 0 ms/scanline
Feb 15 22:12:10.53: [10228]: USE 9600 bit/s
Feb 15 22:12:10.53: [10228]: USE error correction mode
Feb 15 22:12:10.53: [10228]: <-- [9:AT+FTH=3\r]
Feb 15 22:12:10.54: [10228]: --> [7]
Feb 15 22:12:10.54: [10228]: <-- HDLC<3:FF C8 DF> Feb 15 22:12:11.72: [10228]: --> [2]
Feb 15 22:12:11.72: [10228]: MODEM input buffering enabled
Feb 15 22:12:11.72: [10228]: <-- [5:ATH0\r]
Feb 15 22:12:11.83: [10228]: --> [2]
Feb 15 22:12:11.83: [10228]: MODEM set DTR OFF
Feb 15 22:12:11.83: [10228]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 15 22:12:11.83: [10228]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Feb 15 22:12:11.83: [10228]: SESSION END

------- Unsent job status -------
Destination: 9001
JobID: 6
GroupID: 6
Sender: 9002
Mailaddr: xxxx.dk
CommID: 000000043
Modem: ttyIAX2
Submitted From: rxxxxxxxhl.dk
Page Width: 209 (mm)
Page Length: 296 (mm)
Resolution: 196 (lpi)
Status:
Dialogs: 1
Dials: 0
Calls: 1
Pages: 0
TotPages: 0
Attempts: 0
Dirnum:


Sorry for the long message, but can anyone help?

Tks in advance

Rgds
Michael
 

xhal99104

Joined
Feb 17, 2007
Messages
15
Likes
0
Points
0
#2
asterisk reports this:
Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/46932577-09e9e888'
 

xhal99104

Joined
Feb 17, 2007
Messages
15
Likes
0
Points
0
#3
pls if anyone can help on the fax topic cause I´m lost.

Rgds Michael
 

bulgarion

Joined
Feb 22, 2008
Messages
38
Likes
0
Points
0
#4
Have the same issue, followed the Video Tutorial for the 1.0 alpha version, and I get the iaxmodem answering to fax calls (internals AND externals), but somehow the call is treated as a voice stream and not fax data - in the /var/log/message I have similar informations. It seems quite a bug, or perhaps incorrect configuration, as soon as the Bug Tracking System will be back online I'll put it in.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,915
Messages
130,920
Members
17,595
Latest member
feparra121
Top