[Freeswitch-users] Limit is not working when originate a call
Anthony Minessale
anthony.minessale at gmail.com
Mon Jul 27 07:36:26 PDT 2009
I suggest you study FS more because if you can't tell what to do with the
info provided
you have some fundamentals to review before proceeding.
On Mon, Jul 27, 2009 at 2:59 AM, Eli Hayun <elihayun at gmail.com> wrote:
> Anthony Minessale wrote:
> >> limit is for inbound calls
> >> you cannot call it after you already made the call.
> >> The correct approach would be to not make the call at all.
> >>
> >> you could maybe use the limit FSAPI interface with apiExecute to check
> >> if the limit was exceeded and
> >> then not bother to place the call to begin with.
> >>
> >> otherwise it's sort of like putting a prisoner in the electric chair
> >> then giving him his trial.
> >>
> >>
> >>
> Can you tell me how to do that?
> I set the limit as:
> <action application="limit_hash" data="${destination_number}
> ${destination_number} 1" />
> Now, how do I know what is the current limit of ${destination_number}
> Can you give me a JS (or lua) example?
> Thanks
> Eli
>
> _______________________________________________
> 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
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090727/22895d3e/attachment-0002.html
More information about the FreeSWITCH-users
mailing list