The following issue has been RESOLVED. ====================================================================== https://bugtracker.iptel.org/view.php?id=64 ====================================================================== Reported By: vbroz Assigned To: stefan ====================================================================== Project: SEMS Issue ID: 64 Category: SBC Reproducibility: always Severity: minor Priority: low Status: resolved Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 2011-10-08 01:41 CEST Last Modified: 2011-10-10 16:09 CEST ====================================================================== Summary: Display names ($fn,$tn) do not work Description: I tried to use $fn and $tn to add into CDR. It logs only empty strings. It does not work also for e.g. append_headers actions in SBC profile.
Config files: in profile config file: append_headers="P-Original-Names: $fU,$fn,$tU,$tn" call_control=cdr cdr_module=cc_syslog_cdr cdr_Calling-Station-Id=$fU cdr_Calling-Station-Name=$fn cdr_Called-Station-Id=$tU cdr_Called-Station-Name=$tn incoming INVITE: INVITE sip:[email protected] SIP/2.0 Via: SIP/2.0/UDP x.x.x.x.:5080;branch=z9hG4bK46wZiabr;rport From: Alice <sip:[email protected]>;tag=168FBA78-4E8F7F88000C4425-E12E1700 To: Bob <sip:[email protected]> outgoing INVITE: ... P-Original-Names: alice,,bob, generated CDR: ...,"alice","","bob","",... SEMS log: ... [#7f50e12e1700/25775] [replaceParameters, ParamReplacer.cpp:353] DEBUG: Called-Station-Id pattern replace: '$tU' -> 'bob' [#7f50e12e1700/25775] [replaceParameters, ParamReplacer.cpp:353] DEBUG: Called-Station-Name pattern replace: '$tn' -> '' [#7f50e12e1700/25775] [replaceParameters, ParamReplacer.cpp:353] DEBUG: Calling-Station-Id pattern replace: '$fU' -> 'alice' [#7f50e12e1700/25775] [replaceParameters, ParamReplacer.cpp:353] DEBUG: Calling-Station-Name pattern replace: '$fn' -> '' ====================================================================== ---------------------------------------------------------------------- (0000101) stefan (manager) - 2011-10-10 16:09 https://bugtracker.iptel.org/view.php?id=64#c101 ---------------------------------------------------------------------- fixed in [master 20d7bef] b/f: fix display name replacements, $fn/$tn etc Issue History Date Modified Username Field Change ====================================================================== 2011-10-08 01:41 vbroz New Issue 2011-10-10 16:09 stefan Note Added: 0000101 2011-10-10 16:09 stefan Status new => resolved 2011-10-10 16:09 stefan Resolution open => fixed 2011-10-10 16:09 stefan Assigned To => stefan ====================================================================== _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
