Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] one CDR instead of multiple CDR


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
atis at iq-labs.net
Guest





PostPosted: Mon Feb 04, 2008 9:41 am    Post subject: [asterisk-users] one CDR instead of multiple CDR Reply with quote

On 2/4/08, Arjan Kroon | Mobillion <Arjan.Kroon at mobillion.nl> wrote:
Quote:




Hi,



In my application I jump to different extensions

For example:

[begin]

exten => s,1,Goto(starts,s,1)



[start]

exten => s,1,Play(welkom)

?..



exten => h,1,Goto(end,s,1)



[end]

exten => s,1,Macro(end_call)

exten => s,n, Hangup



When I look at my CDR record I see three different CDR's in my record.

Is there a way to use one CDR on every call, and not multiple CDR on every call?

You should post also the relevant sections of your dialplan that
manipulates CDR's. For example calls to Dial() or Queue()
applications.

Also a log snippets (uncomment the "full" line in logger.conf) that
says anything about posting CDR and previous few commands would be
useful.

Regards,
Atis

Quote:



Kind Regards,








_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


--
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835
Back to top
Arjan.Kroon at mobilli...
Guest





PostPosted: Tue Feb 05, 2008 8:37 am    Post subject: [asterisk-users] one CDR instead of multiple CDR Reply with quote

This is a part of our programma.

[begin]
exten => s,1, h324m_gw(s at video)

[video]
exten => s,1,h324m_gw_answer()
exten => s,2,Wait(3)
exten => s,3,Goto(intro,s,1)

[intro]
exten => s,1,mp4play(intro.3gp)
exten => #,n,Goto(einde,s,1)

[einde]
exten => s,n, Hangup()
When I use this dialplan and during the intro.3gp I press the #-key the
call will be ended.
But I got three different CDR's.

Does anybody know how I can use one CDR instead of 3 different CDR's

Kind Regards,


Arjan Kroon
Mobillion BV

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Atis
Lezdins
Sent: maandag 4 februari 2008 15:41
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] one CDR instead of multiple CDR

On 2/4/08, Arjan Kroon | Mobillion <Arjan.Kroon at mobillion.nl> wrote:
Quote:




Hi,



In my application I jump to different extensions

For example:

[begin]

exten => s,1,Goto(starts,s,1)



[start]

exten => s,1,Play(welkom)

.....



exten => h,1,Goto(end,s,1)



[end]

exten => s,1,Macro(end_call)

exten => s,n, Hangup



When I look at my CDR record I see three different CDR's in my record.

Is there a way to use one CDR on every call, and not multiple CDR on
every call?

You should post also the relevant sections of your dialplan that
manipulates CDR's. For example calls to Dial() or Queue()
applications.

Also a log snippets (uncomment the "full" line in logger.conf) that
says anything about posting CDR and previous few commands would be
useful.

Regards,
Atis

Quote:



Kind Regards,








_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
atis at iq-labs.net
Guest





PostPosted: Tue Feb 05, 2008 9:24 am    Post subject: [asterisk-users] one CDR instead of multiple CDR Reply with quote

On 2/5/08, Arjan Kroon | Mobillion <Arjan.Kroon at mobillion.nl> wrote:
Quote:
This is a part of our programma.

[begin]
exten => s,1, h324m_gw(s at video)

[video]
exten => s,1,h324m_gw_answer()
exten => s,2,Wait(3)
exten => s,3,Goto(intro,s,1)

[intro]
exten => s,1,mp4play(intro.3gp)
exten => #,n,Goto(einde,s,1)

[einde]
exten => s,n, Hangup()

Seems like a side-effect of using local channels. You could try adding
NoCDR() in context video, and see if that helps, and you still get
valid call durations. Or as alternative - add NoCDR in context begin,
as it completes almost immediately. However i don't see where third
channel is raised.. Could you provide debug logs of affected call from
/var/log/asterisk/full (enabling "full" in logger.conf).

Regards,
Atis
Quote:


When I use this dialplan and during the intro.3gp I press the #-key the
call will be ended.
But I got three different CDR's.

Does anybody know how I can use one CDR instead of 3 different CDR's

Kind Regards,


Arjan Kroon
Mobillion BV

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Atis
Lezdins
Sent: maandag 4 februari 2008 15:41
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] one CDR instead of multiple CDR

On 2/4/08, Arjan Kroon | Mobillion <Arjan.Kroon at mobillion.nl> wrote:
Quote:




Hi,



In my application I jump to different extensions

For example:

[begin]

exten => s,1,Goto(starts,s,1)



[start]

exten => s,1,Play(welkom)

.....



exten => h,1,Goto(end,s,1)



[end]

exten => s,1,Macro(end_call)

exten => s,n, Hangup



When I look at my CDR record I see three different CDR's in my record.

Is there a way to use one CDR on every call, and not multiple CDR on
every call?

You should post also the relevant sections of your dialplan that
manipulates CDR's. For example calls to Dial() or Queue()
applications.

Also a log snippets (uncomment the "full" line in logger.conf) that
says anything about posting CDR and previous few commands would be
useful.

Regards,
Atis

Quote:



Kind Regards,








_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



--
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services