<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I have also try this: <a
      href="http://wiki.freeswitch.org/wiki/Variable_process_cdr">http://wiki.freeswitch.org/wiki/Variable_process_cdr</a><br>
    <br>
    But still getting start and stop packet for each leg:(<br>
    <br>
    <small>&lt;condition field="destination_number"
      expression="^0(\d+)$" &gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="log" data="INFO&nbsp; Before Auth "/&gt;<br>
      &lt;action application="set" data="process_cdr=false"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set"
      data="CALLID=h323-conf-id=${uuid}"/&gt; <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set"
      data="SERVICENUM=h323-prompt-id=${destination_number}"/&gt; <br>
      &nbsp; &lt;!--&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set"
      data="TRANSACTIONID=h323-ivr-out=transactionID:1234"/&gt; --&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set"
      data="CALLINGNUMBER=${caller_id_number}"/&gt; <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set"
      data="CALLINGNUMBER=${destination_number}"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set"
      data="USERNAME=${dialed_extension}"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set"
      data="PASSWD=$${default_password}"/&gt;<br>
      &nbsp;&nbsp;&nbsp; &lt;!--&nbsp;&nbsp;&nbsp; &lt;action inline="true" application="set"
      data="DIALED_NUMBER=$1"/&gt;&nbsp; --&gt;<br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="sleep" data="2000"/&gt;<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="auth_function" data="in
      ${DIALED_NUMBER}, in ${USERNAME}, in ${PASSWD}, out
      AUTH_RESULT"/&gt; <br>
      <br>
      &nbsp;&lt;action application="bridge"
      data=<a class="moz-txt-link-rfc2396E" href="mailto:sofia/external/386$1@xxx.xxx.xxx.xxxx">"sofia/external/386$1@xxx.xxx.xxx.xxxx"</a>/&gt;<br>
      &nbsp;&lt;!--&nbsp; &lt;action application="bridge"
      data=<a class="moz-txt-link-rfc2396E" href="mailto:sofia/gateway/sbc_trunk/386$1@xxx.xxx.xxx.xxx">"sofia/gateway/sbc_trunk/386$1@xxx.xxx.xxx.xxx"</a>/&gt; --&gt;<br>
      &nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
      &nbsp; &lt;/extension&gt;</small><br>
    ~<br>
    <br>
    Regards,<br>
    Miha<br>
    <br>
    On 11/16/2011 1:52 PM, Miha Zoubek wrote:
    <blockquote cite="mid:4EC3B20E.2030308@softnet.si" type="cite">
      <pre wrap="">HI,

can any one can help me about this issue?

Regards,
Miha

On 11/15/2011 11:37 AM, Miha Zoubek wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Hugh,

and other question. For incoming calls...
Why there is also AAA request to radius server if I do not have it in my
public/dialplan?

My freeradius sever is set for AAA (outgoing calls). Why NAS is sending
also accounting request for incoming calls? If the radius is set for
AAA, that I will also need o authenticate incoming calls which is stupid.
All CRD for incoming call we have on SBC. I would like to have only for
outgoing calls.

Any idea?

Thank you very much!

BR,
Miha

On 11/15/2011 10:09 AM, Miha Zoubek wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi Hugh,

I have put log and my dialplan in pastebin
(<a class="moz-txt-link-freetext" href="http://pastebin.freeswitch.org/17778">http://pastebin.freeswitch.org/17778</a>).
Could you please take a look due to my luck of skills with freeswith and
inform me about your opinion.


Regards,
Miha

On 11/14/2011 10:30 AM, Hugh Irvine wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">Hello Miha -

You are probably getting a RADIUS accounting request for each call leg.

The id's in the requests are different, as are the lengths, but you really need to check the contents of the requests to see exactly what they contain.

regards

Hugh


On 14 Nov 2011, at 18:24, Miha Zoubek wrote:

</pre>
            <blockquote type="cite">
              <pre wrap="">Hi,

can anyone can help me with this issue?


BR,
Miha

On 11/11/2011 9:02 AM, Miha Zoubek wrote:
</pre>
              <blockquote type="cite">
                <pre wrap="">Hi @ Ognjen,

bellow you can see that my Accounting-Request(4), Accounting-Response(5) are twice send.

Any idea?

BR,
Miha



    71.449050 xxx.xxx.xxx.xxx -&gt;    xxx.xxx.xxx.xxx RADIUS Accounting-Request(4) (id=235, l=265)
    71.517347 xxx.xxx.xxx.xxx -&gt;    xxx.xxx.xxx.xxx RADIUS Accounting-Response(5) (id=235, l=20)
    73.536126 xxx.xxx.xxx.xxx -&gt;    xxx.xxx.xxx.xxx RADIUS Access-Request(1) (id=236, l=210)
    73.567412 xxx.xxx.xxx.xxx -&gt;    xxx.xxx.xxx.xxx RADIUS Access-Accept(2) (id=236, l=20)
    73.572794 xxx.xxx.xxx.xxx -&gt;    xxx.xxx.xxx.xxx RADIUS Accounting-Request(4) (id=237, l=321)
    73.574156 xxx.xxx.xxx.xxx -&gt;    xxx.xxx.xxx.xxx RADIUS Accounting-Response(5) (id=237, l=20)
    83.482760 xxx.xxx.xxx.xxx -&gt;    xxx.xxx.xxx.xxx RADIUS Accounting-Request(4) (id=238, l=401)
    83.485670 xxx.xxx.xxx.xxx -&gt;    xxx.xxx.xxx.xxx RADIUS Accounting-Response(5) (id=238, l=20)
    83.514594 xxx.xxx.xxx.xxx -&gt;    xxx.xxx.xxx.xxx RADIUS Accounting-Request(4) (id=239, l=402)
    83.516404 xxx.xxx.xxx.xxx -&gt;    xxx.xxx.xxx.xxx RADIUS Accounting-Response(5) (id=239, l=20)

On 11/10/2011 6:24 PM, Ognjen Seslija wrote:
</pre>
                <blockquote type="cite">
                  <pre wrap="">Radius clients generally send Start and Stop records, I guess this is why you get two records.

On Wed, Nov 9, 2011 at 3:17 PM, Miha Zoubek<a class="moz-txt-link-rfc2396E" href="mailto:miha@softnet.si">&lt;miha@softnet.si&gt;</a>    wrote:
Hi,

radiusclient on freeswitch in sending more that once same response. So I
am getting in my sql tables for every call two inputs which is wrong.
How can I deal whit this issue?

I have paste a log from freeradius server in pastebin that you can see
what is freeswitch sending.

<a class="moz-txt-link-freetext" href="http://pastebin.freeswitch.org/17730">http://pastebin.freeswitch.org/17730</a>


Thank you!

BR,
Miha


FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>



FreeSWITCH-users mailing list

<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>

UNSUBSCRIBE:
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
                </blockquote>
                <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:

<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>


FreeSWITCH-powered IP PBX: The CudaTel Communication Server

<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>


Official FreeSWITCH Sites

<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>


FreeSWITCH-users mailing list

<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>

UNSUBSCRIBE:
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
              </blockquote>
              <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
            </blockquote>
            <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>

</pre>
          </blockquote>
          <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>

</pre>
        </blockquote>
        <pre wrap="">
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>

</pre>
      </blockquote>
      <pre wrap="">

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>

</pre>
    </blockquote>
    <br>
  </body>
</html>