[asterisk-commits] file: branch 1.6.1 r174582 - in /branches/1.6.1: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 10 11:49:45 CST 2009
Author: file
Date: Tue Feb 10 11:49:45 2009
New Revision: 174582
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=174582
Log:
Merged revisions 174580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r174580 | file | 2009-02-10 13:48:29 -0400 (Tue, 10 Feb 2009) | 4 lines
Set the type for the peer structure to be a peer as the default.
(closes issue #14447)
Reported by: triccyx
........
Modified:
branches/1.6.1/ (props changed)
branches/1.6.1/channels/chan_sip.c
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=174582&r1=174581&r2=174582
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Tue Feb 10 11:49:45 2009
@@ -21394,6 +21394,7 @@
peer->socket.type = SIP_TRANSPORT_UDP;
peer->socket.fd = -1;
}
+ peer->type = SIP_TYPE_PEER;
ast_copy_flags(&peer->flags[0], &global_flags[0], SIP_FLAGS_TO_COPY);
ast_copy_flags(&peer->flags[1], &global_flags[1], SIP_PAGE2_FLAGS_TO_COPY);
strcpy(peer->context, default_context);
More information about the asterisk-commits
mailing list