Missing CDRs with ATTENDED TRANSFER
Dear Freeswitch users, we have a problem where no CDRs are created for assisted transfer. We are running FS 1.0.6. We have extensions and one gateway to connect to PSTN. The scenario is the following: 1) Extension A calls a PSTN number (through the gateway) lets say nubmer C. Extension A is using Twinkle soft phone. Connection gets established. 2) Then, using Twinkle, extension A chooses to transfer the call to extension B by pressing xfer button in Twinkle's GUI. A calls B. 3) Then A hangs up (presses xfer button again) while connection gets established between B and C. However, FS produces only 2 CDRs for the whole process. Namely, there is a CDR for the step 1) A -> C. There is a CDR for 2) A -> B, but there is no CDR for 3) B -> C. The two CDRs are produced just after the call is transfered, but the third CDR never gets produced. Although, the FS is aware of the ATTENDED_TRANSFER as this appears as the 'reason' in the second CDR. Here are the CDRs produced: "2000","2000","gateway","external",""Katarina Piljanovic" <2000>","sofia/external/2000@95.180.91.118:5080","sofia/external/381117543472","bridge","sofia/g ateway/provider/381117543472","2010-06-10 16:52:11","2010-06-10 16:52:17","2010-06-10 16:55:58","227","221","NORMAL_CLEARING","","eaf26c9d-4cd7-4f65-a53e- a426b50da52d","","","GSM","GSM","none","none" "2000","2000","2002","external",""Katarina Piljanovic" <2000>","sofia/external/2000@95.180.91.118:5080","sofia/external/2002","bridge","{disable_rtp_au to_adjust=true}sofia/external/2002%95.180.91.118","2010-06-10 16:53:31","2010-06-10 16:53:33","2010-06-10 16:56:00","149","147","ATTENDED_TRANSFER","","ae6547cb-983d-405b-a4c1- 1afcd3260c4d","","","GSM","GSM","none","none" Is there a way to get the third CDR, is it something in config that we should set? As, this way the B and C can talk forever and never get billed for the call. Do you need to see the Dialplan to suggest the resolution? Also, the first CDR is not correct either, as it should list the number called instead of the word "gateway" in the third coloumn, as it normally does when we call through the gateway. Many thanks in advance, Katarina _________________________________________________________________ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W...
What value do you have for "legs" in cdr_csv.conf.xml? This is just a guess, but you probably need to have AB to get the third cdr. <param name="legs" value="ab"/> From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of katarina djakovic Sent: Friday, June 11, 2010 2:26 AM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Missing CDRs with ATTENDED TRANSFER Dear Freeswitch users, we have a problem where no CDRs are created for assisted transfer. We are running FS 1.0.6. We have extensions and one gateway to connect to PSTN. The scenario is the following: 1) Extension A calls a PSTN number (through the gateway) lets say nubmer C. Extension A is using Twinkle soft phone. Connection gets established. 2) Then, using Twinkle, extension A chooses to transfer the call to extension B by pressing xfer button in Twinkle's GUI. A calls B. 3) Then A hangs up (presses xfer button again) while connection gets established between B and C. However, FS produces only 2 CDRs for the whole process. Namely, there is a CDR for the step 1) A -> C. There is a CDR for 2) A -> B, but there is no CDR for 3) B -> C. The two CDRs are produced just after the call is transfered, but the third CDR never gets produced. Although, the FS is aware of the ATTENDED_TRANSFER as this appears as the 'reason' in the second CDR. Here are the CDRs produced: "2000","2000","gateway","external",""Katarina Piljanovic" <2000>","sofia/external/2000@95.180.91.118:5080 <mailto:sofia/external/2000@95.180.91.118:5080%22,%22sofia/external/38111754 3472%22,%22bridge%22,%22sofia/g> ","sofia/external/381117543472","bridge","sofia/g ateway/provider/381117543472","2010-06-10 16:52:11","2010-06-10 16:52:17","2010-06-10 16:55:58","227","221","NORMAL_CLEARING","","eaf26c9d-4cd7-4f65-a53e- a426b50da52d","","","GSM","GSM","none","none" "2000","2000","2002","external",""Katarina Piljanovic" <2000>","sofia/external/2000@95.180.91.118:5080 <mailto:sofia/external/2000@95.180.91.118:5080%22,%22sofia/external/2002%22, %22bridge%22,%22%7bdisable_rtp_au> ","sofia/external/2002","bridge","{disable_rtp_au to_adjust=true}sofia/external/2002%95.180.91.118","2010-06-10 16:53:31","2010-06-10 16:53:33","2010-06-10 16:56:00","149","147","ATTENDED_TRANSFER","","ae6547cb-983d-405b-a4c1- 1afcd3260c4d","","","GSM","GSM","none","none" Is there a way to get the third CDR, is it something in config that we should set? As, this way the B and C can talk forever and never get billed for the call. Do you need to see the Dialplan to suggest the resolution? Also, the first CDR is not correct either, as it should list the number called instead of the word "gateway" in the third coloumn, as it normally does when we call through the gateway. Many thanks in advance, Katarina _____ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. Learn more. <http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON: WL:en-US:WM_HMP:042010_1>
On Fri, Jun 11, 2010 at 11:22 AM, Peder <peder@networkoblivion.com> wrote:
What value do you have for “legs” in cdr_csv.conf.xml? This is just a guess, but you probably need to have AB to get the third cdr.
<param name="legs" value="ab"/>
Just be warned that you probably will end up with *four* CDRs if you turn on the b-leg logging. I've tested these scenarios with Polycoms and Snoms and it is pretty consistent. Attended transfers are a challenge for CDRs but once you see the b-legs' CDRs you'll start to grasp it. As an exercise, turn on the b-leg logging and then do some experiments. For instance, watch your CDRs at these points during the call flow: After A dials B and B answers but *before* A actually transfers the call to B After A transfer the call to B but before B and C disconnect After B and C disconnect When you see four CDRs for what is essentially a single phone call it helps to know at what stage in the call flow that each of the records was created. Have fun. :) -MC
Thanks guys, that solved my problem. All the best, Katarina Date: Fri, 11 Jun 2010 12:34:27 -0700 From: msc@freeswitch.org To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Missing CDRs with ATTENDED TRANSFER On Fri, Jun 11, 2010 at 11:22 AM, Peder <peder@networkoblivion.com> wrote: What value do you have for “legs” in cdr_csv.conf.xml? This is just a guess, but you probably need to have AB to get the third cdr. <param name="legs" value="ab"/> Just be warned that you probably will end up with *four* CDRs if you turn on the b-leg logging. I've tested these scenarios with Polycoms and Snoms and it is pretty consistent. Attended transfers are a challenge for CDRs but once you see the b-legs' CDRs you'll start to grasp it. As an exercise, turn on the b-leg logging and then do some experiments. For instance, watch your CDRs at these points during the call flow: After A dials B and B answers but *before* A actually transfers the call to B After A transfer the call to B but before B and C disconnect After B and C disconnect When you see four CDRs for what is essentially a single phone call it helps to know at what stage in the call flow that each of the records was created. Have fun. :) -MC _________________________________________________________________ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:W...
Zdravo, Moras ukljuciti logovanje b-lega. Pozdrav, Ognjen On Jun 13, 2010 2:22 PM, "katarina djakovic" <kdjakovic@hotmail.com> wrote: Thanks guys, that solved my problem. All the best, Katarina ------------------------------ Date: Fri, 11 Jun 2010 12:34:27 -0700 From: msc@freeswitch.org To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Missing CDRs with ATTENDED TRANSFER On Fri, Jun 11, 2010 at 11:22 AM, Peder <peder@networkoblivion.com> wrote:
What value do you...
------------------------------ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. See how.<http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2> _______________________________________________ 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
participants (4)
-
katarina djakovic
-
Michael Collins
-
Ognjen Seslija
-
Peder