<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY LINK="#0000ff">
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??<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
On Sun, 2005-06-26 at 15:23 +0300, jurczak wrote:<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT SIZE="2"><FONT COLOR="#000080">Well, in your dialplan, in the place where you are calling SIP (internal phones) you should put nocdr in the first priority</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">So if you would have</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">&nbsp;</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">Exten =&gt; _4.,1,NoCdr</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">Exten =&gt; _4.,2,Dial(SIP/${EXTEN})</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">&nbsp;</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">Assuming that your SIP begins with 4.</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">With this you wont have any CDR for your internal calls.</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">&nbsp;</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">-----Original Message-----</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">From:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> Mahmoud Badran [mailto:mahmoud.badran@atsint.com] </FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">Sent:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> Sunday, June 26, 2005 3:17 PM</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">To:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> jurczak</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">Subject:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> RE: [Asterisk-Users] cdr and billing</FONT></FONT><BR>
    <BR>
    <FONT COLOR="#000000">&nbsp;</FONT><BR>
    <BR>
    <FONT COLOR="#000000">come on!!</FONT><BR>
    <FONT COLOR="#000000">whats wrong with ya?</FONT><BR>
    <BR>
    <BR>
    <FONT COLOR="#000000">On Sun, 2005-06-26 at 15:01 +0300, jurczak wrote:</FONT><BR>
    <BR>
    <BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">Why don&#8217;t you try nocdr</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000080">&nbsp;</FONT></FONT><BR>
    <BR>
    <FONT SIZE="2"><FONT COLOR="#000000">-----Original Message-----</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">From:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] </FONT></FONT><FONT COLOR="#000000"><B><FONT SIZE="2">On Behalf Of </FONT></B></FONT><FONT COLOR="#000000"><FONT SIZE="2">Mahmoud Badran</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">Sent:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> Sunday, June 26, 2005 2:32 PM</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">To:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> Asterisk Users Mailing List - Non-Commercial Discussion</FONT></FONT><BR>
    <B><FONT SIZE="2"><FONT COLOR="#000000">Subject:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> [Asterisk-Users] cdr and billing</FONT></FONT><BR>
    <BR>
    <FONT COLOR="#000000">&nbsp;</FONT><BR>
    <BR>
    <FONT COLOR="#000000">Hello ;</FONT><BR>
    <FONT COLOR="#000000">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 </FONT><BR>
    <BR>
    <BR>
    <BR>
    <BR>
</BLOCKQUOTE>
</BODY>
</HTML>