[Freeswitch-users] mod limit for duplicate concurrent calls.

Vitaly Nikolaev nvitaly at gmail.com
Wed Jan 4 08:17:01 MSK 2012


You need to check limit in dial plan before it hit conference, here is example:

  <extension name="limit_exceeded">
    <condition field="destination_number" expression="^limit_exceeded$">
      <action application="playback" data="ivr/ivr-call_rejected.wav"/>
      <action application="hangup"/>
    </condition>
  </extension>

  <extension name="conference_test_limit" continue="true">
    <condition field="destination_number" expression="^999$">
        <action application="limit" data="hash ${sip_auth_username} ${destination_number} 1"/>
    </condition>
  </extension>

  <extension name="conference_test">
    <condition field="destination_number" expression="^999$">
        <action application="conference" data="3002"/>
    </condition>
  </extension>


if same phone call 999 more then one time, it will get to limit_exceeded ext.



On Jan 3, 2012, at 7:53 PM, Rodney wrote:

> thanks Vitaly,
> 
> could someone tell me what date weekly call rupa talked about mod limit? i really would like to setup a method to hangup or transfer to a wav before hanging up anyone trying to call in with the same number ie. three way.  if this indeed could work. where would i set this mod limit at? on the inbound extension or on the gateway. thanks.
> 
> 
> From: "freeswitch-users-request at lists.freeswitch.org" <freeswitch-users-request at lists.freeswitch.org>
> To: freeswitch-users at lists.freeswitch.org 
> Sent: Tuesday, December 27, 2011 8:32 PM
> Subject: FreeSWITCH-users Digest, Vol 66, Issue 177
> 
> ----- Forwarded Message -----
> 
> Send FreeSWITCH-users mailing list submissions to
>     freeswitch-users at lists.freeswitch.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> or, via email, send a message with subject or body 'help' to
>     freeswitch-users-request at lists.freeswitch.org
> 
> You can reach the person managing the list at
>     freeswitch-users-owner at lists.freeswitch.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of FreeSWITCH-users digest..."
> 
> Today's Topics:
> 
>   1. Re: prevention of duplicate calls. (Vitaly Nikolaev)
>   2. Re: sangoma A200 with mod_freetdm on windows?! (Tamer Higazi)
>   3. Re: sangoma A200 with mod_freetdm on windows?! (John)
>   4. Re: Call log - multiple entries CDR?? Billing? (curriegrad2004)
> Hello,
> 
> You can try to use mod_limit
> 
> http://wiki.freeswitch.org/wiki/Mod_limit
> 
> hash by callerid+callid and set limit 1 call
> 
> PS: i never used that this way but it might work
> 
> 
> 
> 
> On Tue, Dec 27, 2011 at 1:11 PM, Rodney <notlikeme75 at yahoo.com> wrote:
> is there a method using xml that i can prevent callers three waying themselves. I find some idiots will do this so they can "produce" feedback into a conference room. I would like the system to automatically determine that they are already on the ivr and send them to a recorded message and hangup. or maybe auto hanging up the first call in case of "accidentals" from voips not hanging up  and continuing the first call.
> 
> 
> 
> 
> _________________________________________________________________________
> 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
> 
> 
> 
> 
> -- 
> -- 
> Vitaly Nikolaev
> Hi Moises!
> I allready sent one:
> 
> http://support.sangoma.com/index.php?/Tickets/Ticket/View/460
> 
> they haven't replied since 2 days :(
> 
> 
> Tamer
> 
> Am 27.12.2011 20:17, schrieb Moises Silva:
> > On Mon, Dec 26, 2011 at 9:00 PM, Tamer Higazi <th982a at googlemail.com
> > <mailto:th982a at googlemail.com>> wrote:
> > 
> >    Hi people!
> >    I got my A200 board running with 1 FXS module on Linux along with
> >    mod_freetdm, but I am facing problems getting it to run on Windows. From
> >    Sangoma I followed the instructions to set up the board on Windows7
> >    winpipe module, which works so far.
> > 
> >    How do I get freeswitch with mod_freetdm to run on Windows that I can
> >    make use of the board (pbx) on a win machine?
> > 
> > 
> > You may want to send an email to Sangoma support. They are working
> > already in a wiki page for Windows setup, in the meantime they can help
> > you with instructions via email.
> > 
> > *Moises Silva
> > **/Software Engineer, Development Manager/***
> > 
> > msilva at sangoma.com <mailto:msilva at sangoma.com>
> > 
> > Sangoma Technologies
> > 
> > 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada
> > 
> >     
> > 
> > 
> > t.  +1 800 388 2475 (N. America)
> > 
> > t.  +1 905 474 1990 x128
> > 
> > f.  +1 905 474 9223
> > 
> >  
> > 
> >     
> > 
> > **
> > <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures>
> > 
> > Products
> > <http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Solutions
> > <http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Events
> > <http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Contact
> > <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Wiki
> > <http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Facebook
> > <http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures> | Twitter
> > <http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`|
> > | YouTube
> > <http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
> > 
> >                VegaStream is now part of Sangoma!
> > <http://sangoma.com/about_us/newsroom/news_releases/news/1488795/Sangoma_Acquires_All_Key_Assets_of_VegaStream.html>
> > 
> >                Ask us about both Gateway Appliances
> > <http://sangoma.com/products/media_gateways/vega.html> and Internal
> > Gateways
> > <http://sangoma.com/products/software_products/netborder_suite/netborder_express.html>
> > 
> > 
> > 
> > _________________________________________________________________________
> > 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
> 
> 
> 
> Tamer,
> 
> This is linked from the Sangoma Support front page:
> 
> http://support.sangoma.com/index.php?/News/NewsItem/View/1/sangoma-holiday-schedule
> 
> John
> 
> On 27/12/11 23:51, Tamer Higazi wrote:
> > Hi Moises!
> > I allready sent one:
> >
> > http://support.sangoma.com/index.php?/Tickets/Ticket/View/460
> >
> > they haven't replied since 2 days :(
> >
> >
> > Tamer
> >
> > Am 27.12.2011 20:17, schrieb Moises Silva:
> >> On Mon, Dec 26, 2011 at 9:00 PM, Tamer Higazi<th982a at googlemail.com
> >> <mailto:th982a at googlemail.com>>  wrote:
> >>
> >>      Hi people!
> >>      I got my A200 board running with 1 FXS module on Linux along with
> >>      mod_freetdm, but I am facing problems getting it to run on Windows. From
> >>      Sangoma I followed the instructions to set up the board on Windows7
> >>      winpipe module, which works so far.
> >>
> >>      How do I get freeswitch with mod_freetdm to run on Windows that I can
> >>      make use of the board (pbx) on a win machine?
> >>
> >>
> >> You may want to send an email to Sangoma support. They are working
> >> already in a wiki page for Windows setup, in the meantime they can help
> >> you with instructions via email.
> >>
> >> *Moises Silva
> >> **/Software Engineer, Development Manager/***
> >>
> >> msilva at sangoma.com<mailto:msilva at sangoma.com>
> >>
> >> Sangoma Technologies
> >>
> >> 100 Renfrew Drive, Suite 100, Markham, ON L3R 9R6 Canada
> >>
> >>     
> >>
> >>
> >> t.  +1 800 388 2475 (N. America)
> >>
> >> t.  +1 905 474 1990 x128
> >>
> >> f.  +1 905 474 9223
> >>
> >>
> >>
> >>     
> >>
> >> **
> >> <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email+signatures>
> >>
> >> Products
> >> <http://sangoma.com/products?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>  | Solutions
> >> <http://sangoma.com/solutions?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>  | Events
> >> <http://sangoma.com/about_us/events?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>  | Contact
> >> <http://www.sangoma.com/contact?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>  | Wiki
> >> <http://wiki.sangoma.com/?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>  | Facebook
> >> <http://www.facebook.com/pages/Sangoma-VoIP-Cards/43578453335?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>  | Twitter
> >> <http://www.twitter.com/sangoma?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>`|
> >> | YouTube
> >> <http://www.youtube.com/sangomatechnologies?utm_source=signature&utm_medium=email&utm_campaign=email%2Bsignatures>
> >>
> >>                  VegaStream is now part of Sangoma!
> >> <http://sangoma.com/about_us/newsroom/news_releases/news/1488795/Sangoma_Acquires_All_Key_Assets_of_VegaStream.html>
> >>
> >>                  Ask us about both Gateway Appliances
> >> <http://sangoma.com/products/media_gateways/vega.html>  and Internal
> >> Gateways
> >> <http://sangoma.com/products/software_products/netborder_suite/netborder_express.html>
> >>
> >>
> >>
> >> _________________________________________________________________________
> >> 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
> >
> > _________________________________________________________________________
> > 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
> >
> >
> 
> 
> 
> This looks like a misconfigured box. Try setting the cdr_csv.conf.xml conf file's legs param to a only:
> 
> <param name="legs" value="a"/>
> 
> If it is using XML CDR's then you'll need to go into the xml_cdr.conf.xml and set this param:
>     <param name="log-b-leg" value="true"/>
> to false
>     <param name="log-b-leg" value="false"/>
> 
> All of the configuration files can be found under the autoload_configs in the conf root of your FreeSWITCH configuration folder... assuming you are using the default dialplan configuration
> 
> On Tue, Dec 27, 2011 at 4:10 AM, Sherif Omran <sherifomran2000 at yahoo.com> wrote:
> out	 1002	1002	1001	12/27/2011 11:30:48 am	 0:00:47	Details
> out	 1002	1002	1001	12/27/2011 11:30:48 am	0:00:47	Details
> 
> 
> Call logs are duplicated for 1 call? How can i prevent this?
> 
> 
> 
> 
> 
> --- On Tue, 12/27/11, curriegrad2004 <curriegrad2004 at gmail.com> wrote:
> 
> From: curriegrad2004 <curriegrad2004 at gmail.com>
> Subject: Re: [Freeswitch-users] Call log - multiple entries CDR?? Billing?
> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> Date: Tuesday, December 27, 2011, 6:33 AM
> 
> xml_cdr does the job just fine... uuid_bridge is what you may want to be looking for
> 
> On Mon, Dec 26, 2011 at 7:20 PM, Sherif Omran <sherifomran2000 at yahoo.com> wrote:
> Hi,
> 
> I have the CDR enabled and see multiple logs for the same call. Can any body recommend a call log that works fine and could be extended to be used for billing?
> 
> thanks in advance
> 
> regards,
> Sherif Omran
> 
> 
> _________________________________________________________________________
> 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
> 
> 
> 
> -----Inline Attachment Follows-----
> 
> 
> _________________________________________________________________________
> 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
> 
> _________________________________________________________________________
> 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
> 
> 
> 
> _______________________________________________
> 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
> 
> 
> _________________________________________________________________________
> 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/20120104/6c949aa2/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list