[Asterisk-Users] redirect different phone number to different IP phone

Andrew Thompson asteriskuser at aktzero.com
Fri Jan 28 07:25:55 MST 2005


Video Dery / Internet du Royaume wrote:
> Hi
> 
> I have a simple question but I cannot find the answer.
> 
> I have a line with 2 different phone numbers

What kind of line?

There has been some questions in the last day or so about DNIS, so I'm 
not sure that it can be done on inbound analog lines.

> I want to redirect each phone number called to a different IP phone
> 
> Example
> 
> Someone calls 5551234 and the call is redirected to IP phone 192.168.0.2
> Someone calls 5551235 and the call is redirected to IP phone 192.168.0.3

exten=>5551234,1,Dial(SIP/phone1)
exten=>5551235,1,Dial(SIP/phone2)

Customize accordingly...

-- 
Andrew Thompson
http://aktzero.com/
http://dev.asteriskdocs.org/



More information about the asterisk-users mailing list