<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">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="mailto:luis.daniel.lucio@gmail.com" 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="mailto:consulting@freeswitch.org">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="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></div>