Hi all, Is it possible to set the maximum number of simultaneous calls on an IAX trunk? I want to allow a maximum of 4 calls on our IAX trunk to a remote office, and then route any additional calls over the PSTN after that. I was thinking of keeping track of a count using the AstDB, but I'm not sure how this would go if I had 4 calls incoming on the IAX trunk... Anyone implemented something like this? Marc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060302/b7da88e7/attachment.htm
i would say it's definately doable as AMP has a "max outgoing lines" option in it's settings when you're configuring a trunk. ----- Original Message ----- From: Marc Archer To: asterisk-users@digium.com Sent: Friday, March 03, 2006 8:56 AM Subject: [Asterisk-Users] Setting Max Calls on an IAX trunk Hi all, Is it possible to set the maximum number of simultaneous calls on an IAX trunk? I want to allow a maximum of 4 calls on our IAX trunk to a remote office, and then route any additional calls over the PSTN after that. I was thinking of keeping track of a count using the AstDB, but I'm not sure how this would go if I had 4 calls incoming on the IAX trunk. Anyone implemented something like this? Marc. ------------------------------------------------------------------------------ _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060302/b616b4cb/attachment.htm
You'll want to check the docco against the "SetGroup" and "CheckGroup" applications, although I think these have been deprecated in favour of a 'variable' type approach now. Regards, Mark -----Original Message----- From: Marc Archer [mailto:marc@archernet.id.au] Sent: Friday, 3 March 2006 9:57 AM To: asterisk-users@digium.com Subject: [Asterisk-Users] Setting Max Calls on an IAX trunk Hi all, Is it possible to set the maximum number of simultaneous calls on an IAX trunk? I want to allow a maximum of 4 calls on our IAX trunk to a remote office, and then route any additional calls over the PSTN after that. I was thinking of keeping track of a count using the AstDB, but I'm not sure how this would go if I had 4 calls incoming on the IAX trunk. Anyone implemented something like this? Marc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060303/0d3fefd0/attachment.htm