[Asterisk-Users] HELP - How Do I Separate incoming channels from
the others on a PRI
C F
shmaltz at gmail.com
Sun Sep 4 09:22:55 MST 2005
This is something that you wouldn't have any control over in most
cases. Your provider is the one that is sending the lines over the
whole PRI, they don't and shouldn't care about which channel it comes
over, they would use some system like gGrR that you can use in
Asterisk to send it to the next available channel, but not over a
specific one.
For your problem the easiest workaround would be to have extensions
setup in extensions.conf for your fax numbers, and use the setgroup
checkgroup apps to make sure that you don't use more than 3 channels
at onece for the 4th channel you can use the Busy or congestion app to
the PRI so that the caller gets a busy or circuit busy tone.
On 9/4/05, Derrick Stensrud <dstensrud at worleyco.com> wrote:
> Okay, here is the background. I have a PRI with 15 active channels on
> it. I originally setup all of them in group=1 and all outgoing and
> incoming calls used this group. The phone number that I have associated
> with these channels ends with 750 and that is how I direct the calls.
> i.e. In my extensions.conf I have:
>
> exten => 750,1,Dial(SIP/120,20)
>
> All this works fine. Now I have the need to separate out three of the
> channels (13-15). I am using the associated phone number ending in 767
> for this purpose. I have currently changed the zapata.conf to look like
> this:
>
> signalling=pri_cpe
> switchtype=national
> echocancel=yes
> echocancelwhenbridged=yes
> echotraining=yes
> callerid=asreceived
> group=1
> context=default
> channel=>1-12
> group=2
> context=fax
> channel=>13-15
>
> To my understanding this is supposed to separate channels 1-12 into
> group 1 and channels 13-15 into group 2. If that is true, that's fine,
> but it doesn't help me with my current issue. This is what I would
> like... When a call comes into the phone number ending in 750 it uses
> up the 12 channels in the first group, and when a call comes into the
> phone number ending in 767 it uses the 3 channels in group 2 AND USES NO
> MORE CHANNELS, only those three. The reason for all of this is that I
> have faxing through asterisk working and want those last three channels
> used for faxing but I do not want the fax lines eating up all my
> channels and leaving none for voice calls. My Company has evacuated from Hurricane Katrina and any help you can provide would be greatly appreciated. Thanks in advance.
>
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list