[Asterisk-Users] cdr and billing

Mahmoud Badran mahmoud.badran at atsint.com
Sun Jun 26 05:30:38 MST 2005


thanks alot for help but problem is; consider this scenario an internal
sip phone calls the IVR which shouldnt be billed then he dial an
extension from the ivr that redirects him to outbound line that makes
the call have some time counting in the ivr and other time counting
during the outbound call so how can i bill him on the outbound only??





On Sun, 2005-06-26 at 15:23 +0300, jurczak wrote:


> Well, in your dialplan, in the place where you are calling SIP
> (internal phones) you should put nocdr in the first priority
> 
> So if you would have
> 
>  
> 
> Exten => _4.,1,NoCdr
> 
> Exten => _4.,2,Dial(SIP/${EXTEN})
> 
>  
> 
> Assuming that your SIP begins with 4.
> 
> With this you wont have any CDR for your internal calls.
> 
>  
> 
> -----Original Message-----
> From: Mahmoud Badran [mailto:mahmoud.badran at atsint.com] 
> Sent: Sunday, June 26, 2005 3:17 PM
> To: jurczak
> Subject: RE: [Asterisk-Users] cdr and billing
> 
>  
> 
> come on!!
> whats wrong with ya?
> 
> 
> On Sun, 2005-06-26 at 15:01 +0300, jurczak wrote:
> 
> 
> 
> Why don’t you try nocdr
> 
>  
> 
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Mahmoud Badran
> Sent: Sunday, June 26, 2005 2:32 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [Asterisk-Users] cdr and billing
> 
>  
> 
> Hello ;
> how can i enable billing only while using specific trunk (ex:zap) but
> internal sip calls will not be counted specifically how to make all
> outbound is counted i am using asterisk mysql cdr enabled 
> 
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050626/7b2a3e02/attachment.htm


More information about the asterisk-users mailing list