[asterisk-bugs] [Asterisk 0008536]: [patch] Caller ID not set in CDR

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Dec 14 08:26:02 CST 2007


The following issue has been set as RELATED TO issue 0011549. 
====================================================================== 
http://bugs.digium.com/view.php?id=8536 
====================================================================== 
Reported By:                phsultan
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   8536
Category:                   Channels/chan_gtalk
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4 
SVN Revision (number only!): 55441 
Disclaimer on File?:        Yes 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             12-07-2006 05:16 CST
Last Modified:              07-11-2007 19:59 CDT
====================================================================== 
Summary:                    [patch] Caller ID not set in CDR
Description: 
Call flow is GoogleTalk Client -> Asterisk -> SIP Phone.

Here is the CDR I get when calling from my gmail account, either
registered as a user in gtalk.conf or not (eg. calling as a guest) :
        Asterisk-Acc-Code = ""
        Asterisk-Src = ""
        Asterisk-Dst = "s"
        Asterisk-Dst-Ctx = "default"
        Asterisk-Clid = ""
        Asterisk-Chan = "Gtalk/philippe.sultan-ab43"
        Asterisk-Dst-Chan = "SIP/7999-082038e8"
        Asterisk-Last-App = "Dial"
        Asterisk-Last-Data = "SIP/7999"
        Asterisk-Start-Time = "2006-12-07 11:30:12 +0100"
        Asterisk-Answer-Time = "2006-12-07 11:30:17 +0100"
        Asterisk-End-Time = "2006-12-07 11:30:25 +0100"
        Asterisk-Duration = 13
        Asterisk-Bill-Sec = 8
        Asterisk-Disposition = "ANSWERED"
        Asterisk-AMA-Flags = "DOCUMENTATION"
        Asterisk-Unique-ID = "1165487412.0"
        Asterisk-User-Field = ""

Both Asterisk-src and Asterisk-Clid are empty. The attached patch sets
cid_name as the full jid, and cid_num as the jid without resource if the
calling user is a guest. If the calling user has an matching entry in
gtalk.conf, cid_num is set to its username.

CDR becomes :
        Asterisk-Acc-Code = ""
        Asterisk-Src = "philippe.sultan at gmail.com"
        Asterisk-Dst = "s"
        Asterisk-Dst-Ctx = "default"
        Asterisk-Clid = "\"philippe.sultan at gmail.com/Talk.v100FFEA5C14\"
<philippe.sultan at gmail.com>"
        Asterisk-Chan = "Gtalk/philippe.sultan-6e67"
        Asterisk-Dst-Chan = "SIP/7999-08208f40"
        Asterisk-Last-App = "Dial"
        Asterisk-Last-Data = "SIP/7999"
        Asterisk-Start-Time = "2006-12-07 11:41:00 +0100"
        Asterisk-Answer-Time = "2006-12-07 11:41:01 +0100"
        Asterisk-End-Time = "2006-12-07 11:41:04 +0100"
        Asterisk-Duration = 4
        Asterisk-Bill-Sec = 3
        Asterisk-Disposition = "ANSWERED"
        Asterisk-AMA-Flags = "DOCUMENTATION"
        Asterisk-Unique-ID = "1165488060.0"
        Asterisk-User-Field = ""


======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0011549 [patch] Properly set caller id
child of            0008659 [patch] Add a jabber text receiver appl...
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-14-07 08:25  phsultan       Relationship added       related to 0011549  
======================================================================




More information about the asterisk-bugs mailing list