[asterisk-commits] oej: trunk r64973 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri May 18 03:28:56 MST 2007


Author: oej
Date: Fri May 18 05:28:56 2007
New Revision: 64973

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64973
Log:
Makeup, darling.

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=64973&r1=64972&r2=64973
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri May 18 05:28:56 2007
@@ -8424,7 +8424,7 @@
 
 		destroy_association(peer);
 		
-		register_peer_exten(peer, 0);	/* Add extension from regexten= setting in sip.conf */
+		register_peer_exten(peer, FALSE);	/* Remove extension from regexten= setting in sip.conf */
 		peer->fullcontact[0] = '\0';
 		peer->useragent[0] = '\0';
 		peer->sipoptions = 0;
@@ -8492,7 +8492,7 @@
 		sip_poke_peer(peer);
 		if (option_verbose > 2)
 			ast_verbose(VERBOSE_PREFIX_3 "Registered SIP '%s' at %s port %d expires %d\n", peer->name, ast_inet_ntoa(peer->addr.sin_addr), ntohs(peer->addr.sin_port), expiry);
-		register_peer_exten(peer, 1);
+		register_peer_exten(peer, TRUE);
 	}
 	
 	/* Save User agent */



More information about the asterisk-commits mailing list