<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>&gt; In your example I don't know that you necessarily have a b-leg. How 
are you getting the call to the conference? Do you use originate? Or is it an 
inbound call?</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>it can be inbound as outbound call. I originate the call from 
default.xml and public.xml</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>thanks</FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=msc@freeswitch.org href="mailto:msc@freeswitch.org">Michael 
  Collins</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=freeswitch-users@lists.freeswitch.org 
  href="mailto:freeswitch-users@lists.freeswitch.org">FreeSWITCH Users Help</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 03, 2011 3:22 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] 
  mode_nibblebill and mod_conference</DIV>
  <DIV><BR></DIV>According to the wiki (and page 251 of the FS book, which has 
  this exact same example) you need something like this:
  <DIV><BR></DIV>
  <DIV><PRE>&lt;action application="bridge" data="{enable_heartbeat_events=5,nibble_rate=1,nibble_account=0838833133}sofia/external/$<A href="mailto:nibble_account=0838833133}sofia/external/$1@tel.co.th">1@tel.co.th</A>"/&gt;</PRE></DIV>
  <DIV>The link is&nbsp;<A 
  href="http://wiki.freeswitch.org/wiki/Mod_nibblebill#Bill_base_on_B_leg_Only">http://wiki.freeswitch.org/wiki/Mod_nibblebill#Bill_base_on_B_leg_Only</A></DIV>
  <DIV><BR></DIV>
  <DIV>In your example I don't know that you necessarily have a b-leg. How are 
  you getting the call to the conference? Do you use originate? Or is it an 
  inbound call?</DIV>
  <DIV>-MC<BR><BR>
  <DIV class=gmail_quote>On Mon, Jan 3, 2011 at 11:30 AM, Madovsky <SPAN 
  dir=ltr>&lt;<A 
  href="mailto:infos@madovsky.org">infos@madovsky.org</A>&gt;</SPAN> wrote:<BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>
    <DIV bgcolor="#ffffff">
    <DIV><FONT size=2>in mod_nibblebill wiki page</FONT></DIV>
    <UL>
      <LI>Q: Can you bill based on a multi-call B-Leg, where you have, say a 
      conference call with multiple people on it? 
      <UL>
        <LI>Yes, see answer above re: B-Leg and not A-Leg. </LI></UL></LI></UL>
    <DIV><FONT size=2>but if I have this in my dialplan</FONT></DIV>
    <DIV><FONT size=2></FONT>&nbsp;</DIV>
    <DIV><FONT size=2>&nbsp;&nbsp;&nbsp; &lt;extension 
    name="conference"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    &lt;condition field="destination_number" 
    expression="^conference$"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    &lt;action application="export" 
    data="nolocal:nibble_account=${dest_nibble_account}"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    &lt;action application="export" 
    data="nolocal:nibble_rate=0.03"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    &lt;action application="sleep" 
    data="3000"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    &lt;action 
    application="answer"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    &lt;!-- &lt;action application="speak" data="cepstral|cepstral|connecting 
    your call to the conference"/&gt; 
    --&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    &lt;action application="conference" data="<A 
    href="mailto:$%7Bdest_nibble_account%7D-$$%7Bdomain%7D@default+$%7Bdest_conf_pin%7D%22/" 
    target=_blank>${dest_nibble_account}-$${domain}@default+${dest_conf_pin}"/</A>&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    &lt;/condition&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;</FONT></DIV>
    <DIV><FONT size=2></FONT>&nbsp;</DIV>
    <DIV><FONT size=2>it doesn't work</FONT></DIV>
    <DIV>
    <DIV></DIV>
    <DIV class=h5>
    <DIV><FONT size=2></FONT>&nbsp;</DIV>
    <DIV><BR></DIV>
    <BLOCKQUOTE 
    style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" 
    dir=ltr>
      <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
      <DIV style="FONT: 10pt arial; BACKGROUND: #e4e4e4"><B>From:</B> <A 
      title=infos@madovsky.org href="mailto:infos@madovsky.org" 
      target=_blank>Madovsky</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>To:</B> <A 
      title=freeswitch-users@lists.freeswitch.org 
      href="mailto:freeswitch-users@lists.freeswitch.org" 
      target=_blank>freeswitch-users@lists.freeswitch.org</A> </DIV>
      <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, January 03, 2011 2:21 
      PM</DIV>
      <DIV style="FONT: 10pt arial"><B>Subject:</B> mode_nibblebill and 
      mod_conference</DIV>
      <DIV><BR></DIV>
      <DIV><FONT size=2>Is nibblebill works with conference ?</FONT></DIV>
      <DIV><FONT size=2>I tried to set nibble_account and nibble_rate without 
      success</FONT></DIV>
      <DIV><FONT size=2></FONT>&nbsp;</DIV>
      <DIV><FONT 
    size=2>Thanks</FONT></DIV></BLOCKQUOTE></DIV></DIV></DIV><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></BLOCKQUOTE></DIV><BR></DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>FreeSWITCH-users 
  mailing 
  list<BR>FreeSWITCH-users@lists.freeswitch.org<BR>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<BR>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<BR>http://www.freeswitch.org<BR></BLOCKQUOTE></BODY></HTML>