[asterisk-dev] [T.38 gateway] [irroot t38gateway-1.8 branch] I can receive faxes with t38 gateway, but send fails

Niccolò Belli darkbasic at linuxsystems.it
Fri Apr 13 16:44:58 CDT 2012


With 10.4.0-rc1 it does work. Here is the console output when I try to 
send a fax with 10.4.0-rc1:

     -- SIP/eutelia-00000001 is making progress passing it to DAHDI/11-1
     -- SIP/eutelia-00000001 answered DAHDI/11-1
     -- Channel 11 echo canceler disabled its NLP.
     -- Channel 11 detected a CED tone towards the network.
   == Using UDPTL CoS mark 5
[Apr 13 22:55:51] WARNING[1295]: chan_sip.c:8910 
get_ip_and_port_from_sdp: Failed to read an alternate host or port in 
SDP. Expect audio problems
[Apr 13 22:55:51] WARNING[1295]: chan_sip.c:22986 handle_request_invite: 
Failed to set an alternate media source on glared reinvite. Audio may 
not work properly on this call.
[Apr 13 22:55:51] WARNING[1295]: chan_sip.c:20987 
handle_response_invite: just did sched_add waitid(62) for 
sip_reinvite_retry for dialog 
480eb0ad292925ed000a47a65607f6bd@<my_ip>:5060 in handle_response_invite
[Apr 13 22:55:51] ERROR[1326]: astobj2.c:110 INTERNAL_OBJ: user_data is NULL
[Apr 13 22:55:51] WARNING[1326]: channel.c:5010 ast_write: Codec 
mismatch on channel DAHDI/11-1 setting write format to slin from alaw 
native formats (alaw)
[Apr 13 22:55:54] WARNING[1326]: channel.c:5010 ast_write: Codec 
mismatch on channel DAHDI/11-1 setting write format to slin from alaw 
native formats (alaw)
   == Spawn extension (faxes, <number>, 2) exited non-zero on 'DAHDI/11-1'
     -- Hanging up on 'DAHDI/11-1'
     -- Hungup 'DAHDI/11-1'





This is the log with 1.8.11:

     -- SIP/eutelia-00000001 is making progress passing it to DAHDI/11-1
     -- SIP/eutelia-00000001 answered DAHDI/11-1
     -- Channel 11 echo canceler disabled its NLP.
     -- Channel 11 detected a CED tone towards the network.
[Apr 13 23:40:49] NOTICE[1572]: channel.c:4152 __ast_read: Dropping 
incompatible voice frame on SIP/eutelia-00000001 of format slin since 
our native format has changed to 0x8 (alaw)
   == Using UDPTL CoS mark 5
[Apr 13 23:40:50] ERROR[1572]: astobj2.c:110 INTERNAL_OBJ: user_data is NULL
[Apr 13 23:40:50] WARNING[1572]: channel.c:4913 ast_write: Codec 
mismatch on channel DAHDI/11-1 setting write format to slin from alaw 
native formats 0x8 (alaw)
   == Spawn extension (faxes, <number>, 2) exited non-zero on 'DAHDI/11-1'
     -- Hanging up on 'DAHDI/11-1'
     -- Hungup 'DAHDI/11-1'





Is it possible to backport a fix to 1.8 irroot's branch? I'd like to use 
T.38 gateway in production...

Thanks,
Niccolò





Il 12/04/2012 21:23, Niccolò Belli ha scritto:
> Hi,
> I had the very same problem with some earlier t38 gw patches and it
> isn't still fixed in current irroot's t38gateway-1.8 branch.
>
> I can receive faxes without problems, but I didn't succeed to send a
> single page: every time it fails before even starting to send something.
> My provider is Eutelia but I had the very same problems with another
> provider.
>
> sip.conf:
> [general]
> t38pt_udptl=yes,redundancy,maxdatagram=400
> [...]
>
> [eutelia]
> [...]
> t38pt_udptl=yes,fec,maxdatagram=400
> setvar=FAXOPT(gateway)=yes
>
> extensions.conf:
> [faxes]
> exten => <number>,1,Set(FAXOPT(gateway)=yes)
> same => n,Dial(SIP/eutelia/${EXTEN},${DIALTIME})
> same => n,Hangup()
>
> [eutelia-in]
> exten => <number>,1,Answer()
> same => n,Wait(2)
> [...]
> same => n,Hangup()
>
> exten => fax,1,Dial(DAHDI/11,${DIALTIME})
> same => n,Hangup()
>
> Here are the logs (with and without sip debug) and pcap dumps when I
> receive and when I send a fax with t38 gateway:
> http://files.linuxsystems.it/temp/2012-04/t38/
>
> P.S.
> I just noticed I have redundancy in [general]'s t38pt_udptl and fec in
> [eutelia]'s, but since I had the very same problem with previous patches
> (and I tried every kind of t38pt_udptl in the past) I don't think this
> is the problem.
>
> Cheers,
> Niccolò
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list