[Home]

Summary:ASTERISK-23308: [patch] Unable to specify non-standard destination port if "callbackextension" enabled
Reporter:Igor Nikolaev (microlana)Labels:patch
Date Opened:2014-02-14 01:55:51.000-0600Date Closed:
Priority:MinorRegression?No
Status:Open/NewComponents:Channels/chan_sip/Registration
Versions:11.7.0 13.14.0 Frequency of
Occurrence
Constant
Related
Issues:
is duplicated byASTERISK-26906 chan_sip: With "callbackextension" set, the "port" option is not respected.
Environment:Attachments:( 0) asterisk-chan_sip-fix-registry-port.patch
Description:When required sip registration at remote system, we can't specify remote port number other than default value (i.e. 5060).

Example of sip.conf or realtime database record:
[device]
callbackextension=1234
fromuser=1234
secret=password
type=peer
host=remote_system_address
port=5068

At this case asterisk try to register with remote_system_address:5060 insted of remote_system_address:5068
Comments:By: Igor Nikolaev (microlana) 2014-02-14 02:03:37.898-0600

Fix port number when requested remote registration by callback parameter.

By: Igor Nikolaev (microlana) 2014-02-14 02:04:44.865-0600

This patch affected to any 11.x.x Asterisk versions.

By: Rusty Newton (rnewton) 2017-03-31 15:02:09.475-0500

ASTERISK-26906 was filed and appears to be a duplicate. Linked it to this issue and closed it out.

[~microlana] , if you would like to update your patch for the current supported versions and push it into Gerrit then someone could likely review it and push it through. chan_sip is under extended support, which relies on the broader community of developers rather than the core team.

https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process