mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 15:11:12 +00:00
Merged revisions 304244 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r304244 | mnicholson | 2011-01-26 14:42:16 -0600 (Wed, 26 Jan 2011) | 13 lines Merged revisions 304241 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r304241 | mnicholson | 2011-01-26 14:38:22 -0600 (Wed, 26 Jan 2011) | 6 lines This patch modifies chan_sip to route responses to the address the request came from. It also modifies chan_sip to respect the maddr parameter in the Via header. ABE-2664 Review: https://reviewboard.asterisk.org/r/1059/ ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@304245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -789,6 +789,17 @@ struct sip_route {
|
||||
char hop[0];
|
||||
};
|
||||
|
||||
/*! \brief Structure to store Via information */
|
||||
struct sip_via {
|
||||
char *via;
|
||||
const char *protocol;
|
||||
const char *sent_by;
|
||||
const char *branch;
|
||||
const char *maddr;
|
||||
unsigned int port;
|
||||
unsigned char ttl;
|
||||
};
|
||||
|
||||
/*! \brief Domain data structure.
|
||||
\note In the future, we will connect this to a configuration tree specific
|
||||
for this domain
|
||||
|
||||
Reference in New Issue
Block a user