[Asterisk-Users] Trunk Dialing rules

bails bails at westcomuk.com
Wed Oct 19 08:10:49 MST 2005


Hi i have posted before about this problem, and have had several 
suggestions, that i can use contexts to overcome this.

The situation. Asterisk at home 1.5

I have 3 sets of users say sales, admin and tech with the numbers

sales    200 201
admin     202 203
tech   204 205

They all need to be able to ring each other hence they are all in 
[ext-local]

Each group has its own trunk, which is unavailable to other users, at 
this point I am failing.  If i make say sales members of [ext-local-1], 
admin members of [ext-local-2] and tech members of [ext-local-3], they 
cannot call each other until i add then to

[ext-local]
include => ext-local-1
include => ext-local-2
include => ext-local-3

then of course thay can call each other, the trouble is they can then 
call [all-routes-outbound] which is not what i want.

if i remove [all-routes-outbound]
noone can call out over the trunks.

so i create
[from-internal-local-1]
include => ext-local-1
include => outbound-outrt-1  ;iax route out 1

and
[from-internal]
include => from-internal-local-1

However this means that anyone can dial out over outbound-outrt-1

Which is what i was trying to avoid in the outset.

Is this possible with aa at h?

if so how? (my head is bruised from repeatedly banging it against the wall)

<wishlist>
I would love to have this funtionality available from the amportal, 
something like add extensions totrunks.
</wishlist>

Thanks

Bails



More information about the asterisk-users mailing list