[commit] r4611 - freeswitch/branches/anthonyl/fs-branch/src/mod/endpoints/mod_sofia
Author: anthonyl Date: Thu Mar 15 17:39:15 2007 New Revision: 4611 Modified: freeswitch/branches/anthonyl/fs-branch/src/mod/endpoints/mod_sofia/mod_sofia.c Log: 2 switch_log_printf's ... boring ;) Modified: freeswitch/branches/anthonyl/fs-branch/src/mod/endpoints/mod_sofia/mod_sofia.c ============================================================================== --- freeswitch/branches/anthonyl/fs-branch/src/mod/endpoints/mod_sofia/mod_sofia.c (original) +++ freeswitch/branches/anthonyl/fs-branch/src/mod/endpoints/mod_sofia/mod_sofia.c Thu Mar 15 17:39:15 2007 @@ -2234,7 +2234,9 @@ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot find a c= line in the sdp!\n"); return 0; } - + + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "c=%s\n", sdp->sdp_connection); + if ((tech_pvt->origin = switch_core_session_strdup(session, (char *) sdp->sdp_origin->o_username))) { if (strstr(tech_pvt->origin, "CiscoSystemsSIP-GW-UserAgent")) { switch_set_flag_locked(tech_pvt, TFLAG_BUGGY_2833); @@ -4065,6 +4067,8 @@ char *from_port; char uri[1024]; + /* just a little debugging statment for following the whole sofiasip flow */ + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "inside sip_i_invite()\n"); if ((profile->pflags & PFLAG_AUTH_CALLS)) { if (handle_register(nua, profile, nh, sip, REG_INVITE, key, sizeof(key))) {
participants (1)
-
Freeswitch SVN