[Freeswitch-users] More Nibblebill questions
Avi Marcus
avi at avimarcus.net
Sun Dec 1 06:48:04 MSK 2013
Did you set nibble account on the b leg? Both vars are required I believe.
<variable name="nibble_rate" value="0.03"/>
<variable name="nibble_account" value="18238"/>
-Avi
On Dec 1, 2013 12:11 AM, "Andrew Cassidy" <andrew at cassidywebservices.co.uk>
wrote:
> So this is starting to get complicated and it looks like I might have to
> write some lua to do this...
>
> So, say I want to bridge a freephone number to both a landline and a
> mobile in parallel. All 3 potential legs need different call rates, only 2
> will be used when the call is picked up, of course, and I ideally need the
> CDR and cost for each leg separate. Here's an idea of what I have so far:
>
> <action application="set" data="nibble_rate=0.01" />
> <action application="bridge"
> data="[nibble_rate=0.01]sofia/gateway/x/landline,[nibble_rate=0.06]sofia/gateway/x/mobile"
> />
>
> This doesn't work, and neither does setting the variables nolocal.
>
> Can this be done in this way?
>
> I can probably work around this by exporting the incoming rate as nolocal
> and the outgoing rate on the incoming channel. Confusing but might actually
> work.
>
> --
> *Andrew Cassidy BSc (Hons) MBCS SSCA*
> Managing Director
>
>
> *T <info at cassidywebservices.co.uk> *03300 100 960 *F
> <info at cassidywebservices.co.uk> *03300 100 961
> *E <info at cassidywebservices.co.uk> *andrew at cassidywebservices.co.uk
> *W <info at cassidywebservices.co.uk> *www.cassidywebservices.co.uk
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131201/8b089117/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list