<div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks, William,<br>i dont know what to edit in mod_xml_radius. I cannot exclude channel from dialplan, right? So what i have to change in configs?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-24 23:45 GMT+05:00 William King <span dir="ltr"><<a href="mailto:william.king@quentustech.com" target="_blank">william.king@quentustech.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The configurations allow you to exclude channels based on regex for<br>
channel variables. By default xml_radius will log(accounting) each<br>
individual channel/session.<br>
<br>
William King<br>
Senior Engineer<br>
Quentus Technologies, INC<br>
1037 NE 65th St Suite 273<br>
Seattle, WA 98115<br>
Main: (877) 211-9337<br>
Office: (206) 388-4772<br>
Cell: (253) 686-5518<br>
<a href="mailto:william.king@quentustech.com">william.king@quentustech.com</a><br>
<br>
On 7/22/15 11:51 PM, Artur Mega wrote:<br>
> When new incoming call comes to <a href="http://tr2.xxxxxxx.ru" rel="noreferrer" target="_blank">tr2.xxxxxxx.ru</a> <<a href="http://tr2.xxxxxxx.ru" rel="noreferrer" target="_blank">http://tr2.xxxxxxx.ru</a>>,<br>
<span class="">> new session is being created and accounting begins. Further, call<br>
</span>> forwarding to another server, to <a href="http://fs2.xxxxxxx.ru" rel="noreferrer" target="_blank">fs2.xxxxxxx.ru</a> <<a href="http://fs2.xxxxxxx.ru" rel="noreferrer" target="_blank">http://fs2.xxxxxxx.ru</a>>,<br>
<span class="">> and new session is being created again.<br>
><br>
</span>> 2015-07-23 11:22:42.514095 [NOTICE] switch_channel.c:1054 *New Channel*<br>
> sofia/external/<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">73472460000@tr2.xxxxxxx.ru:5080</a><br>
> <<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">http://73472460000@tr2.xxxxxxx.ru:5080</a>><br>
> [<a href="mailto:26777290306690-93831426613199@192.168.217.156">26777290306690-93831426613199@192.168.217.156</a><br>
> <mailto:<a href="mailto:26777290306690-93831426613199@192.168.217.156">26777290306690-93831426613199@192.168.217.156</a>>]<br>
<span class="">> ...<br>
> 2015-07-23 11:22:42.574084 [INFO] mod_xml_radius.c:1123 mod_xml_radius:<br>
</span>> *Accounting Start success*<br>
<span class="">> 2015-07-23 11:22:42.574084 [DEBUG] switch_core_state_machine.c:164<br>
</span>> sofia/external/<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">73472460000@tr2.xxxxxxx.ru:5080</a><br>
> <<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">http://73472460000@tr2.xxxxxxx.ru:5080</a>> Standard ROUTING<br>
<span class="">> 2015-07-23 11:22:42.574084 [INFO] mod_dialplan_xml.c:558 Processing<br>
> 73472460000 <73472460000>->79373057071 in context public<br>
</span>> Dialplan: sofia/external/<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">73472460000@tr2.xxxxxxx.ru:5080</a><br>
> <<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">http://73472460000@tr2.xxxxxxx.ru:5080</a>> parsing [public->originate_leg]<br>
> continue=true<br>
> Dialplan: sofia/external/<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">73472460000@tr2.xxxxxxx.ru:5080</a><br>
> <<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">http://73472460000@tr2.xxxxxxx.ru:5080</a>> Absolute Condition [originate_leg]<br>
> Dialplan: sofia/external/<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">73472460000@tr2.xxxxxxx.ru:5080</a><br>
> <<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">http://73472460000@tr2.xxxxxxx.ru:5080</a>> Action<br>
> export(nolocal:h323-call-origin=originate)<br>
> Dialplan: sofia/external/<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">73472460000@tr2.xxxxxxx.ru:5080</a><br>
> <<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">http://73472460000@tr2.xxxxxxx.ru:5080</a>> parsing [public->public_mult]<br>
> continue=false<br>
> Dialplan: sofia/external/<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">73472460000@tr2.xxxxxxx.ru:5080</a><br>
> <<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">http://73472460000@tr2.xxxxxxx.ru:5080</a>> Regex (PASS) [public_mult]<br>
> destination_number(79373057071) =~ /^(79373057071)$/ break=on-false<br>
> Dialplan: sofia/external/<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">73472460000@tr2.xxxxxxx.ru:5080</a><br>
> <<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">http://73472460000@tr2.xxxxxxx.ru:5080</a>> Action<br>
> set(hangup_after_bridge=true)<br>
> Dialplan: sofia/external/<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">73472460000@tr2.xxxxxxx.ru:5080</a><br>
> <<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">http://73472460000@tr2.xxxxxxx.ru:5080</a>> Action<br>
> bridge(sofia/internal/<a href="http://79373057071@fs2.xxxxxxx.ru:5070" rel="noreferrer" target="_blank">79373057071@fs2.xxxxxxx.ru:5070</a><br>
> <<a href="http://79373057071@fs2.xxxxxxx.ru:5070" rel="noreferrer" target="_blank">http://79373057071@fs2.xxxxxxx.ru:5070</a>>)<br>
<span class="">> 2015-07-23 11:22:42.574084 [DEBUG] switch_core_state_machine.c:214<br>
</span>> (sofia/external/<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">73472460000@tr2.xxxxxxx.ru:5080</a><br>
> <<a href="http://73472460000@tr2.xxxxxxx.ru:5080" rel="noreferrer" target="_blank">http://73472460000@tr2.xxxxxxx.ru:5080</a>>) State Change CS_ROUTING -><br>
> CS_EXECUTE<br>
> ...<br>
> 2015-07-23 11:22:42.574084 [NOTICE] switch_channel.c:1054 *New Channel*<br>
> sofia/internal/<a href="http://79373057071@fs2.xxxxxxx.ru:5070" rel="noreferrer" target="_blank">79373057071@fs2.xxxxxxx.ru:5070</a><br>
> <<a href="http://79373057071@fs2.xxxxxxx.ru:5070" rel="noreferrer" target="_blank">http://79373057071@fs2.xxxxxxx.ru:5070</a>><br>
<span class="">> [e059ad7f-b2f8-4beb-b1f3-249bc431cfc4]<br>
> ...<br>
> 2015-07-23 11:22:42.634059 [INFO] mod_xml_radius.c:1123 mod_xml_radius:<br>
</span>> * Accounting Start success*<br>
<span class="">><br>
> Thus, one call is being counted twice (for incoming to tr2, and then for<br>
> outgoing from tr2 to fs2). But we need to make mod_xml_radius counts<br>
> this call only once, how can we handle it?<br>
> Thanks<br>
> --<br>
><br>
> Arthur<br>
><br>
><br>
</span>> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><br>Arthur</div></div></div></div>
</div>