[Asterisk-Users] Simple question about ringing multiple phones (extensions)?

Ronald Wiplinger ronald at elmit.com
Sat Jan 28 01:54:31 MST 2006


Martin Joseph wrote:
> Hey Gurus,
>
> I have a very simple asterisk setup that basically lets me share a 
> PSTN line from one location to another.  I would like to have the 
> phones at both locations ring when the PSTN # is dialed(inbound calls 
> from PSTN to asterisk).
>
> I tried something like:
>
> exten => 2020,2,Dial(SIP/2005,25,tr&IAX/2010,25,tr)
>
> I thought this might cause both 2005 and 2010 to ring when 2020 was 
> dialed,  but only 2005 rings?
>
Below works for me:

PHONE_LOCAL=${PHONE_601}&${PHONE_602}&${PHONE_603}
PHONE_601=SIP/601                ; office 601  Ronald
PHONE_602=SIP/602                ; office 602  Ronald
PHONE_603=ZAP/1r1                ; living room 603 cordless

For you this should work too:

exten => 2020,2,Dial(SIP/2005&IAX/2010,25,tr)

bye

Ronald Wiplinger




More information about the asterisk-users mailing list