Hello, Mea culpa.. I'm talking lets say about mod_radius_cdr Call From test@domain.tld to me@domain2.tld Using this snippet if (profile->username) { if (rc_avpair_add(rad_config, &send, PW_USER_NAME, (void *) profile->username, -1, 0) == NULL) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "failed adding User-Name: %s\n", profile->username); rc_destroy(rad_config); goto end; } } Gives me (w/o domain.tld part) 01.04.2011 17:51:10 VERBOSE [0x2b0ff723e910] [ParseBody] Attribute 'User-Name', value: "test" That should I do to get full URI? 01.04.2011, 08:35, "Michael Collins" <msc@freeswitch.org>:
Could you please expand on this? A code snippet would be helpful, as would a little context.
-MC
On Thu, Mar 31, 2011 at 1:08 AM, Serge S. Yuriev <me@nevian.org> wrote:
Hello,
caller_profile->channel_name shows sofia/internal/user@domain but caller_profile->username shows only user w/o domain part. How i can set username to include domain name in caller_profile->username?
-- wbr, Serge
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- wbr, Serge