Motty Cruz
2017-Apr-03 22:51 UTC
[asterisk-users] Asterisk 13.13.1 use_callids = yes Extensions ID as CallerID
Hello, In Master.csv Asterisk is loggin the Company ID set in Extensions.conf, but I configured logger.conf to log the EXT ID. For instance, the SRC in the following line should be my ext. number. Does it make sense? From my extension 4007 I called 78079745, yet in the log below the first number is 2318001800 which is the main company's number set in Extensions.conf. 2318001800 78079745 phones "ITadmin" <2318001800> SIP/4007-00015c0a SIP/voip1-00015c0b Dial SIP/voip1/78079745,80 4/3/2017 15:30 4/3/2017 15:31 2 0 NO ANSWER DOCUMENTATION 1.49E+09 Logger.conf [general] dateformat=%F %T ; ; Customize the display of debug message time stamps ; this example is the ISO 8601 date format (yyyy-mm-dd HH:MM:SS) ; ; see strftime(3) Linux manual for format specifiers. Note that there is also ; a fractional second parameter which may be used in this field. Use %1q ; for tenths, %2q for hundredths, etc. ; ;dateformat=%F %T ; ISO 8601 date format ;dateformat=%F %T.%3q ; with milliseconds dateformat = %F %T.%3q ; ISO 8601 date format with milliseconds ; ; ; This makes Asterisk write callids to log messages ; (defaults to yes) use_callids = yes -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170403/6748b4c0/attachment.html>
Motty Cruz
2017-Apr-04 19:11 UTC
[asterisk-users] Asterisk 13.13.1 use_callids = yes Extensions ID as CallerID
Hello, I am trying to match SRC in CSV file to clid - Caller ID to user extension number for stats purposes, however, in CSV file the SRC is the company number as set in Extensions.conf exten => _7XXXXXXX,1,Set(CALLERID(number)="Company Inc" <3788001800>) exten => _7XXXXXXX,2,Dial(SIP/voip1/13781${EXTEN:1},80) exten => _7XXXXXXX,n,Congestion() exten => _7XXXXXXX,n,Hangup() how would I change it? I have look in cdr.conf and logger.conf Thanks, From: Motty Cruz [mailto:motty.cruz at gmail.com] Sent: Monday, April 03, 2017 3:52 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Cc: motty.cruz at gmail.com Subject: [asterisk-users] Asterisk 13.13.1 use_callids = yes Extensions ID as CallerID Hello, In Master.csv Asterisk is loggin the Company ID set in Extensions.conf, but I configured logger.conf to log the EXT ID. For instance, the SRC in the following line should be my ext. number. Does it make sense? From my extension 4007 I called 78079745, yet in the log below the first number is 2318001800 which is the main company's number set in Extensions.conf. 2318001800 78079745 phones "ITadmin" <2318001800> SIP/4007-00015c0a SIP/voip1-00015c0b Dial SIP/voip1/78079745,80 4/3/2017 15:30 4/3/2017 15:31 2 0 NO ANSWER DOCUMENTATION 1.49E+09 Logger.conf [general] dateformat=%F %T ; ; Customize the display of debug message time stamps ; this example is the ISO 8601 date format (yyyy-mm-dd HH:MM:SS) ; ; see strftime(3) Linux manual for format specifiers. Note that there is also ; a fractional second parameter which may be used in this field. Use %1q ; for tenths, %2q for hundredths, etc. ; ;dateformat=%F %T ; ISO 8601 date format ;dateformat=%F %T.%3q ; with milliseconds dateformat = %F %T.%3q ; ISO 8601 date format with milliseconds ; ; ; This makes Asterisk write callids to log messages ; (defaults to yes) use_callids = yes -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170404/67606767/attachment.html>