[Home]

Summary:ASTERISK-05058: Asterisk does not obey rport parameter
Reporter:klaus3000 (klaus3000)Labels:
Date Opened:2005-09-12 05:05:08Date Closed:2005-09-13 21:56:13
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sip-debug.txt
( 1) var_log_asterisk_all.txt
Description:If asterisk receives an incoming request which forces rport in the Via: header, it does not obey this and replies to the port in the Via header (not the one from which it received the message)

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

See the attached debugs.
Comments:By: Olle Johansson (oej) 2005-09-12 05:52:35

Have you tested with different nat= settings?

By: Olle Johansson (oej) 2005-09-12 05:55:44

Please check patch in ASTERISK-4912...

By: klaus3000 (klaus3000) 2005-09-12 06:05:53

[general]
nat=no   ; NAT settings
         ; yes = Always ignore info and assume NAT
         ; no = Use NAT mode only according to RFC3581
         ; never = Never attempt NAT mode or RFC3581 support
         ; route = Assume NAT, don't send rport (work around more UNIDEN bugs)

I tried nat=no and asterisk does not obey rport. Only when nat=yes.

btw: what is the default value?

By: klaus3000 (klaus3000) 2005-09-12 06:21:43

I've tested the patch from ASTERISK-4995037 and now it works fine with nat=no.

thanks
klaus

By: Kevin P. Fleming (kpfleming) 2005-09-13 21:55:39

Fixed by patch from ASTERISK-4995037.