[asterisk-users] Sending faxes with T.38 problem. Asterisk - 1.6.0.6

Santiago Gimeno santiago.gimeno at gmail.com
Tue Mar 10 09:27:53 CDT 2009


Hello,

I'm having difficulties to make Asterisk (1.6.0.6) interoperate correctly
with a CISCO mediaGW in order to send faxes to the PSTN using T.38.

When Asterisk sends the initial INVITE containing the T.38 media offer in
the SDP, the CISCO answers with a 488 Not Acceptable Media.
Apparently, it looks like a configuration problem in the CISCO, but I have
tested the CISCO with the Zoiper client and it successfully sends faxes. The
only difference I have noticed between the Asterisk and Zoiper is that
whereas the Asterisk sends the T.38 SDP information in the initial INVITE,
Zoiper establishes a voice call first and then re-negotiates(with a
re-INVITE) the session in order to send the T.38 media.
Is it possible to make Asterisk work like this? or is this a problem in the
configuration of the CISCO? Any ideas?

Thanks in advance.

Regards,

Santi


**The call-file I'm using is:

Channel: SIP/080999999999 at outbound-calls
MaxRetries: 3
WaitTime: 30
Set: LOCALSTATIONID=22222
Set: LOCALHEADERINFO=T38 fax
Set: T38CALL=1
Set: T38TXDETECT=yes
CallerID: 22222
Context: fax-out
Extension: 22222
priority:1


My sip.conf file is:

sip.conf
[general]
bindport=5060                   ; UDP Port to bind to (SIP standard port is
5060)
bindaddr=192.168.222.160        ; IP address to bind to (0.0.0.0 binds to
all)
domain=192.168.222.160          ; Add IP address as local domain

t38pt_udptl=yes

[outbound-calls]
type=friend
context=openser
allow=all
;dtmfmode=info
host=10.100.222.201
insecure=very
canreinvite=no
pedantic=no
call-limit=10

The extensions.conf file

[fax-out]
exten =>s,1,Set(FAXFILE=/root/santi/fax/prueba.tif)
exten =>s,n,SipDTMFMode(inband)
exten =>s,n,SendFax(${FAXFILE})
exten =>s,n,Hangup


The SIP trace is:


INVITE sip:0809999999 at 10.100.222.201 <sip%3A0809999999 at 10.100.222.201>SIP/2.0
Via: SIP/2.0/UDP 192.168.222.160:5060;branch=z9hG4bK306b777c;rport
Max-Forwards: 70
From: "22222" <sip:22222 at 192.168.222.160 <sip%3A22222 at 192.168.222.160>
>;tag=as43e12927
To: <sip:0809999999 at 10.100.222.201 <sip%3A0809999999 at 10.100.222.201>>
Contact: <sip:22222 at 192.168.222.160 <sip%3A22222 at 192.168.222.160>>
Call-ID: 4f9fb8387458a3c6205e2c4467e48ad2 at 192.168.222.160
CSeq: 102 INVITE
User-Agent: Asterisk PBX 1.6.0.6
Date: Tue, 10 Mar 2009 11:29:44 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 290

v=0
o=root 525135648 525135648 IN IP4 192.168.222.160
s=Asterisk PBX 1.6.0.6
c=IN IP4 192.168.222.160
t=0 0
m=image 4222 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:400
a=T38FaxMaxDatagram:400
a=T38FaxUdpEC:t38UDPFEC

#
U +0.015757 10.100.222.201:5060 -> 192.168.222.160:5060
SIP/2.0 488 Not Acceptable Media
Reason: Q.850;cause=65
Date: Tue, 10 Mar 2009 11:29:18 GMT
From: "22222" <sip:22222 at 192.168.222.160 <sip%3A22222 at 192.168.222.160>
>;tag=as43e12927
Allow-Events: telephone-event
Content-Length: 0
To: <sip:0809999999 at 10.100.222.201 <sip%3A0809999999 at 10.100.222.201>
>;tag=417D2718-582
Call-ID: 4f9fb8387458a3c6205e2c4467e48ad2 at 192.168.222.160
Via: SIP/2.0/UDP 192.168.222.160:5060;branch=z9hG4bK306b777c;rport
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 102 INVITE


#
U +0.000164 192.168.222.160:5060 -> 10.100.222.201:5060
ACK sip:0809999999 at 10.100.222.201 <sip%3A0809999999 at 10.100.222.201> SIP/2.0
Via: SIP/2.0/UDP 192.168.222.160:5060;branch=z9hG4bK306b777c;rport
Max-Forwards: 70
From: "22222" <sip:22222 at 192.168.222.160 <sip%3A22222 at 192.168.222.160>
>;tag=as43e12927
To: <sip:0809999999 at 10.100.222.201 <sip%3A0809999999 at 10.100.222.201>
>;tag=417D2718-582
Contact: <sip:22222 at 192.168.222.160 <sip%3A22222 at 192.168.222.160>>
Call-ID: 4f9fb8387458a3c6205e2c4467e48ad2 at 192.168.222.160
CSeq: 102 ACK
User-Agent: Asterisk PBX 1.6.0.6
Content-Length: 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090310/2ff53883/attachment.htm 


More information about the asterisk-users mailing list