[asterisk-bugs] [JIRA] (ASTERISK-26458) res_pjsip: Insufficient handling of dynamic public IP address
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Tue Oct 11 09:50:01 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232639#comment-232639 ]
Joshua Colp commented on ASTERISK-26458:
----------------------------------------
PJSIP does not store the ITSP address in a resolved state, each time a request is sent it is re-resolved. The only caching that exists is a DNS cache which is based on the TTL of the underlying records.
The real problem is that if the external address changes there's no easy way currently to cause a registration to get sent.
> res_pjsip: Insufficient handling of dynamic public IP address
> -------------------------------------------------------------
>
> Key: ASTERISK-26458
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26458
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_pjsip, Resources/res_pjsip_outbound_registration
> Affects Versions: 13.11.2
> Environment: FreeBSD 10.3-RELEASE-p9 i386
> Reporter: Andreas Wetzel
> Severity: Minor
>
> I have a consumer DSL line which gets disconnected from the ISP's side every 24 hours. When that happens a number of things occur:
> - My IP address changes
> - DNS may return a different IP address for my ITSP's SIP server
> - All outbound registrations need to be renewed, otherwise I get a '401 unauthorized response' from my ITSP's SIP server when trying to place an outbound call prior to the corresponding registration being renewed.
> Currently none of the reloading mechanisms present in asterisk seem to make it refetch the machine's public IP address (the one that is shown in 'pjsip dump endpt' under 'published as'), or to force an immediate renewal of all configured outbound registrations. Only way is to do a full restart of asterisk i.e. 'core restart gracefully'.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list