[Freeswitch-users] nibblebill schedule

Madovsky infos at madovsky.org
Mon Jan 3 09:32:48 MSK 2011


it seems also that the transfer action in nibblebill conf

<param name="nobal_action" value="trial XML features"/>

is more a execute_extension that a transfer application ?
  ----- Original Message ----- 
  From: Madovsky 
  To: FreeSWITCH Users Help 
  Sent: Monday, January 03, 2011 12:58 AM
  Subject: Re: [Freeswitch-users] nibblebill schedule


  I tried this :

  nibblebill.conf
  <param name="nobal_action" value="trial XML features"/>

  dialplan feature
          <extension name="trial">
                  <condition field="destination_number" expression="^trial$">
                          <action application="set" data="trial_mode=true"/>
                          <anti-action application="set" data="trial_mode=false"/>
                  </condition>
                  <condition>
                          <action application="transfer" data="${sip_to_uri} XML default"/>
                  </condition>
          </extension>

  but it makes a wonderful loop....

    ----- Original Message ----- 
    From: Rupa Schomaker 
    To: FreeSWITCH Users Help 
    Sent: Sunday, January 02, 2011 9:18 PM
    Subject: Re: [Freeswitch-users] nibblebill schedule


    Right, the call is transfered to the nobal extension so there is no more processing of the "original" dialplan.  Perhaps set a channel var that you can query in the nobal extension if necessary?


    On Sun, Jan 2, 2011 at 6:04 PM, Madovsky <infos at madovsky.org> wrote:

      Hi Rupa,

      I want to understand the logical.
      if I understand when the user is under the nobal param 
      nibblebill takes the precedence of any dilaplan right ?
      if yes so it means that the only solution is to find a way in the extension
      of nobal action...

      Thanks to correct me if I'm wrong
        ----- Original Message ----- 
        From: Rupa Schomaker 
        To: FreeSWITCH Users Help 
        Sent: Monday, December 27, 2010 5:27 PM
        Subject: Re: [Freeswitch-users] nibblebill schedule


        Look at setting up nibblebill in paused mode, then use the schedule api to take nibblebill out of pause mode after 30s. 


        http://wiki.freeswitch.org/wiki/Mod_nibblebill#Pause
        http://wiki.freeswitch.org/wiki/Mod_commands (look for sched_api)


        On Sat, Dec 25, 2010 at 10:22 AM, Madovsky <infos at madovsky.org> wrote:

          ha ok,
          the concept I thought is to let user to call 30s as a trial and
          start niblebill after this time.... does it need to modify the mod_nibblebill source code ?

          Thanks

          F
            ----- Original Message ----- 
            From: Rupa Schomaker 
            To: FreeSWITCH Users Help 
            Sent: Saturday, December 25, 2010 8:38 AM
            Subject: Re: [Freeswitch-users] nibblebill schedule


            I don't see how without change. 


            You have no idea how fast the $$ is being nibbled away by other calls.  So, while you can account for a 30s buffer in the current call using the current rate, the more calls that are up for that account the more "off" the 30s estimate will be.  


            On Fri, Dec 24, 2010 at 11:58 AM, Madovsky <infos at madovsky.org> wrote:

              Is it possible to schedule the transfer to nibblebill nobal_action ?
              I'd like to schedule of 30s before the call is cut and go to nobal_action extension

              thanks



            -- 
            -Rupa



--------------------------------------------------------------------


            _______________________________________________
            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



          _______________________________________________
          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





        -- 
        -Rupa



------------------------------------------------------------------------


        _______________________________________________
        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



      _______________________________________________
      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





    -- 
    -Rupa



----------------------------------------------------------------------------


    _______________________________________________
    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/20110103/6468477f/attachment-0001.html 


More information about the FreeSWITCH-users mailing list