From: Brian West Date: Tue, 10 Feb 2009 18:30:49 +0000 (+0000) Subject: MODENDP-185 and SFSIP-121 X-Git-Tag: v1.0.3~399 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98cb113cddad83fb7ab5bd58c9fbd2126de1445e;p=thirdparty%2Ffreeswitch.git MODENDP-185 and SFSIP-121 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11729 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/endpoints/mod_sofia/sofia_reg.c b/src/mod/endpoints/mod_sofia/sofia_reg.c index 470a948965..b87b0885cb 100644 --- a/src/mod/endpoints/mod_sofia/sofia_reg.c +++ b/src/mod/endpoints/mod_sofia/sofia_reg.c @@ -433,7 +433,7 @@ int sofia_reg_del_callback(void *pArg, int argc, char **argv, char **columnNames 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]);