[asterisk-users] asterisk t.38 fax failed

Kokfoo Soo kfsoo01 at yahoo.com
Wed Sep 6 09:41:59 MST 2006


Ricardo,

I found compilation error below, any thought?

chan_sip.c:3895: error: `UDPTL_ERROR_CORRECTION_REDUNDANCY' undeclared (first use in this function)
chan_sip.c:3898: error: `UDPTL_ERROR_CORRECTION_FEC' undeclared (first use in this function)
chan_sip.c:3901: error: `UDPTL_ERROR_CORRECTION_NONE' undeclared (first use in this function)
chan_sip.c: In function `add_t38_sdp':
chan_sip.c:4728: warning: implicit declaration of function `ast_udptl_get_us'
chan_sip.c:4772: warning: implicit declaration of function `ast_udptl_get_local_max_datagram'
chan_sip.c: In function `transmit_response_with_t38_sdp':
chan_sip.c:5044: warning: implicit declaration of function `ast_udptl_offered_from_local'
chan_sip.c: In function `handle_response':
chan_sip.c:10516: warning: implicit declaration of function `ast_udptl_stop'
chan_sip.c: In function `sip_set_udptl_peer':
chan_sip.c:13488: warning: implicit declaration of function `ast_udptl_get_peer'
chan_sip.c: At top level:
chan_sip.c:13821: error: variable `sip_udptl' has initializer but incomplete type
chan_sip.c:13822: error: unknown field `type' specified in initializer
chan_sip.c:13822: warning: excess elements in struct initializer
chan_sip.c:13822: warning: (near initialization for `sip_udptl')
chan_sip.c:13823: error: unknown field `get_udptl_info' specified in initializer
chan_sip.c:13823: warning: excess elements in struct initializer
chan_sip.c:13823: warning: (near initialization for `sip_udptl')
chan_sip.c:13824: error: unknown field `set_udptl_peer' specified in initializer
chan_sip.c:13824: warning: excess elements in struct initializer
chan_sip.c:13824: warning: (near initialization for `sip_udptl')
chan_sip.c: In function `load_module':
chan_sip.c:13986: warning: implicit declaration of function `ast_udptl_proto_register'
chan_sip.c: In function `unload_module':
chan_sip.c:14038: warning: implicit declaration of function `ast_udptl_proto_unregister'
chan_sip.c: At top level:
chan_sip.c:13821: error: storage size of `sip_udptl' isn't known
make[1]: *** [chan_sip.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-1.2.4/channels'
make: *** [subdirs] Error 1


Ricardo Carvalho <rcarvalho at iric.up.pt> wrote: In sip.conf add to [general] context and to every peer context that you 
want to register in Asterisk to use T.38 the following lines:
t38pt_udptl=yes
t38pt_rtp=no
t38pt_tcp=no

In udptl.conf file I have the following configurations:
[general]
udptlstart=4000
udptlend=4999
T38FaxUdpEC = t38UDPRedundancy
T38FaxMaxDatagram = 400
udptlfecentries = 3
udptlfecspan = 3


Good luck,

Ricardo.








Kokfoo Soo wrote:
> Ricardo,
> Thanks, could you please share some of your t.38 passthrough 
> configuration in sip.conf and also udptl.conf?
>
> Thanks,
>
> */Ricardo Carvalho /* wrote:
>
>     No, T.38 doesn't work with Asterisk. Only works with Asterisk
>     t38passthrough patch that you can find at URL:
>     http://bugs.digium.com/file_download.php?file_id=9335&type=bug
>     For me it only worked well with patch for version 1.2.4 of Asterisk.
>
>     Regards,
>
>     Ricardo.
>
>
>
>
>
>
>     Kokfoo Soo wrote:
>     > Is T.38 fax work through Asterisk? I have the config below in my
>     > sip.conf, but the fax doesn't work and give me the CLI lines
>     below. My
>     > current version is 1.2.10. Please help.
>     >
>     > [Inboundtopbx]
>     > type=friend
>     > context=pbx
>     > host=10.18.188.84
>     > insecure=port
>     > dtmfmode=rfc2833
>     > canreinvite=no
>     > disallow=all
>     > allow=g729
>     > allow=ulaw
>     > t38pt_udptl=yes
>     > t38pt_rtp=no
>     > t38pt_tcp=no
>     >
>     > [OutboundfromPBX]
>     > type=peer
>     > host=10.18.161.222
>     > canreinvite=no
>     > dtmfmode=rfc2833
>     > disallow=all
>     > allow=g729
>     > qualify=yes
>     > t38pt_udptl=yes
>     > t38pt_rtp=no
>     > t38pt_tcp=no
>     >
>     > <-- SIP read from 10.18.188.84:50096:
>     > ACK sip:17815057304 at 10.18.161.237:5060 SIP/2.0
>     > Via: SIP/2.0/UDP 10.18.188.84:5060
>     > From: ;tag=19D429E8-2084
>     > To: ;tag=as3c87a22e
>     > Date: Tue, 05 Sep 2006 19:42:28 GMT
>     > Call-ID: 7F23A1F9-3C4D11DB-A303B82B-9F58A83F at 10.18.188.84
>     > Max-Forwards: 6
>     > Content-Length: 0
>     > CSeq: 101 ACK
>     >
>     >
>     > --- (9 headers 0 lines)---
>     > Sep 5 15:30:31 NOTICE[25233]: rtp.c:564 ast_rtp_read: Unknown RTP
>     > codec 100 received
>     > Sep 5 15:30:32 NOTICE[25233]: rtp.c:564 ast_rtp_read: Unknown RTP
>     > codec 100 received
>     > Sep 5 15:30:32 NOTICE[25233]: rtp.c:564 ast_rtp_read: Unknown RTP
>     > codec 100 received
>     > Sep 5 15:30:32 NOTICE[25233]: rtp.c:564 ast_rtp_read: Unknown RTP
>     > codec 100 received
>     > Sep 5 15:30:34 WARNING[6839]: chan_sip.c:3475 process_sdp: Unknown
>     > SDP media type in offer: image 16406 udptl t38
>     >
>     >
>     ------------------------------------------------------------------------
>     > Yahoo! Messenger with Voice. Make PC-to-Phone Calls
>     >
>     > to the US (and 30+ countries) for 2¢/min or less.
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > --Bandwidth and Colocation provided by Easynews.com --
>     >
>     > asterisk-users mailing list
>     > To UNSUBSCRIBE or update options visit:
>     > http://lists.digium.com/mailman/listinfo/asterisk-users
>     >
>
>     _______________________________________________
>     --Bandwidth and Colocation provided by Easynews.com --
>
>     asterisk-users mailing list
>     To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> ------------------------------------------------------------------------
> How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call 
> rates. 
>  
>
>
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>  

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060906/7ecbf1be/attachment.htm


More information about the asterisk-users mailing list