set the variable process_cdr=false on that a_leg first thing in your dialplan<br><br><br><div class="gmail_quote">On Fri, Sep 11, 2009 at 2:26 AM, Anatoliy Kounitskiy <span dir="ltr"><<a href="mailto:anatoliy@kounitskiy.com">anatoliy@kounitskiy.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It's normal to have to two records for a call - Start and Stop message.<br>
<br>
From what i see - you have one start and stop for each leg of the call.<br>
<br>
Regards,<br>
AK<br>
<div><div></div><div class="h5"><br>
email lists wrote:<br>
><br>
> Hello,<br>
><br>
><br>
><br>
> Using the mod_radius_cdr module w/ Freeswitch, I am seeing duplicate<br>
> RADIUS messages being generated for individual calls (sample messages<br>
> for one call below). Looking at the "Acct-Unique-Session-Id" and<br>
> "Acct-Session-Id" fields, it would appear that perhaps each call leg<br>
> results in a pair of start/stop RADIUS messages; is this the expected<br>
> behavior? If so, is there a way to disable RADIUS messaging for what<br>
> I presume is the "ingress" or A leg of the call?<br>
><br>
><br>
><br>
> Any leads would be appreciated.<br>
><br>
><br>
><br>
> Thanks in advance.<br>
><br>
><br>
><br>
> Vladimir<br>
><br>
><br>
><br>
> Thu Sep 10 10:37:25 2009<br>
><br>
> Acct-Status-Type = Start<br>
><br>
> Acct-Session-Id = "b0f387c0-35bd-e32c-971a-d79d026a8004"<br>
><br>
> User-Name = "8135793256"<br>
><br>
> Freeswitch-Src = "8135793256"<br>
><br>
> Freeswitch-CLID = "sipp"<br>
><br>
> Freeswitch-Dst = "14043297226"<br>
><br>
> Freeswitch-Dialplan = "XML"<br>
><br>
> Framed-IP-Address = 50.46.50.55<br>
><br>
> Freeswitch-Context = "public"<br>
><br>
> Freeswitch-Source = "mod_sofia"<br>
><br>
> Freeswitch-Callstartdate = "2009-09-10T10:22:00.259042-0700"<br>
><br>
> NAS-Port = 0<br>
><br>
> Acct-Delay-Time = 0<br>
><br>
> NAS-IP-Address = 1.1.1.1<br>
><br>
> Acct-Unique-Session-Id = "097c8472ff7bcec7"<br>
><br>
> Timestamp = 1252604245<br>
><br>
> Request-Authenticator = Verified<br>
><br>
><br>
><br>
> Thu Sep 10 10:37:25 2009<br>
><br>
> Acct-Status-Type = Start<br>
><br>
> Acct-Session-Id = "584f4573-46f7-655f-91d7-84cd59c9ec12"<br>
><br>
> User-Name = "8135793256"<br>
><br>
> Freeswitch-Src = "8135793256"<br>
><br>
> Freeswitch-CLID = "sipp"<br>
><br>
> Freeswitch-Dst = "14043297226@x.x.x.x"<br>
><br>
> Freeswitch-Dialplan = "XML"<br>
><br>
> Framed-IP-Address = 50.46.50.55<br>
><br>
> Freeswitch-Context = "public"<br>
><br>
> Freeswitch-Source = "mod_sofia"<br>
><br>
> Freeswitch-Callstartdate = "2009-09-10T10:22:00.279044-0700"<br>
><br>
> NAS-Port = 0<br>
><br>
> Acct-Delay-Time = 0<br>
><br>
> NAS-IP-Address = 1.1.1.1<br>
><br>
> Acct-Unique-Session-Id = "53f729e173e8c0a9"<br>
><br>
> Timestamp = 1252604245<br>
><br>
> Request-Authenticator = Verified<br>
><br>
><br>
><br>
> Thu Sep 10 10:37:57 2009<br>
><br>
> Acct-Status-Type = Stop<br>
><br>
> Acct-Session-Id = "b0f387c0-35bd-e32c-971a-d79d026a8004"<br>
><br>
> Freeswitch-Hangupcause = Normal-Unspecified<br>
><br>
> User-Name = "8135793256"<br>
><br>
> Freeswitch-Src = "8135793256"<br>
><br>
> Freeswitch-CLID = "sipp"<br>
><br>
> Freeswitch-Dst = "14043297226"<br>
><br>
> Freeswitch-Dialplan = "XML"<br>
><br>
> Framed-IP-Address = 50.46.50.55<br>
><br>
> Freeswitch-Context = "public"<br>
><br>
> Freeswitch-Source = "mod_sofia"<br>
><br>
> Freeswitch-Lastapp = "bridge"<br>
><br>
> Freeswitch-Billusec = 32029926<br>
><br>
> Freeswitch-Callstartdate = "2009-09-10T10:22:00.259042-0700"<br>
><br>
> Freeswitch-Callanswerdate = "2009-09-10T10:22:00.319197-0700"<br>
><br>
> Freeswitch-Callenddate = "2009-09-10T10:22:32.349123-0700"<br>
><br>
> Acct-Session-Time = 32<br>
><br>
> NAS-Port = 0<br>
><br>
> Acct-Delay-Time = 0<br>
><br>
> NAS-IP-Address = 1.1.1.1<br>
><br>
> Acct-Unique-Session-Id = "097c8472ff7bcec7"<br>
><br>
> Timestamp = 1252604277<br>
><br>
> Request-Authenticator = Verified<br>
><br>
><br>
><br>
> Thu Sep 10 10:38:02 2009<br>
><br>
> Acct-Status-Type = Stop<br>
><br>
> Acct-Session-Id = "584f4573-46f7-655f-91d7-84cd59c9ec12"<br>
><br>
> Freeswitch-Hangupcause = Normal-Clearing<br>
><br>
> User-Name = "8135793256"<br>
><br>
> Freeswitch-Src = "8135793256"<br>
><br>
> Freeswitch-CLID = "sipp"<br>
><br>
> Freeswitch-Dst = "14043297226@x.x.x.x"<br>
><br>
> Freeswitch-Dialplan = "XML"<br>
><br>
> Framed-IP-Address = 50.46.50.55<br>
><br>
> Freeswitch-Context = "public"<br>
><br>
> Freeswitch-Source = "mod_sofia"<br>
><br>
> Freeswitch-Billusec = 32049973<br>
><br>
> Freeswitch-Callstartdate = "2009-09-10T10:22:00.279044-0700"<br>
><br>
> Freeswitch-Callanswerdate = "2009-09-10T10:22:00.289136-0700"<br>
><br>
> Freeswitch-Callenddate = "2009-09-10T10:22:32.339109-0700"<br>
><br>
> Acct-Session-Time = 32<br>
><br>
> NAS-Port = 0<br>
><br>
> Acct-Delay-Time = 0<br>
><br>
> NAS-IP-Address = 1.1.1.1<br>
><br>
> Acct-Unique-Session-Id = "53f729e173e8c0a9"<br>
><br>
> Timestamp = 1252604282<br>
><br>
</div></div>> Request-Authenticator = Verified**<br>
><br>
><br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>