mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
Fix error in the "IPorHost" section of a SIP dialstring.
This is based on the review request posted by Walter Doekes (referenced lower in the commit message) The main fix here is to treat the IPorHost portion of the dial string as a temporary outbound proxy. This ensures requests get sent to the proper location. Due to the age of the request, some parts were no longer relevant. For instance, the request moved outbound proxy parsing code into a single method. This is done in a previous commit, so it was not necessary to do again. Also, the review request fixed some errors with regards to request routing for CANCEL and ACK requests. This has also been fixed in more recent commits. (closes issue ASTERISK-19677) reported by Walter Doekes Review https://reviewboard.asterisk.org/r/1859 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@370769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -794,6 +794,7 @@ struct sip_invite_param {
|
||||
enum sip_auth_type auth_type; /*!< Authentication type */
|
||||
const char *replaces; /*!< Replaces header for call transfers */
|
||||
int transfer; /*!< Flag - is this Invite part of a SIP transfer? (invite/replaces) */
|
||||
struct sip_proxy *outboundproxy; /*!< Outbound proxy URI */
|
||||
};
|
||||
|
||||
/*! \brief Structure to save routing information for a SIP session */
|
||||
|
||||
Reference in New Issue
Block a user