Hi, I have several asterisk pstn gateways running, each with at least 2 e1 pri circuits connected. I wonder if there's a way to block incoming calls on the pri's, in such way that my telco sends the call to one of the other pri's (all the pri's are together in a 'hunt group', calls get evenly distributed). The cli command 'stop gracefully' did not work. Calls send to that gateway d?d get blocked, but I heard a message from my telco saying 'the number you have dialed is not in use', instead of getting connnected to the next gateway. I read some old discussion regarding the same, or related issue, but did not see any results. ('How to busy out PRI channels?' on asterisk-dev, end 2006) thanks, Egbert Groot.
----- "Egbert" <wegbert at dds.nl> wrote:> I have several asterisk pstn gateways running, each with at least 2 e1 > pri circuits connected. I wonder if there's a way to block incoming > calls on the pri's,I have been working on this functionality and have development branches that are ready for testing before they get committed to trunk. ?I'd love to hear some feedback if you can take the time to test the branches. ?Here are the links to the branches: libpri - http://svn.digium.com/svn/libpri/team/dhubbard/issue3450_to_commit Asterisk - http://svn.digium.com/svn/asterisk/team/group/issue3450 you will need DAHDI: http://svn.digium.com/svn/dahdi/linux/trunk http://svn.digium.com/svn/dahdi/tools/trunk If you test the branches, please provide feedback via http://bugs.digium.com/view.php?id=3450 I also want to reiterate that the libpri and Asterisk branches above are development branches, so be careful in a production environment. ?This functionality will be available in Asterisk 1.6.2. ?To disable a channel via the CLI type 'pri service disable channel <chan>' and to enable the channel type 'pri service enable channel <chan>'. good luck! Dwayne Hubbard
----- "Jay R. Ashworth" <jra at baylink.com> wrote:> 1) can you do it "graceful"ly (both that and immediate are sometimes > useful)?Right now you can only disable an idle channel.> 2) can you take down either an entire span, or a channel range on the > command line?This functionality will be added after the current development branches are merged into trunk. ?I'm capping the feature creep on these branches so we can get this functionality tested and committed.> (Oh yeah: can I backport it to 1.2? ?:-)You probably could but I don't know how cleanly the patches will apply. -Dwayne.