[Home]

Summary:ASTERISK-19321: Transfer application ignores port information
Reporter:Private Name (falves11)Labels:
Date Opened:2012-02-09 09:20:26.000-0600Date Closed:2012-03-08 10:49:19.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Channels/chan_sip/Interoperability
Versions:1.8.9.1 Frequency of
Occurrence
Related
Issues:
Environment:Linux 6.1Attachments:
Description:This is the offending code in chan_sip.c
/*! \brief Transfer call before connect with a 302 redirect
ast_string_field_build(p, our_contact, "Transfer <sip:%s@%s>", extension, domain);

If you execute in the dialplan
exten =>_X.,n,Transfer(1XXXXXX@ip.ad.re.ss:5061)
what comes out ignores the 5061 or any other port. It happens that this functionality is critical in a real-life environment, since less and less people use the default SIP port these days, for security concerns.
Also, the word "Transfer" should be removed or allowed as an option. I cannot find any other switch that uses the same word.
Comments: