[svn-commits] oej: branch oej/teapot-1.8 r419886 - in /team/oej/teapot-1.8: channels/ patches/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Aug 1 02:41:53 CDT 2014
Author: oej
Date: Fri Aug 1 02:41:48 2014
New Revision: 419886
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=419886
Log:
Adding the ability to use the peer's "fromdomain" in our outbound OPTIONS
Added:
team/oej/teapot-1.8/patches/options-fromdomain.diff (with props)
Modified:
team/oej/teapot-1.8/channels/chan_sip.c
Modified: team/oej/teapot-1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/teapot-1.8/channels/chan_sip.c?view=diff&rev=419886&r1=419885&r2=419886
==============================================================================
--- team/oej/teapot-1.8/channels/chan_sip.c (original)
+++ team/oej/teapot-1.8/channels/chan_sip.c Fri Aug 1 02:41:48 2014
@@ -27707,6 +27707,9 @@
if (!ast_strlen_zero(peer->fromuser)) {
ast_string_field_set(p, fromuser, peer->fromuser);
}
+ if (!ast_strlen_zero(peer->fromdomain)) {
+ ast_string_field_set(p, fromdomain, peer->fromdomain);
+ }
if (!ast_strlen_zero(peer->tohost)) {
ast_string_field_set(p, tohost, peer->tohost);
Added: team/oej/teapot-1.8/patches/options-fromdomain.diff
URL: http://svnview.digium.com/svn/asterisk/team/oej/teapot-1.8/patches/options-fromdomain.diff?view=auto&rev=419886
==============================================================================
--- team/oej/teapot-1.8/patches/options-fromdomain.diff (added)
+++ team/oej/teapot-1.8/patches/options-fromdomain.diff Fri Aug 1 02:41:48 2014
@@ -1,0 +1,14 @@
+Index: channels/chan_sip.c
+===================================================================
+--- channels/chan_sip.c (revision 419883)
++++ channels/chan_sip.c (working copy)
+@@ -27279,6 +27279,9 @@
+ if (!ast_strlen_zero(peer->fromuser)) {
+ ast_string_field_set(p, fromuser, peer->fromuser);
+ }
++ if (!ast_strlen_zero(peer->fromdomain)) {
++ ast_string_field_set(p, fromdomain, peer->fromdomain);
++ }
+
+ if (!ast_strlen_zero(peer->tohost)) {
+ ast_string_field_set(p, tohost, peer->tohost);
Propchange: team/oej/teapot-1.8/patches/options-fromdomain.diff
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: team/oej/teapot-1.8/patches/options-fromdomain.diff
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: team/oej/teapot-1.8/patches/options-fromdomain.diff
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the svn-commits
mailing list