SIP/2.0 400 Bad Request error on T.38 Negotiation

Community-based Support for users of Free Fax For Asterisk

SIP/2.0 400 Bad Request error on T.38 Negotiation

Postby hai2k » Wed Oct 28, 2009 6:42 pm

I have an issue with T.38 negotiation. Can someone please shed some light on this?

> Channel SIP/sip.broadvoice.com-088e4870 was answered.
-- Executing [16103004048@fax-tx:1] NoOp("SIP/sip.broadvoice.com-088e4870", "**** SENDING FAX ****") in new stack
-- Executing [16103004048@fax-tx:2] Wait("SIP/sip.broadvoice.com-088e4870", "1") in new stack
-- Executing [16103004048@fax-tx:3] Set("SIP/sip.broadvoice.com-088e4870", "FAXFILE=/tmp/test.tif") in new stack
-- Executing [16103004048@fax-tx:4] NoOp("SIP/sip.broadvoice.com-088e4870", "**** SETTING FAXOPT ****") in new stack
-- Executing [16103004048@fax-tx:5] Set("SIP/sip.broadvoice.com-088e4870", "FAXOPT(ecm)=yes") in new stack
-- Executing [16103004048@fax-tx:6] Set("SIP/sip.broadvoice.com-088e4870", "FAXOPT(headerinfo)=Fax from at was received.") in new stack
-- Executing [16103004048@fax-tx:7] Set("SIP/sip.broadvoice.com-088e4870", "FAXOPT(localstationid)=234567890") in new stack
-- Executing [16103004048@fax-tx:8] Set("SIP/sip.broadvoice.com-088e4870", "FAXOPT(maxrate)=9600") in new stack
-- Executing [16103004048@fax-tx:9] Set("SIP/sip.broadvoice.com-088e4870", "FAXOPT(minrate)=9600") in new stack
-- Executing [16103004048@fax-tx:10] NoOp("SIP/sip.broadvoice.com-088e4870", "**** SENDING FAX : /tmp/test.tif ****") in new stack
-- Executing [16103004048@fax-tx:11] SendFAX("SIP/sip.broadvoice.com-088e4870", "/tmp/test.tif,dz") in new stack
-- Channel 'SIP/sip.broadvoice.com-088e4870' sending fax '/tmp/test.tif'
set_destination: Parsing <sip:16103004048@147.135.32.221> for address/port to send to
set_destination: set destination to 147.135.32.221, port 5060
Reliably Transmitting (no NAT) to 147.135.32.221:5060:
INVITE sip:16103004048@147.135.32.221 SIP/2.0
Via: SIP/2.0/UDP 10.86.2.102:5060;branch=z9hG4bK67b37f6c;rport
Max-Forwards: 70
From: "asterisk" <sip:2142421783@sip.broadvoice.com>;tag=as5f6e7997
To: <sip:16103004048@sip.broadvoice.com>;tag=wxyz
Contact: <sip:2142421783@10.86.2.102>
Call-ID: 6c2e464b614c1a1c6255972906f5d7aa@sip.broadvoice.com
CSeq: 104 INVITE
User-Agent: Asterisk PBX 1.6.1.2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
X-asterisk-Info: SIP re-invite (External RTP bridge)
Content-Type: application/sdp
Content-Length: 278

v=0
o=root 499257109 499257111 IN IP4 10.86.2.102
s=Asterisk PBX 1.6.1.2
c=IN IP4 10.86.2.102
t=0 0
m=image 4985 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:9600
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:0
a=T38FaxMaxDatagram:0
a=T38FaxUdpEC:t38UDPFEC

---
[Oct 28 17:58:35] NOTICE[25094]: res_fax.c:680 generic_fax_exec: Negotiating T.38 for send on SIP/sip.broadvoice.com-088e4870
ccs1020platform*CLI>
<--- SIP read from UDP://147.135.32.221:5060 --->
SIP/2.0 400 Bad Request
Call-ID: 6c2e464b614c1a1c6255972906f5d7aa@sip.broadvoice.com
CSeq: 104 INVITE
From: "asterisk" <sip:2142421783@sip.broadvoice.com>;tag=as5f6e7997
To: <sip:16103004048@sip.broadvoice.com>;tag=wxyz
Via: SIP/2.0/UDP 10.86.2.102:5060;branch=z9hG4bK67b37f6c;received=209.253.165.2;rport=55708
Content-Length: 0


<------------->
--- (7 headers 0 lines) ---
-- Got SIP response 400 "Bad Request" back from 147.135.32.221
set_destination: Parsing <sip:16103004048@147.135.32.221> for address/port to send to
set_destination: set destination to 147.135.32.221, port 5060
Transmitting (no NAT) to 147.135.32.221:5060:
ACK sip:16103004048@147.135.32.221 SIP/2.0
Via: SIP/2.0/UDP 10.86.2.102:5060;branch=z9hG4bK67b37f6c;rport
Max-Forwards: 70
From: "asterisk" <sip:2142421783@sip.broadvoice.com>;tag=as5f6e7997
To: <sip:16103004048@sip.broadvoice.com>;tag=wxyz
Contact: <sip:2142421783@10.86.2.102>
Call-ID: 6c2e464b614c1a1c6255972906f5d7aa@sip.broadvoice.com
CSeq: 104 ACK
User-Agent: Asterisk PBX 1.6.1.2
Content-Length: 0


---
ccs1020platform*CLI>
<--- SIP read from UDP://147.135.32.221:5060 --->
INVITE sip:2142421783@sip.broadvoice.com:5060 SIP/2.0
Call-ID: 6c2e464b614c1a1c6255972906f5d7aa@sip.broadvoice.com
CSeq: 1 INVITE
From: <sip:16103004048@sip.broadvoice.com>;tag=wxyz
To: "asterisk" <sip:2142421783@sip.broadvoice.com>;tag=as5f6e7997
Via: SIP/2.0/UDP 147.135.32.221:5060
Contact: <sip:16103004048@147.135.32.221>
Supported: 100rel
Content-Length: 295
Content-Type: application/sdp

v=0
o=2475106551 10 11 IN IP4 147.135.32.247
s=-
c=IN IP4 147.135.32.247
t=0 0
m=image 36652 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:200
a=T38FaxMaxDatagram:316
a=T38FaxUdpEC:t38UDPRedundancy
a=T38FaxUdpEC:t38UDPFEC

<------------->
--- (10 headers 13 lines) ---
Sending to 147.135.32.221 : 5060 (no NAT)
Got T.38 offer in SDP in dialog 6c2e464b614c1a1c6255972906f5d7aa@sip.broadvoice.com
Got T.38 Re-invite without audio. Keeping RTP active during T.38 session. Callid 6c2e464b614c1a1c6255972906f5d7aa@sip.broadvoice.com
Capabilities: us - 0x4 (ulaw), peer - audio=0x0 (nothing)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0x0 (nothing)
Non-codec capabilities (dtmf): us - 0x0 (nothing), peer - 0x0 (nothing), combined - 0x0 (nothing)

<--- Transmitting (no NAT) to 147.135.32.221:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 147.135.32.221:5060;received=147.135.32.221
From: <sip:16103004048@sip.broadvoice.com>;tag=wxyz
To: "asterisk" <sip:2142421783@sip.broadvoice.com>;tag=as5f6e7997
Call-ID: 6c2e464b614c1a1c6255972906f5d7aa@sip.broadvoice.com
CSeq: 1 INVITE
Server: Asterisk PBX 1.6.1.2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Contact: <sip:2142421783@10.86.2.102>
Content-Length: 0


<------------>
[Oct 28 17:58:35] ERROR[25094]: res_fax.c:718 generic_fax_exec: channel 'SIP/sip.broadvoice.com-088e4870' failed to negotiate T.38
-- Channel 'SIP/sip.broadvoice.com-088e4870' fax session '0' started
-- Channel 'SIP/sip.broadvoice.com-088e4870' fax session '0', [ 000.001900 ], STAT_EVT_STRT_TX st: IDLE rt: IDLENSTX
-- Channel 'SIP/sip.broadvoice.com-088e4870' fax session '0', [ 000.001997 ], STAT_EVT_TX_HW_RDY st: WT_TX_HW_RDY rt: TRDYNHTY
ccs1020platform*CLI>
Really destroying SIP dialog '39a6c2b30561c8ce3cd2cf2c741456d5@sip.broadvoice.com' Method: REGISTER
Retransmitting #4 (no NAT) to 147.135.32.221:5060:
REGISTER sip:sip.broadvoice.com SIP/2.0
Via: SIP/2.0/UDP 10.86.2.102:5060;branch=z9hG4bK38b265ab;rport
Max-Forwards: 70
From: <sip:2142421783@sip.broadvoice.com>;tag=as3ac8fda2
To: <sip:2142421783@sip.broadvoice.com>
Call-ID: 39a6c2b30561c8ce3cd2cf2c741456d5@sip.broadvoice.com
CSeq: 103 REGISTER
User-Agent: Asterisk PBX 1.6.1.2
Expires: 120
Contact: <sip:3011@10.86.2.102>
Content-Length: 0


---
ccs1020platform*CLI>
<--- SIP read from UDP://147.135.32.221:5060 --->
SIP/2.0 200 OK
Call-ID: 39a6c2b30561c8ce3cd2cf2c741456d5@sip.broadvoice.com
CSeq: 103 REGISTER
From: <sip:2142421783@sip.broadvoice.com>;tag=as3ac8fda2
To: <sip:2142421783@sip.broadvoice.com>
Via: SIP/2.0/UDP 10.86.2.102:5060;branch=z9hG4bK38b265ab;received=209.253.165.2;rport=55708
Contact: <sip:3011@10.86.2.102>
Expires: 30
Content-Length: 0


<------------->
--- (9 headers 0 lines) ---
Scheduling destruction of SIP dialog '39a6c2b30561c8ce3cd2cf2c741456d5@sip.broadvoice.com' in 32000 ms (Method: REGISTER)
[Oct 28 17:58:36] NOTICE[25022]: chan_sip.c:16397 handle_response_register: Outbound Registration: Expiry for sip.broadvoice.com is 30 sec (Scheduling reregistration in 23 s)
ccs1020platform*CLI>
<--- Reliably Transmitting (no NAT) to 147.135.32.221:5060 --->
SIP/2.0 488 Not acceptable here
Via: SIP/2.0/UDP 147.135.32.221:5060;received=147.135.32.221
From: <sip:16103004048@sip.broadvoice.com>;tag=wxyz
To: "asterisk" <sip:2142421783@sip.broadvoice.com>;tag=as5f6e7997
Call-ID: 6c2e464b614c1a1c6255972906f5d7aa@sip.broadvoice.com
CSeq: 1 INVITE
Server: Asterisk PBX 1.6.1.2
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces, timer
Content-Length: 0
X-Asterisk-HangupCause: Normal Clearing
X-Asterisk-HangupCauseCode: 16


<------------>
ccs1020platform*CLI>
<--- SIP read from UDP://147.135.32.221:5060 --->
ACK sip:2142421783@sip.broadvoice.com:5060 SIP/2.0
Call-ID: 6c2e464b614c1a1c6255972906f5d7aa@sip.broadvoice.com
CSeq: 1 ACK
From: <sip:16103004048@sip.broadvoice.com>;tag=wxyz
To: "asterisk" <sip:2142421783@sip.broadvoice.com>;tag=as5f6e7997
Via: SIP/2.0/UDP 147.135.32.221:5060
Content-Length: 0


<------------->
--- (7 headers 0 lines) ---
-- Executing [16103004048@fax-tx:12] NoOp("SIP/sip.broadvoice.com-088e4870", "**** DONE SENDING FAX ****") in new stack
-- Auto fallthrough, channel 'SIP/sip.broadvoice.com-088e4870' status is 'UNKNOWN'
[Oct 28 17:58:45] NOTICE[25094]: pbx_spool.c:348 attempt_thread: Call completed to SIP/16103004048@sip.broadvoice.com
Really destroying SIP dialog '6c2e464b614c1a1c6255972906f5d7aa@sip.broadvoice.com' Method: ACK
hai2k
Newsterisk
 
Posts: 3
Joined: Wed Oct 28, 2009 6:36 pm

Return to Fax For Asterisk

Who is online

Users browsing this forum: No registered users and 1 guest