VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
dome at tel.co.th Guest
|
Posted: Sat Jul 18, 2009 1:22 am Post subject: [Freeswitch-users] Nibble bill in B Leg |
|
|
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
|
Posted: Sat Jul 18, 2009 4:53 am Post subject: [Freeswitch-users] Nibble bill in B Leg |
|
|
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 |
|
|
|
|
|
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
|