Ricardo,<br><br>I found compilation error below, any thought?<br><br>chan_sip.c:3895: error: `UDPTL_ERROR_CORRECTION_REDUNDANCY' undeclared (first use in this function)<br>chan_sip.c:3898: error: `UDPTL_ERROR_CORRECTION_FEC' undeclared (first use in this function)<br>chan_sip.c:3901: error: `UDPTL_ERROR_CORRECTION_NONE' undeclared (first use in this function)<br>chan_sip.c: In function `add_t38_sdp':<br>chan_sip.c:4728: warning: implicit declaration of function `ast_udptl_get_us'<br>chan_sip.c:4772: warning: implicit declaration of function `ast_udptl_get_local_max_datagram'<br>chan_sip.c: In function `transmit_response_with_t38_sdp':<br>chan_sip.c:5044: warning: implicit declaration of function `ast_udptl_offered_from_local'<br>chan_sip.c: In function `handle_response':<br>chan_sip.c:10516: warning: implicit declaration of function `ast_udptl_stop'<br>chan_sip.c: In function `sip_set_udptl_peer':<br>chan_sip.c:13488: warning: implicit declaration of function
`ast_udptl_get_peer'<br>chan_sip.c: At top level:<br>chan_sip.c:13821: error: variable `sip_udptl' has initializer but incomplete type<br>chan_sip.c:13822: error: unknown field `type' specified in initializer<br>chan_sip.c:13822: warning: excess elements in struct initializer<br>chan_sip.c:13822: warning: (near initialization for `sip_udptl')<br>chan_sip.c:13823: error: unknown field `get_udptl_info' specified in initializer<br>chan_sip.c:13823: warning: excess elements in struct initializer<br>chan_sip.c:13823: warning: (near initialization for `sip_udptl')<br>chan_sip.c:13824: error: unknown field `set_udptl_peer' specified in initializer<br>chan_sip.c:13824: warning: excess elements in struct initializer<br>chan_sip.c:13824: warning: (near initialization for `sip_udptl')<br>chan_sip.c: In function `load_module':<br>chan_sip.c:13986: warning: implicit declaration of function `ast_udptl_proto_register'<br>chan_sip.c: In function `unload_module':<br>chan_sip.c:14038:
warning: implicit declaration of function `ast_udptl_proto_unregister'<br>chan_sip.c: At top level:<br>chan_sip.c:13821: error: storage size of `sip_udptl' isn't known<br>make[1]: *** [chan_sip.o] Error 1<br>make[1]: Leaving directory `/usr/src/asterisk-1.2.4/channels'<br>make: *** [subdirs] Error 1<br><br><br><b><i>Ricardo Carvalho <rcarvalho@iric.up.pt></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> In sip.conf add to [general] context and to every peer context that you <br>want to register in Asterisk to use T.38 the following lines:<br>t38pt_udptl=yes<br>t38pt_rtp=no<br>t38pt_tcp=no<br><br>In udptl.conf file I have the following configurations:<br>[general]<br>udptlstart=4000<br>udptlend=4999<br>T38FaxUdpEC = t38UDPRedundancy<br>T38FaxMaxDatagram = 400<br>udptlfecentries = 3<br>udptlfecspan = 3<br><br><br>Good luck,<br><br>Ricardo.<br><br><br><br><br><br><br><br><br>Kokfoo Soo
wrote:<br>> Ricardo,<br>> Thanks, could you please share some of your t.38 passthrough <br>> configuration in sip.conf and also udptl.conf?<br>><br>> Thanks,<br>><br>> */Ricardo Carvalho <rcarvalho@iric.up.pt>/* wrote:<br>><br>> No, T.38 doesn't work with Asterisk. Only works with Asterisk<br>> t38passthrough patch that you can find at URL:<br>> http://bugs.digium.com/file_download.php?file_id=9335&type=bug<br>> For me it only worked well with patch for version 1.2.4 of Asterisk.<br>><br>> Regards,<br>><br>> Ricardo.<br>><br>><br>><br>><br>><br>><br>> Kokfoo Soo wrote:<br>> > Is T.38 fax work through Asterisk? I have the config below in my<br>> > sip.conf, but the fax doesn't work and give me the CLI lines<br>> below. My<br>> > current version is 1.2.10. Please help.<br>> ><br>> > [Inboundtopbx]<br>> >
type=friend<br>> > context=pbx<br>> > host=10.18.188.84<br>> > insecure=port<br>> > dtmfmode=rfc2833<br>> > canreinvite=no<br>> > disallow=all<br>> > allow=g729<br>> > allow=ulaw<br>> > t38pt_udptl=yes<br>> > t38pt_rtp=no<br>> > t38pt_tcp=no<br>> ><br>> > [OutboundfromPBX]<br>> > type=peer<br>> > host=10.18.161.222<br>> > canreinvite=no<br>> > dtmfmode=rfc2833<br>> > disallow=all<br>> > allow=g729<br>> > qualify=yes<br>> > t38pt_udptl=yes<br>> > t38pt_rtp=no<br>> > t38pt_tcp=no<br>> ><br>> > <-- SIP read from 10.18.188.84:50096:<br>> > ACK sip:17815057304@10.18.161.237:5060 SIP/2.0<br>> > Via: SIP/2.0/UDP 10.18.188.84:5060<br>> > From: ;tag=19D429E8-2084<br>> > To:
;tag=as3c87a22e<br>> > Date: Tue, 05 Sep 2006 19:42:28 GMT<br>> > Call-ID: 7F23A1F9-3C4D11DB-A303B82B-9F58A83F@10.18.188.84<br>> > Max-Forwards: 6<br>> > Content-Length: 0<br>> > CSeq: 101 ACK<br>> ><br>> ><br>> > --- (9 headers 0 lines)---<br>> > Sep 5 15:30:31 NOTICE[25233]: rtp.c:564 ast_rtp_read: Unknown RTP<br>> > codec 100 received<br>> > Sep 5 15:30:32 NOTICE[25233]: rtp.c:564 ast_rtp_read: Unknown RTP<br>> > codec 100 received<br>> > Sep 5 15:30:32 NOTICE[25233]: rtp.c:564 ast_rtp_read: Unknown RTP<br>> > codec 100 received<br>> > Sep 5 15:30:32 NOTICE[25233]: rtp.c:564 ast_rtp_read: Unknown RTP<br>> > codec 100 received<br>> > Sep 5 15:30:34 WARNING[6839]: chan_sip.c:3475 process_sdp: Unknown<br>> > SDP media type in offer: image 16406 udptl t38<br>> ><br>> ><br>>
------------------------------------------------------------------------<br>> > Yahoo! Messenger with Voice. Make PC-to-Phone Calls<br>> ><br>> > to the US (and 30+ countries) for 2¢/min or less.<br>> ><br>> ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > --Bandwidth and Colocation provided by Easynews.com --<br>> ><br>> > asterisk-users mailing list<br>> > To UNSUBSCRIBE or update options visit:<br>> > http://lists.digium.com/mailman/listinfo/asterisk-users<br>> ><br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by Easynews.com --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>>
http://lists.digium.com/mailman/listinfo/asterisk-users<br>><br>><br>> ------------------------------------------------------------------------<br>> How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call <br>> rates. <br>> <http: //us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt="39663/*http://voice.yahoo.com"> <br>><br>><br>> <http: //us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt="39663/*http://voice.yahoo.com"><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by Easynews.com --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>> <http:
//us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt="39663/*http://voice.yahoo.com"><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by Easynews.com --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> http://lists.digium.com/mailman/listinfo/asterisk-users<br></http:></http:></http:></rcarvalho@iric.up.pt></blockquote><br><p> 
                <hr size=1>Yahoo! Messenger with Voice. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com">Make PC-to-Phone Calls</a> to the US (and 30+ countries) for 2¢/min or less.