[Freeswitch-users] More Nibblebill questions
Andrew Cassidy
andrew at cassidywebservices.co.uk
Sun Dec 1 01:11:48 MSK 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131130/48a1a6c2/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list