[Freeswitch-users] Set nibblebill variables on B-leg
Yuriy Ivzhenko
yivzhenko at mksat.net
Thu May 14 00:19:01 PDT 2009
Thanks for answer, i try to
<action application="info"/>
<action application="bridge" data="[nibble_rate=1]sofia/gateway/ProviderGW/$num"/>
but it not resolve my problem.
Billing still begins on A-leg before the B-leg answered. So, bill time include ringback time.
Here is some debug output:
EXECUTE ............... info()
...
Unique-ID: [9441ad16-3fce-11de-baaf-f74f6eef9491]
...
...
[DEBUG] switch_ivr_originate.c:1708 switch_ivr_originate() Play Ringback File [local_stream://rb_music1]
[DEBUG] mod_local_stream.c:346 local_stream_file_open() Opening Stream [rb_music1] 8000hz
[DEBUG] mod_nibblebill.c:459 event_handler() Received request via SESSION_HEARTBEAT!
[DEBUG] mod_nibblebill.c:345 do_billing() Attempting to bill at $6.00000 per minute to account 3
[INFO] mod_nibblebill.c:387 do_billing() Beginning new billing on 9441ad16-3fce-11de-baaf-f74f6eef9491
[DEBUG] mod_nibblebill.c:395 do_billing() 0 seconds passed since last bill time of 2009-05-13 17:58:55
[DEBUG] mod_nibblebill.c:402 do_billing() Billing $0.036643 to 3 (Call: 9441ad16-3fce-11de-baaf-f74f6eef9491 / 0.000000 so far)
On Wednesday 13 May 2009 16:46:37 Rupa Schomaker wrote:
> Put them on the dialstring:
>
> application="bridge" data="{nibblevar1=val1,nibblevar2=val2}sofia/blah...."
>
> On Wed, May 13, 2009 at 5:32 AM, Yuriy Ivzhenko <yivzhenko at mksat.net> wrote:
> > Hi All,
> >
> > I want to use mod_nibblebill for billing outgoing calls.
> >
> > My problem is billing begins before other paty answers the call.
> >
> > The WiKi tells: "You need to set the billing variables on your outbound
> > calling leg and NOT on your A-Leg."
> >
> > How i can set nibblebill variables when B-leg connects?
> >
> > _______________________________________________
> > 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/20090514/0fcc2fe1/attachment-0002.html
More information about the FreeSWITCH-users
mailing list