[Home]

Summary:ASTERISK-07664: Automatically set externip when asterisk is SIP client behind NAT router
Reporter:Mike Convey (mconvey)Labels:
Date Opened:2006-09-02 06:31:33Date Closed:2006-09-03 12:29:25
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sip_changes.patch
Description:The attached patch automatically sets externip to the external IP address of the router which asterisk is behind.   It does this by using received= in the Via: header in the response to the REGISTER message.   This means that no configuration is required to use asterisk as a SIP client behind a NAT router.

Even if asterisk is not behind a NAT router this patch should be benign, but it isn't something I am able to test.

I've been running asterisk with this patch for over a year.
Comments:By: Mike Convey (mconvey) 2006-09-03 09:42:38

Having said that, I've just found a provider that this does not work with so please disregard this patch.

By: BJ Weschke (bweschke) 2006-09-03 12:29:24

closing and removing the patch per the original reporter's request.