Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Nibble bill in B Leg


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dome at tel.co.th
Guest





PostPosted: Sat Jul 18, 2009 1:22 am    Post subject: [Freeswitch-users] Nibble bill in B Leg Reply with quote

Dear sir,

I found some problem when try to enable nibblebill in B-Leg
My Dialplan

<action application="bridge"
data="{nibble_rate=1,nibble_account=0838833133}sofia/external/191$1@203.xxx.xxx.xxx"
/>

problem is niblle do nothing until hanup call. i try to debug
nibblebill and found some issue. nibblebill can't get billrate ,
billaccount from channel

billrate = switch_channel_get_variable(channel, "nibble_rate");
billaccount = switch_channel_get_variable(channel, "nibble_account");
if (!billrate || !billaccount) {
return SWITCH_STATUS_SUCCESS;
}


Dome C.

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
dome at tel.co.th
Guest





PostPosted: Sat Jul 18, 2009 4:53 am    Post subject: [Freeswitch-users] Nibble bill in B Leg Reply with quote

I found enable_heartbeat_events variable can help this case.

<action application="bridge"
data="{enable_heartbeat_events=5,nibble_rate=1,nibble_account=0838833133}sofia/external/$1@tel.co.th"/>

it's work fine.
I update http://wiki.freeswitch.org/wiki/Mod_nibblebill already

Dome C.

2009/7/18 Dome Charoenyost <dome@tel.co.th>:
Quote:
Dear sir,

     I found some problem when try to enable nibblebill in B-Leg
     My Dialplan

     <action application="bridge"
data="{nibble_rate=1,nibble_account=0838833133}sofia/external/191$1@203.xxx.xxx.xxx"
/>

     problem is niblle do nothing until hanup call. i try to debug
nibblebill and found some issue. nibblebill can't get billrate ,
billaccount from channel

       billrate = switch_channel_get_variable(channel, "nibble_rate");
       billaccount = switch_channel_get_variable(channel, "nibble_account");
       if (!billrate || !billaccount) {
               return SWITCH_STATUS_SUCCESS;
       }


Dome C.


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services