<div dir="ltr">I don&#39;t think it is possible...<div style>I&#39;m trying to do this in the dialplan:</div><div style><br></div><div style><br></div><div style><div>                &lt;condition field=&quot;destination_number&quot; expression=&quot;^.*&quot;&gt;</div>

<div>                    &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=NO_ROUTE_DESTINATION,UNALLOCATED_NUMBER,407&quot; /&gt;</div><div>                    &lt;action application=&quot;set&quot; data=&quot;sip_from_user=1001&quot; /&gt;</div>

<div>                    &lt;action application=&quot;set&quot; data=&quot;sip_auth_username=1001&quot; /&gt;</div><div>                    &lt;action application=&quot;set&quot; data=&quot;sip_req_user=1001&quot; /&gt;</div>

<div>                    &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot; /&gt;</div><div>                    &lt;action application=&quot;set&quot; data=&quot;nibble_rate=0.0500&quot; /&gt;</div>

<div>                    &lt;action application=&quot;set&quot; data=&quot;nibble_db_table=cards_table&quot; /&gt;</div><div>                    &lt;action application=&quot;set&quot; data=&quot;nibble_db_column_cash=balance&quot; /&gt;</div>

<div>                    &lt;action application=&quot;set&quot; data=&quot;nibble_db_column_account=pin&quot; /&gt;</div><div>                    &lt;action application=&quot;set&quot; data=&quot;nibble_account=12345&quot; /&gt;</div>

<div>                    &lt;action application=&quot;set&quot; data=&quot;gw=${distributor(TEST_ROUTE)}&quot; /&gt;</div><div>                    &lt;action application=&quot;nibblebill&quot; data=&quot;heartbeat 10&quot; /&gt;</div>

<div>                    &lt;action application=&quot;limit&quot; data=&quot;hash $${domain} $${domain} ${sip_auth_username} 1 !NORMAL_TEMPORARY_FAILURE&quot; /&gt;</div><div>                    &lt;action application=&quot;export&quot; data=&quot;execute_on_answer=nibblebill adjust -0.1000&quot; /&gt;</div>

<div>                    &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/${gw}/0013058883&quot; /&gt;</div><div>                &lt;/condition&gt;</div><div><br></div><div><br></div><div style>and I still see:</div>

<div style><br></div><div style><br></div><div style><br></div><div style>[UPDATE sip_users SET balance=balance-0.010867 WHERE id=&#39;12345&#39;]<br></div><div style><br></div><div style><br></div><div style>I should note that &quot;sip_users&quot; is the db_table I setup in &quot;nibblebill.conf.xml&quot;...</div>

<div style><br></div><div style>Has anyone tried doing this??</div><div style><br></div><div style><br></div><div style>I want use use nibblebill to deduct monet from 2 different tables depending on the context, so I thought I could try setting the db_table, db_column_cash and db_column_account in the contex...</div>

<div style><br></div><div style>thanks</div><div style><br></div><div style><br></div><div style><br></div><div style>David</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 14, 2013 at 3:14 PM, David Villasmil <span dir="ltr">&lt;<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello guys,<br>
<br>
Is it possible to use different billing tables for different applications?<br>
<br>
Say i have 2 different context on which i want to use different tables for balance.<br>
<br>
<br>
Thanks!<br>
<span class="HOEnZb"><font color="#888888"><br>
David</font></span></blockquote></div><br></div>