[asterisk-users] forward calls by the ports
Steve Howes
steve-lists at geekinter.net
Tue Feb 8 10:14:09 CST 2011
On 8 Feb 2011, at 14:52, mehran khajavi wrote:
> i searched a lot but i couldn't find the answer
.
> i have two openvox(fxo/fxs) card so I have 24 ports!
Ok!
> on first card i have 12 fxs and on the second i have 12 fxo
> i want to then one person calling from dahdi/13 forward it to dahdi/1
> when a person calling from dahdi/14 forward it to dahdi/2
> when a person calling from dahdi/15 forward it to dahdi/3
> ........
> how can i do this?
You dont need a PBX for that... Just plug the phones into the line?..
> i should make an AGI? or can i make it with extentions.conf? how can i get the caller's port number?
You could do either. extensions.conf is more sensible. Put ports in different contexts / use channel variables. How to do this is probably in the extensive documentation you've been studying.
S
More information about the asterisk-users
mailing list