[asterisk-users] duration sec and billing sec in cdr
Hi guys, i've installed asterisk to handle multiple voip accounts. I've looked at CDR configs, and managed to have cdr-csv files growing after each call. It would be easier to check my locak asterisk cdr's than logging into each account and check them at the provider website. i found that if i ring my sip softphone from my ata, bill seconds are counted correctly. however, if i call via a voip provider, bill seconds are counted incorrectly. Example: this call went to a pstn number New call from 551 --- 94361abcdefg (context: internal) Dialed: SIP/[EMAIL PROTECTED] Call start: 2007-04-14 20:10:55 Answered : 2007-04-14 20:10:55 Call end : 2007-04-14 20:11:10 Duration : 15 sec Bill : 15 sec this call went to my ata from the sip softphone: New call from 551 --- 505 (context: internal) Dialed: SIP/505|45 Call start: 2007-04-15 07:58:11 Answered : 2007-04-15 07:58:15 Call end : 2007-04-15 07:58:43 Duration : 32 sec Bill : 28 sec i've searched and google'd the wiki, but found only accounting software and cdr extensions for providers, but that's not what i need. thanks for any help Adam ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] duration sec and billing sec in cdr
Sounds like your VoIP provider is incorrectly sending you an Answer before the call actually completes. I would contact your VoIP provider. I suppose it could also be possible that YOU have an Answer() statement that is only on your VoIP trunk. I would double check that, and then contact your VoIP provider to see if they have any suggestions. Basically, SOMEONE (your or voipstunt) is answering the call before it should be answered. On 4/16/07, Adam KOSA [EMAIL PROTECTED] wrote: Hi guys, i've installed asterisk to handle multiple voip accounts. I've looked at CDR configs, and managed to have cdr-csv files growing after each call. It would be easier to check my locak asterisk cdr's than logging into each account and check them at the provider website. i found that if i ring my sip softphone from my ata, bill seconds are counted correctly. however, if i call via a voip provider, bill seconds are counted incorrectly. Example: this call went to a pstn number New call from 551 --- 94361abcdefg (context: internal) Dialed: SIP/[EMAIL PROTECTED] Call start: 2007-04-14 20:10:55 Answered : 2007-04-14 20:10:55 Call end : 2007-04-14 20:11:10 Duration : 15 sec Bill : 15 sec this call went to my ata from the sip softphone: New call from 551 --- 505 (context: internal) Dialed: SIP/505|45 Call start: 2007-04-15 07:58:11 Answered : 2007-04-15 07:58:15 Call end : 2007-04-15 07:58:43 Duration : 32 sec Bill : 28 sec i've searched and google'd the wiki, but found only accounting software and cdr extensions for providers, but that's not what i need. thanks for any help Adam ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] duration sec and billing sec in cdr
Looks okay to me. either the number you are testing with your VoIP provider has an automated response which answers the call at the same sec you sent the Invite request or the provider is sending False Answer Supervision...do a sip debug and check while you make the call. On 4/16/07, Adam KOSA [EMAIL PROTECTED] wrote: Hi guys, i've installed asterisk to handle multiple voip accounts. I've looked at CDR configs, and managed to have cdr-csv files growing after each call. It would be easier to check my locak asterisk cdr's than logging into each account and check them at the provider website. i found that if i ring my sip softphone from my ata, bill seconds are counted correctly. however, if i call via a voip provider, bill seconds are counted incorrectly. Example: this call went to a pstn number New call from 551 --- 94361abcdefg (context: internal) Dialed: SIP/[EMAIL PROTECTED] Call start: 2007-04-14 20:10:55 Answered : 2007-04-14 20:10:55 Call end : 2007-04-14 20:11:10 Duration : 15 sec Bill : 15 sec this call went to my ata from the sip softphone: New call from 551 --- 505 (context: internal) Dialed: SIP/505|45 Call start: 2007-04-15 07:58:11 Answered : 2007-04-15 07:58:15 Call end : 2007-04-15 07:58:43 Duration : 32 sec Bill : 28 sec i've searched and google'd the wiki, but found only accounting software and cdr extensions for providers, but that's not what i need. thanks for any help Adam ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] duration sec and billing sec in cdr
Hi, and thanks for the suggestions! Matt wrote: Sounds like your VoIP provider is incorrectly sending you an Answer before the call actually completes. I would contact your VoIP provider. I suppose it could also be possible that YOU have an Answer() statement that is only on your VoIP trunk. I would double check that, and then contact your VoIP provider to see if they have any suggestions. this is what's most likely as i have no experience in asterisk configs. I've checked the extension.conf settins, they are: exten = _94./_5[05][15],1,Playback(please_wait) exten = _94./_5[05][15],n,Set(CALLERID(name)=my_voip_username) exten = _94./_5[05][15],n,Dial(SIP/00${EXTEN:[EMAIL PROTECTED]) and for the internal numbers: exten = _NXZ,1,Set(TIMEOUT(digit)=2) exten = _NXZ,2,Dial(SIP/${EXTEN},45) exten = _NXZ,3,VoiceMail(b${EXTEN}) exten = _NXZ,103,VoiceMail(u${EXTEN}) Basically, SOMEONE (your or voipstunt) is answering the call before it should be answered. i will check this with more voip providers to see if they or i have messed up something (but it's probably going to be me, i just don't know where to start looking). thanks again Adam ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] duration sec and billing sec in cdr
Playback automatically answers the call unless you tell it not to. See: show application playback in the Asterisk CLI. Adam KOSA wrote: Hi, and thanks for the suggestions! Matt wrote: Sounds like your VoIP provider is incorrectly sending you an Answer before the call actually completes. I would contact your VoIP provider. I suppose it could also be possible that YOU have an Answer() statement that is only on your VoIP trunk. I would double check that, and then contact your VoIP provider to see if they have any suggestions. this is what's most likely as i have no experience in asterisk configs. I've checked the extension.conf settins, they are: exten = _94./_5[05][15],1,Playback(please_wait) exten = _94./_5[05][15],n,Set(CALLERID(name)=my_voip_username) exten = _94./_5[05][15],n,Dial(SIP/00${EXTEN:[EMAIL PROTECTED]) ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] duration sec and billing sec in cdr
The playback wait command may be what's doing it. On 4/16/07, Adam KOSA [EMAIL PROTECTED] wrote: Hi, and thanks for the suggestions! Matt wrote: Sounds like your VoIP provider is incorrectly sending you an Answer before the call actually completes. I would contact your VoIP provider. I suppose it could also be possible that YOU have an Answer() statement that is only on your VoIP trunk. I would double check that, and then contact your VoIP provider to see if they have any suggestions. this is what's most likely as i have no experience in asterisk configs. I've checked the extension.conf settins, they are: exten = _94./_5[05][15],1,Playback(please_wait) exten = _94./_5[05][15],n,Set(CALLERID(name)=my_voip_username) exten = _94./_5[05][15],n,Dial(SIP/00${EXTEN:[EMAIL PROTECTED]) and for the internal numbers: exten = _NXZ,1,Set(TIMEOUT(digit)=2) exten = _NXZ,2,Dial(SIP/${EXTEN},45) exten = _NXZ,3,VoiceMail(b${EXTEN}) exten = _NXZ,103,VoiceMail(u${EXTEN}) Basically, SOMEONE (your or voipstunt) is answering the call before it should be answered. i will check this with more voip providers to see if they or i have messed up something (but it's probably going to be me, i just don't know where to start looking). thanks again Adam ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] duration sec and billing sec in cdr
The Playback command is auto-answering the call. you can use Playback(please_wait,noanswer) to fix it. Joss. On 4/16/07, Adam KOSA [EMAIL PROTECTED] wrote: Hi, and thanks for the suggestions! Matt wrote: Sounds like your VoIP provider is incorrectly sending you an Answer before the call actually completes. I would contact your VoIP provider. I suppose it could also be possible that YOU have an Answer() statement that is only on your VoIP trunk. I would double check that, and then contact your VoIP provider to see if they have any suggestions. this is what's most likely as i have no experience in asterisk configs. I've checked the extension.conf settins, they are: exten = _94./_5[05][15],1,Playback(please_wait) exten = _94./_5[05][15],n,Set(CALLERID(name)=my_voip_username) exten = _94./_5[05][15],n,Dial(SIP/00${EXTEN:[EMAIL PROTECTED]) and for the internal numbers: exten = _NXZ,1,Set(TIMEOUT(digit)=2) exten = _NXZ,2,Dial(SIP/${EXTEN},45) exten = _NXZ,3,VoiceMail(b${EXTEN}) exten = _NXZ,103,VoiceMail(u${EXTEN}) Basically, SOMEONE (your or voipstunt) is answering the call before it should be answered. i will check this with more voip providers to see if they or i have messed up something (but it's probably going to be me, i just don't know where to start looking). thanks again Adam ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] duration sec and billing sec in cdr
Adam KOSA wrote: this is what's most likely as i have no experience in asterisk configs. I've checked the extension.conf settins, they are: exten = _94./_5[05][15],1,Playback(please_wait) exten = _94./_5[05][15],n,Set(CALLERID(name)=my_voip_username) exten = _94./_5[05][15],n,Dial(SIP/00${EXTEN:[EMAIL PROTECTED]) The Playback is your problem... you need to add |noanswer to the end of that to prevent it from automatically answering the call before it plays that recording. Trevor ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] duration sec and billing sec in cdr
This is interesting to me.. I'm a newbie, so please forgive a dumb question, but what use is it to play a message if you don't pick up the phone first?? Who's hearing it? -Original Message- Adam KOSA wrote: this is what's most likely as i have no experience in asterisk configs. I've checked the extension.conf settins, they are: exten = _94./_5[05][15],1,Playback(please_wait) exten = _94./_5[05][15],n,Set(CALLERID(name)=my_voip_username) exten = _94./_5[05][15],n,Dial(SIP/00${EXTEN:[EMAIL PROTECTED]) The Playback is your problem... you need to add |noanswer to the end of that to prevent it from automatically answering the call before it plays that recording. Trevor ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] duration sec and billing sec in cdr
Steve Jones wrote: This is interesting to me.. I'm a newbie, so please forgive a dumb question, but what use is it to play a message if you don't pick up the phone first?? Who's hearing it? Many types of connections allow you to do early audio or on hook audio. A perfect example of this is when you call a disconnected number, you get the telco audio message, but don't get billed for the callbecause the telco never answered the line. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] duration sec and billing sec in cdr
Yossi Ben Hagai wrote: The Playback command is auto-answering the call. you can use Playback(please_wait,noanswer) to fix it. thanks a lot to everyone who answered, this, of course solved this issue, it's also in the doc, i just didn't have the idea to look at playback's manual :( regards adam ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users