[Home]

Summary:ASTERISK-10393: 302 Handling
Reporter:Yusuf Motiwala (yusufmotiwala)Labels:
Date Opened:2007-09-26 13:40:47Date Closed:2011-06-07 14:08:06
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Asterisk appears to be not able to handle 302 response.

I am tring to dial dialednumber@10.10.10.10. Say, my provider IP address is 10.10.10.10.

Asterisk is getting 302 response - asking it to contact dialednumber@10.10.10.11

Call fails.




<--- SIP read from 10.10.10.10:5060 --->
SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/UDP 1.2.3.4:5060;branch=z9hG4bK515084b8;rport=5060
From: "Me" <sip:mynumber@1.2.3.4>;tag=as289ca863
To: <sip:dialednumber@10.10.10.10>;tag=b4c8d49973c64e15a058511e6ec188c0.1d22
Call-ID: 4feb461136d874d76ae60bdb7132c26e@1.2.3.4
CSeq: 102 INVITE
Contact: sip:dialednumber@10.10.10.11
Server: Sip EXpress router (0.8.14 (i386/freebsd))
Content-Length: 0
Warning: 392 10.10.10.10:5060 "Noisy feedback tells:  pid=15020 req_src_ip=1.2.3.4 req_src_port=5060 in_uri=sip:dialednumber@10.10.10.10 out_uri=sip:dialednumber@10.10.10.11 via_cnt==1"


<------------->
--- (10 headers 0 lines) ---
Transmitting (NAT) to 10.10.10.10:5060:
ACK sip:dialednumber@10.10.10.10 SIP/2.0
Via: SIP/2.0/UDP 1.2.3.4:5060;branch=z9hG4bK515084b8;rport
Max-Forwards: 70
From: "Me" <sip:mynumber@1.2.3.4>;tag=as289ca863
To: <sip:dialednumber@10.10.10.10>;tag=b4c8d49973c64e15a058511e6ec188c0.1d22
Contact: <sip:mynumber@1.2.3.4>
Call-ID: 4feb461136d874d76ae60bdb7132c26e@1.2.3.4
CSeq: 102 ACK
User-Agent: "X-Lite release 1011s stamp 41150"
Content-Length: 0

****** ADDITIONAL INFORMATION ******

Please let me know if additional information is needed
Comments:By: Yusuf Motiwala (yusufmotiwala) 2007-09-26 14:05:29

Btw, promiscredir is set to yes

By: Joshua C. Colp (jcolp) 2007-10-01 10:31:31

Please provide a complete sip debug and a note detailing what you expect to happen versus what is happening.

By: Joshua C. Colp (jcolp) 2007-10-29 14:44:37

I'm suspending this since it has been a month and the needed information has not been provided.