Can't recieve incoming faxes

b00gz

Joined
Mar 10, 2008
Messages
7
Likes
0
Points
0
#1
I can send local to local faxes and it works. I can send outgoing faxes and it works but when incoming faxes come from outside the Elastix PBX it does not work here is a log from an incoming fax any ideas?

[root@at-hq-srv5 log]# cat c000000148
Oct 13 19:23:58.54: [25781]: SESSION BEGIN 000000148 59304614305XXXX
Oct 13 19:23:58.54: [25781]: HylaFAX (tm) Version 4.3.3
Oct 13 19:23:58.54: [25781]: CallID: "8009806858" "TOLL FREE CALL" "<NONE>" "s"
Oct 13 19:23:58.54: [25781]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Oct 13 19:23:58.54: [25781]: <-- [4:ATA\r]
Oct 13 19:24:02.34: [25781]: --> [7]
Oct 13 19:24:02.34: [25781]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX1'
Oct 13 19:24:02.34: [25781]: STATE CHANGE: ANSWERING -> RECEIVING
Oct 13 19:24:02.34: [25781]: RECV FAX: begin
Oct 13 19:24:02.34: [25781]: <-- HDLC<32: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>
Oct 13 19:24:02.34: [25781]: <-- data [32]
Oct 13 19:24:02.34: [25781]: <-- data [2]
Oct 13 19:24:03.44: [25781]: --> [7]
Oct 13 19:24:03.44: [25781]: <-- HDLC<23:FF C0 02 22 2A 32 04 16 C6 A6 2A F6 96 36 A6 16 82 04 04 04 04 04 04>
Oct 13 19:24:03.44: [25781]: <-- data [23]
Oct 13 19:24:03.44: [25781]: <-- data [2]
Oct 13 19:24:04.28: [25781]: --> [7]
Oct 13 19:24:04.28: [25781]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Oct 13 19:24:04.28: [25781]: <-- data [13]
Oct 13 19:24:04.28: [25781]: <-- data [2]
Oct 13 19:24:04.88: [25781]: --> [2]
Oct 13 19:24:04.88: [25781]: <-- [9:AT+FRH=3\r]
Oct 13 19:24:11.88: [25781]: --> [0:]
Oct 13 19:24:11.88: [25781]: MODEM <Empty line>
Oct 13 19:24:11.88: [25781]: MODEM TIMEOUT: waiting for v.21 carrier
Oct 13 19:24:11.88: [25781]: <-- data [1]
Oct 13 19:24:11.90: [25781]: --> [2]
Oct 13 19:24:11.90: [25781]: DELAY 1500 ms
Oct 13 19:24:13.40: [25781]: <-- [9:AT+FTH=3\r]
Oct 13 19:24:13.40: [25781]: --> [7]
Oct 13 19:24:13.40: [25781]: <-- HDLC<32: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>
Oct 13 19:24:13.40: [25781]: <-- data [32]
Oct 13 19:24:13.40: [25781]: <-- data [2]
Oct 13 19:24:15.36: [25781]: --> [7]
Oct 13 19:24:15.36: [25781]: <-- HDLC<23:FF C0 02 22 2A 32 04 16 C6 A6 2A F6 96 36 A6 16 82 04 04 04 04 04 04>
Oct 13 19:24:15.36: [25781]: <-- data [23]
Oct 13 19:24:15.36: [25781]: <-- data [2]
Oct 13 19:24:16.22: [25781]: --> [7]
Oct 13 19:24:16.23: [25781]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Oct 13 19:24:16.23: [25781]: <-- data [13]
Oct 13 19:24:16.23: [25781]: <-- data [2]
Oct 13 19:24:16.82: [25781]: --> [2]
Oct 13 19:24:16.82: [25781]: <-- [9:AT+FRH=3\r]
Oct 13 19:24:18.61: [25781]: --> [10:NO CARRIER]
Oct 13 19:24:18.61: [25781]: MODEM No carrier
Oct 13 19:24:18.61: [25781]: DELAY 1500 ms
Oct 13 19:24:20.11: [25781]: <-- [9:AT+FTH=3\r]
Oct 13 19:24:20.11: [25781]: --> [5]
Oct 13 19:24:20.11: [25781]: RECV FAX: RSPREC error/got EOT
Oct 13 19:24:20.11: [25781]: RECV FAX: end
Oct 13 19:24:20.11: [25781]: SESSION END
 

b00gz

Joined
Mar 10, 2008
Messages
7
Likes
0
Points
0
#2
My problem turned out I was getting 1 way audio. I had to create and configure sip_nat.conf with my public ip and private network information.
 

lonelife

Joined
Oct 19, 2008
Messages
11
Likes
0
Points
0
#3
i have the same problems with you
 

jgutierrez

Joined
Feb 28, 2008
Messages
5,737
Likes
0
Points
0
#4
ok, you are using a zap trunk? a sip/iax2 trunk?
 

dacos1979

Joined
Nov 1, 2007
Messages
37
Likes
0
Points
0
#5
Hello i have the same problem when I use de fax module in regular PSTN it is OK, but when I try to use the FAX over IP PROVEEDOR, it doen't work. The line canreinvite=yes and t38pt_udptl=yes it enable, but i think the problem it's the codect T38. How can I resolv this problem? tehre is a warning
--- chan_sip.c: Unsupported SDP media type in offer: image 16976 udptl t38 ---
Thank you.
 

joserbedoya

Joined
Oct 20, 2009
Messages
2
Likes
0
Points
0
#6
Hi there, I have the same problem that you posted it, you said that you solved by adding your public IP and LAN IP into the sip_nat.conf file, but I dont get the clear picture, can you help me with the exact lines that you wrote on your file.

Thanks for your help I know it was like a year ago but maybe you still remember how to do it right.

Best Regards.

Jose.
 

diadiego86

Joined
Nov 10, 2010
Messages
24
Likes
0
Points
0
#7
i have the same problems with you

can you helpme


use elastix 2.0
trunk sip
ext iax2


Please
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#8
asterisk 1.6 only supports t38 udptl passthrough and its not a codec its a protocol...for can reinvite to work you also mut have dtmfmode = info ....
 

diadiego86

Joined
Nov 10, 2010
Messages
24
Likes
0
Points
0
#9
Hi Fernando

thank you very much for your quick response

Could you please explain a little better and could receive faxes in my elastix.

I do not understand what to dtmf = info

Thank you so much

:(
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#10
Re: Re:Can't recieve incoming faxes

canreinvite direct passthrough of rtp stream needs always to have dtmf mode set to info instead of rfc2833 to work thats it...with no dtmf mode setted to info canreinvite cant work and rtp streams cannot get straight from your t38 fax hardware machine to your isp
as asterisk has no native support for t38 full specs in 1.6 version
 

diadiego86

Joined
Nov 10, 2010
Messages
24
Likes
0
Points
0
#11
Re: Re:Can't recieve incoming faxes

hola Ing Fernando

Disculpeme por escribirle en español pero lo entiendo mas

Siento no entender su respuesta bien pero no logro corregir mi error

mi troncal Sip esta asi

context=from-trunk
type=friend
dtmfmode=rfc2833
canreinvite=no
host=x.x.x.x
disallow=all
allow=gsm&ulaw&alaw&g729
qualify=yes
insecure=very

si yo cambio el dtmfmode=rfc2833 por =info no reconoce los tonos cuando marcan a una ext

cuando recibo un fax desde un externo esta es la ultima parte del log

Feb 24 08:56:56.89: [31713]: --> [10:NO CARRIER]
Feb 24 08:56:56.89: [31713]: DELAY 1500 ms
Feb 24 08:56:58.39: [31713]: <-- [9:AT+FTH=3\r]
Feb 24 08:56:58.39: [31713]: --> [5]
Feb 24 08:56:58.39: [31713]: RECV FAX: RSPREC error/got EOT
Feb 24 08:56:58.39: [31713]: RECV FAX: end
Feb 24 08:56:58.39: [31713]: SESSION END


Agradezco mucho su valiosa colaboracion
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#12
Re: Re:Can't recieve incoming faxes

es simple si tu provider no te da sip INFO en dtmf mode entonces no podes hacer el canreinvite y no es compatible T38 y no podes enviar faxes ....
deja ademas como alternativa ulaw como 1er codec y no uses & como separador porque no es mas valido el unico separador valido es la , (coma)
si tenes asterisk 1.4 ademas debes tener el t38 udptl habilitado pero de nuevo no creo que tu proveedor sea compatible en ningun concepto en t38
 

diadiego86

Joined
Nov 10, 2010
Messages
24
Likes
0
Points
0
#13
Re: Re:Can't recieve incoming faxes

error en el envio del post
caso omiso
 

diadiego86

Joined
Nov 10, 2010
Messages
24
Likes
0
Points
0
#14
Re: Re:Can't recieve incoming faxes

Ing Fernando Muchas garcias por su ayuda

me comunique con el proveedor de SIP y ellos me indican que si manejan protocolo sobre sip t38, me pidieron hacer una prueba de fax desde su central pero no se logro la recepcion. el soporte me dice que el marca al numero y a la ext y suena el tono de fax, pero que mi planta no le esta envando un invite para enpezar la trasmision, que esta debe enviar para decir que negociacion hacer.

no veo donde tengo el error si he configurado mi ext iax2 y esta enlazada con el fax virtual, desde mi equipo con jhylafax si llegan los fax al correo electronico. pero aun no logro recibilirlos desde fuera.

este ees el log del fax enviado por ellos

Feb 24 13:42:49.45: [31713]: SESSION BEGIN 000000264 05717454575
Feb 24 13:42:49.45: [31713]: HylaFAX (tm) Version 4.3.9
Feb 24 13:42:49.45: [31713]: CallID: "18063000" "18063000" "<NONE>" "s"
Feb 24 13:42:49.45: [31713]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Feb 24 13:42:49.45: [31713]: <-- [4:ATA\r]
Feb 24 13:42:53.17: [31713]: --> [7]
Feb 24 13:42:53.17: [31713]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX2'
Feb 24 13:42:53.17: [31713]: STATE CHANGE: ANSWERING -> RECEIVING
Feb 24 13:42:53.17: [31713]: RECV FAX: begin
Feb 24 13:42:53.17: [31713]: <-- HDLC<32: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 9C>
Feb 24 13:42:53.17: [31713]: <-- data [32]
Feb 24 13:42:53.17: [31713]: <-- data [2]
Feb 24 13:42:54.13: [31713]: --> [7]
Feb 24 13:42:54.13: [31713]: <-- HDLC<23:FF C0 02 96 36 86 C2 04 6A 82 04 CA 0A 92 04 1E 86 62 04 04 04 04 04>
Feb 24 13:42:54.13: [31713]: <-- data [23]
Feb 24 13:42:54.13: [31713]: <-- data [2]
Feb 24 13:42:54.87: [31713]: --> [7]
Feb 24 13:42:54.87: [31713]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Feb 24 13:42:54.87: [31713]: <-- data [13]
Feb 24 13:42:54.87: [31713]: <-- data [2]
Feb 24 13:42:55.45: [31713]: --> [2]
Feb 24 13:42:55.45: [31713]: <-- [9:AT+FRH=3\r]
Feb 24 13:43:02.46: [31713]: --> [0:]
Feb 24 13:43:02.46: [31713]: MODEM <Empty line>
Feb 24 13:43:02.46: [31713]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 24 13:43:02.46: [31713]: <-- data [1]
Feb 24 13:43:02.47: [31713]: --> [2]
Feb 24 13:43:02.47: [31713]: DELAY 1500 ms
Feb 24 13:43:03.97: [31713]: <-- [9:AT+FTH=3\r]
Feb 24 13:43:03.99: [31713]: --> [7]
Feb 24 13:43:03.99: [31713]: <-- HDLC<32: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 9C>
Feb 24 13:43:03.99: [31713]: <-- data [32]
Feb 24 13:43:03.99: [31713]: <-- data [2]
Feb 24 13:43:05.77: [31713]: --> [7]
Feb 24 13:43:05.77: [31713]: <-- HDLC<23:FF C0 02 96 36 86 C2 04 6A 82 04 CA 0A 92 04 1E 86 62 04 04 04 04 04>
Feb 24 13:43:05.77: [31713]: <-- data [23]
Feb 24 13:43:05.77: [31713]: <-- data [2]
Feb 24 13:43:06.51: [31713]: --> [7]
Feb 24 13:43:06.51: [31713]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Feb 24 13:43:06.51: [31713]: <-- data [13]
Feb 24 13:43:06.51: [31713]: <-- data [2]
Feb 24 13:43:07.09: [31713]: --> [2]
Feb 24 13:43:07.09: [31713]: <-- [9:AT+FRH=3\r]
Feb 24 13:43:14.10: [31713]: --> [0:]
Feb 24 13:43:14.10: [31713]: MODEM <Empty line>
Feb 24 13:43:14.10: [31713]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 24 13:43:14.10: [31713]: <-- data [1]
Feb 24 13:43:14.11: [31713]: --> [2]
Feb 24 13:43:14.11: [31713]: DELAY 1500 ms
Feb 24 13:43:15.61: [31713]: <-- [9:AT+FTH=3\r]
Feb 24 13:43:15.61: [31713]: --> [7]
Feb 24 13:43:15.61: [31713]: <-- HDLC<32: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 9C>
Feb 24 13:43:15.61: [31713]: <-- data [32]
Feb 24 13:43:15.61: [31713]: <-- data [2]
Feb 24 13:43:17.39: [31713]: --> [7]
Feb 24 13:43:17.39: [31713]: <-- HDLC<23:FF C0 02 96 36 86 C2 04 6A 82 04 CA 0A 92 04 1E 86 62 04 04 04 04 04>
Feb 24 13:43:17.39: [31713]: <-- data [23]
Feb 24 13:43:17.39: [31713]: <-- data [2]
Feb 24 13:43:18.13: [31713]: --> [7]
Feb 24 13:43:18.13: [31713]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Feb 24 13:43:18.13: [31713]: <-- data [13]
Feb 24 13:43:18.13: [31713]: <-- data [2]
Feb 24 13:43:18.71: [31713]: --> [2]
Feb 24 13:43:18.71: [31713]: <-- [9:AT+FRH=3\r]
Feb 24 13:43:25.72: [31713]: --> [0:]
Feb 24 13:43:25.72: [31713]: MODEM <Empty line>
Feb 24 13:43:25.72: [31713]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 24 13:43:25.72: [31713]: <-- data [1]
Feb 24 13:43:25.73: [31713]: --> [2]
Feb 24 13:43:25.73: [31713]: DELAY 1500 ms
Feb 24 13:43:27.23: [31713]: <-- [9:AT+FTH=3\r]
Feb 24 13:43:27.23: [31713]: --> [7]
Feb 24 13:43:27.23: [31713]: <-- HDLC<32: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 9C>
Feb 24 13:43:27.23: [31713]: <-- data [32]
Feb 24 13:43:27.23: [31713]: <-- data [2]
Feb 24 13:43:29.01: [31713]: --> [7]
Feb 24 13:43:29.01: [31713]: <-- HDLC<23:FF C0 02 96 36 86 C2 04 6A 82 04 CA 0A 92 04 1E 86 62 04 04 04 04 04>
Feb 24 13:43:29.01: [31713]: <-- data [23]
Feb 24 13:43:29.01: [31713]: <-- data [2]
Feb 24 13:43:29.75: [31713]: --> [7]
Feb 24 13:43:29.75: [31713]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Feb 24 13:43:29.75: [31713]: <-- data [13]
Feb 24 13:43:29.75: [31713]: <-- data [2]
Feb 24 13:43:30.33: [31713]: --> [2]
Feb 24 13:43:30.33: [31713]: <-- [9:AT+FRH=3\r]
Feb 24 13:43:37.34: [31713]: --> [0:]
Feb 24 13:43:37.34: [31713]: MODEM <Empty line>
Feb 24 13:43:37.34: [31713]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 24 13:43:37.34: [31713]: <-- data [1]
Feb 24 13:43:37.35: [31713]: --> [2]
Feb 24 13:43:37.35: [31713]: RECV FAX: No answer (T.30 T1 timeout)
Feb 24 13:43:37.35: [31713]: RECV FAX: end
Feb 24 13:43:37.35: [31713]: SESSION END



Agradezco su valioso tiempo en estas inquietudes Ing
 

diadiego86

Joined
Nov 10, 2010
Messages
24
Likes
0
Points
0
#15
Re: Re:Can't recieve incoming faxes

error en el envio del post
caso omiso
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#16
Re: Re:Can't recieve incoming faxes

porque no tenes t38 vos!!!! a ver porfa ...que te dije...que version tenes seguro una 1.4 que no soporta t38!!!!! y 2ndo el hyla +iaxmodem es t30 o sea fax comun jamas te va a fucnionar con t38 el t38 solo funciona en asterisk 1.6 y 1.8 y con la app_fax de digium no con hyla e iax modem o con un hardware que soporte t38 nativo
 

diadiego86

Joined
Nov 10, 2010
Messages
24
Likes
0
Points
0
#17
Re: Re:Can't recieve incoming faxes

Ing Fernando

Mi version de elastix es 2.0

asterisk 1.6


Gracias
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#18
Re: Re:Can't recieve incoming faxes

por eso de nuevo no tenes t38!!! asterisk 1.6 solo soporta t38 en su canal de app fax nativo de digium el cual es pago o con 1 solo canal si te registras y lo compilas a mano
con hyla nunca te va a funcionar porque no es t38 es t30 fax comun
te quedan 2 caminos
1, comprar un gateway ata FXS con t38 como el cisco papt2 o un ht502 de grandstream a un fax comun o meter el app_fax de digium con soporte de t38
 

diadiego86

Joined
Nov 10, 2010
Messages
24
Likes
0
Points
0
#19
Re: Re:Can't recieve incoming faxes

Muchas Gracias Ing Fernando

Podria por ultimo indicarme donde puedo documentarme mas, acerca de instalar el app_fax de digium, la verdad he estado buscando pero nada con ayuda.


Gracias por su tiempo
 

fmvillares

Joined
Sep 8, 2007
Messages
1,785
Likes
0
Points
0
#20

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,902
Messages
130,886
Members
17,564
Latest member
Mai Tuyen
Top