[Freeswitch-svn] [commit] r11729 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN brian at freeswitch.org
Tue Feb 10 10:30:49 PST 2009


Author: brian
Date: Tue Feb 10 12:30:49 2009
New Revision: 11729

Log:
MODENDP-185 and SFSIP-121

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c	Tue Feb 10 12:30:49 2009
@@ -433,7 +433,7 @@
 
 	if (argc >= 3) {
 		if (switch_event_create_subclass(&s_event, SWITCH_EVENT_CUSTOM, MY_EVENT_EXPIRE) == SWITCH_STATUS_SUCCESS) {
-			switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "profile-name", argv[8]);
+			switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "profile-name", argv[10]);
 			switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "call-id", argv[0]);
 			switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "user", argv[1]);
 			switch_event_add_header_string(s_event, SWITCH_STACK_BOTTOM, "host", argv[2]);



More information about the Freeswitch-svn mailing list