hi list
i am using Quintum gw for pstn. sip---->PSTN call
when i iniating call quintum is replying me
"183 Session Progress"
asterisk starts calculating CDR
actually it should start from "when both side starts
RTP after 200 ok and ACK.
if callee (PSTN) receives call after 10 seconds these
10 sec are included in CDR
Sip read: from softphone INVITE sip
Transmitting (NAT): to softphone SIP/2.0 100 Trying
Reliably Transmitting: to quintum INVITE
Sip read: from quintum SIP/2.0 183 Session Progress
Transmitting (NAT): to softphone SIP/2.0 183 Session
Progress
Sip read: from quintum SIP/2.0 180 Ringing
Transmitting (NAT): to softphone SIP/2.0 180 Ringing
Sip read: from quintum SIP/2.0 200 OK
Transmitting: to quintum ACK
Reliably Transmitting (NAT): to softphone SIP/2.0 200
OK
Sip read: from softphone ACK
12 headers, 0 lines
RFC3389: 4 bytes, level 8...
RFC3389: 4 bytes, level 8...
RFC3389: 4 bytes, level 8...
RFC3389: 4 bytes, level 8...
RFC3389: 4 bytes, level 8...
RFC3389: 4 bytes, level 8...
Sip read: from quintum BYE
Transmitting (NAT): to quintum SIP/2.0 200 OK
Reliably Transmitting: to softphoen BYE
Sip read: from softphone SIP/2.0 200 OK
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
hello Any help. CDR duration starts from "183 Session Progress". cdr duration should start from "200 OK" when both parties are inside session. i am using Quintum gw for PSTN Calls. here is the call flow between Asterisk and QuintumGateway. ASTERISK GW 1 |-------------INTITE------------------>| 2 |<--------183 Session Progress---------| cdr starts 3 |<--------180 Ringing------------------| 4 |<--------200 Ok-----------------------| 5 |----------------ACK------------------>| should here 6 |<--------AUDIO Session--------------->| any idea why call duration is starting from step 2. actually session starts from step 5. Kamran __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail
Hi, Look at http://www.voip-info.org/wiki-Asterisk+billing duration: Total time in system, in seconds (integer), from dial to hangup What are you looking for (from my point of view) is billsec: Total time call is up, in seconds (integer), from answer to hangup -b ----- Original Message ----- From: "Kamran Ahmad" <p_kami@yahoo.com> To: <asterisk-users@lists.digium.com> Sent: Thursday, May 05, 2005 7:39 AM Subject: [Asterisk-Users] Re: CDR for PSTN> hello > > Any help. > > CDR duration starts from "183 Session Progress". cdr > duration should start from "200 OK" when both parties > are inside session. > > i am using Quintum gw for PSTN Calls. > here is the call flow between Asterisk and > QuintumGateway. > > ASTERISK GW > 1 |-------------INTITE------------------>| > 2 |<--------183 Session Progress---------| cdr starts > 3 |<--------180 Ringing------------------| > 4 |<--------200 Ok-----------------------| > 5 |----------------ACK------------------>| should here > 6 |<--------AUDIO Session--------------->| > > any idea why call duration is starting from step 2. > actually session starts from step 5. > > Kamran > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - You care about security. So do we. > http://promotions.yahoo.com/new_mail > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
hello Thanks for replying. i know duration and billsec. but i am getting wrong billsec. for example in one call billsec duration 48 55 and actually in this call phone rings 10 seconds. and accual duration on my cell phone is 35>Hi, > >Look athttp://www.voip-info.org/wiki-Asterisk+billing> >duration: Total time in system, in seconds (integer), >from dial to >hangup > >What are you looking for (from my point of view) is > >billsec: Total time call is up, in seconds (integer), >from answer to >hangup > >-b > > > >----- Original Message ----- >From: "Kamran Ahmad" <p_kami@yahoo.com> >To: <asterisk-users@lists.digium.com> >Sent: Thursday, May 05, 2005 7:39 AM >Subject: [Asterisk-Users] Re: CDR for PSTN > > >> hello >> >> Any help. >> >> CDR duration starts from "183 Session Progress".cdr>> duration should start from "200 OK" when both >parties >> are inside session. >> >> i am using Quintum gw for PSTN Calls. >> here is the call flow between Asterisk and >> QuintumGateway. >> >> ASTERISK GW >> 1 |-------------INTITE------------------>| >> 2 |<--------183 Session Progress---------| cdr >starts >> 3 |<--------180 Ringing------------------| >> 4 |<--------200 Ok-----------------------| >> 5 |----------------ACK------------------>| should >here >> 6 |<--------AUDIO Session--------------->| >> >> any idea why call duration is starting from step 2. >> actually session starts from step 5. >> >> KamranDiscover Yahoo! Get on-the-go sports scores, stock quotes, news and more. Check it out! http://discover.yahoo.com/mobile.html
Tried ForkCDR..... Kritikus.>From: Kamran Ahmad <p_kami@yahoo.com> >Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion ><asterisk-users@lists.digium.com> >To: asterisk-users@lists.digium.com >Subject: [Asterisk-Users] Re: CDR for PSTN >Date: Fri, 6 May 2005 03:26:30 -0700 (PDT) > > >hello > >Thanks for replying. i know duration and billsec. >but i am getting wrong billsec. > >for example in one call >billsec duration >48 55 > >and actually in this call phone rings 10 seconds. >and accual duration on my cell phone is 35 > > >Hi, > > > >Look at >http://www.voip-info.org/wiki-Asterisk+billing > > > >duration: Total time in system, in seconds (integer), > >from dial to > >hangup > > > >What are you looking for (from my point of view) is > > > >billsec: Total time call is up, in seconds (integer), > >from answer to > >hangup > > > >-b > > > > > > > >----- Original Message ----- > >From: "Kamran Ahmad" <p_kami@yahoo.com> > >To: <asterisk-users@lists.digium.com> > >Sent: Thursday, May 05, 2005 7:39 AM > >Subject: [Asterisk-Users] Re: CDR for PSTN > > > > > >> hello > >> > >> Any help. > >> > >> CDR duration starts from "183 Session Progress". >cdr > >> duration should start from "200 OK" when both > >parties > >> are inside session. > >> > >> i am using Quintum gw for PSTN Calls. > >> here is the call flow between Asterisk and > >> QuintumGateway. > >> > >> ASTERISK GW > >> 1 |-------------INTITE------------------>| > >> 2 |<--------183 Session Progress---------| cdr > >starts > >> 3 |<--------180 Ringing------------------| > >> 4 |<--------200 Ok-----------------------| > >> 5 |----------------ACK------------------>| should > >here > >> 6 |<--------AUDIO Session--------------->| > >> > >> any idea why call duration is starting from step 2. > >> actually session starts from step 5. > >> > >> Kamran > > > > >Discover Yahoo! >Get on-the-go sports scores, stock quotes, news and more. Check it out! >http://discover.yahoo.com/mobile.html >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users_________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
hello any comments>hello > >Thanks for replying. i know duration and billsec. >but i am getting wrong billsec. > >for example in one call >billsec duration >48 55 > >and actually in this call phone rings 10 seconds. >and accual duration on my cell phone is 35 > >>Hi, >> >>Look at >http://www.voip-info.org/wiki-Asterisk+billing >> >>duration: Total time in system, in seconds(integer),>>from dial to >>hangup >> >>What are you looking for (from my point of view) is >> >>billsec: Total time call is up, in seconds(integer),>>from answer to >>hangup >> >>-b >> >> >> >>----- Original Message ----- >>From: "Kamran Ahmad" <p_kami@yahoo.com> >>To: <asterisk-users@lists.digium.com> >>Sent: Thursday, May 05, 2005 7:39 AM >>Subject: [Asterisk-Users] Re: CDR for PSTN >> >> >>> hello >>> >>> Any help. >>> >>> CDR duration starts from "183 Session Progress". >cdr >>> duration should start from "200 OK" when both >>parties >>> are inside session. >>> >>> i am using Quintum gw for PSTN Calls. >>> here is the call flow between Asterisk and >>> QuintumGateway. >>> >>> ASTERISK GW >>> 1 |-------------INTITE------------------>| >>> 2 |<--------183 Session Progress---------| cdr >>starts >>> 3 |<--------180 Ringing------------------| >>> 4 |<--------200 Ok-----------------------| >>> 5 |----------------ACK------------------>| should >>here >>> 6 |<--------AUDIO Session--------------->| >>> >>> any idea why call duration is starting from step2.>>> actually session starts from step 5. >>> >>> Kamran__________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail