JIRA! <span></span><br><br>On Monday, December 29, 2014, Jason Sia &lt;<a href="mailto:jsia18@gmail.com">jsia18@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I&#39;ve encountered the same problem before. This patch might help you.</div><div><br></div><div><a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2010-October/064319.html" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/2010-October/064319.html</a><br></div><div><br></div><div>Thanks,</div><div>Jason</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 29, 2014 at 3:13 PM, Luis Daniel Lucio Quiroz <span dir="ltr">&lt;<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;luis.daniel.lucio@gmail.com&#39;);" target="_blank">luis.daniel.lucio@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<br>
<br>
Using LCR+nibblebill works, but sometimes leg-b does not hang up.<br>
<br>
I see this when this unwanted behaviour happens<br>
<br>
[SELECT balance AS nibble_balance FROM v_billings WHERE type_value=&#39;mydomian&#39;]<br>
2014-12-29 01:35:25.558121 [DEBUG] mod_nibblebill.c:428 Retrieved<br>
current balance for account mydomain (balance = -4.545400)<br>
2014-12-29 01:35:25.558121 [DEBUG] switch_core_state_machine.c:528<br>
(sofia/external/1800XXXXXXX) State ROUTING going to sleep<br>
2014-12-29 01:35:25.578118 [DEBUG] switch_ivr_originate.c:3684<br>
Originate Cancelled by originator termination Cause: 487<br>
[ORIGINATOR_CANCEL]<br>
2014-12-29 01:35:25.578118 [NOTICE] switch_ivr_originate.c:2708 Cannot<br>
create outgoing channel of type [lcr] cause: [ORIGINATOR_CANCEL]<br>
2014-12-29 01:35:25.578118 [DEBUG] switch_ivr_originate.c:3695<br>
Originate Resulted in Error Cause: 487 [ORIGINATOR_CANCEL]<br>
<br>
<br>
LCR is loaded and working.  Could it be that events are asyncronous<br>
and sometimes niblebill gets the first hit?<br>
<br>
Odd thing is that this is random, and using same variables.  I mean,<br>
same caller, to same callee, same carrier, same LCR rate.<br>
<br>
I pass this variables:<br>
2014-12-29 01:35:17.658127 [DEBUG] switch_event.c:1688 Parsing<br>
variable [lcr_carrier]=[Flowroute]<br>
2014-12-29 01:35:17.658127 [DEBUG] switch_event.c:1688 Parsing<br>
variable [lcr_rate]=[0.00000]<br>
2014-12-29 01:35:17.658127 [DEBUG] switch_event.c:1688 Parsing<br>
variable [lcr_user_rate]=[0.01900]<br>
2014-12-29 01:35:17.658127 [DEBUG] switch_event.c:1688 Parsing<br>
variable [nibble_account]=[mydomain]<br>
2014-12-29 01:35:17.658127 [DEBUG] switch_event.c:1688 Parsing<br>
variable [nibble_rate]=[0.01900]<br>
2014-12-29 01:35:17.658127 [DEBUG] switch_event.c:1688 Parsing<br>
variable [lcr_first_increment]=[6]<br>
2014-12-29 01:35:17.658127 [DEBUG] switch_event.c:1688 Parsing<br>
variable [lcr_second_increment]=[6]<br>
2014-12-29 01:35:17.658127 [DEBUG] switch_event.c:1688 Parsing<br>
variable [lcr_user_first_increment]=[6]<br>
2014-12-29 01:35:17.658127 [DEBUG] switch_event.c:1688 Parsing<br>
variable [lcr_user_second_increment]=[6]<br>
2014-12-29 01:35:17.658127 [DEBUG] switch_event.c:1688 Parsing<br>
variable [nobal_amt]=[-0.010000]<br>
<br>
<br>
As I said, i use same variables and the behaviour is erratic.   All my<br>
tests are the same, I dont change any variable.<br>
<br>
Is this a nibble bug?  Let me know what kind of info you need to file<br>
a bug in jira.<br>
<br>
LD<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" target="_blank">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></div>
</blockquote><br><br>-- <br><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div><br>