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

Walt Reed asterisk at linuxguy.com
Fri Jan 28 08:13:45 MST 2005


On Fri, Jan 28, 2005 at 09:25:55AM -0500, Andrew Thompson said:
> 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...

If on analog, you may be able to use distinctive ringing (zapata.conf)
There are examples in the config file.

Note that I think the dring code is limited to one zap interface which
is unfortunate.



More information about the asterisk-users mailing list