Link to home
Start Free TrialLog in
Avatar of jetli87
jetli87

asked on

Ringing Multi-lined IP phones with Shared SIP accounts on Asterisk System

Hi Asterisk Experts,

I have a few Linksys SPA941 phones that have 4 lines per phone.

i want to configure (for example) 2 phones with the following:

phone 1:
     line 1:  ext 200
     line 2:  ext 300

phone 2:
     line 1: ext 201
     line 2: ext 300

I want line 2 on both phones to ring when someone calls ext 300.

right now, the phone that registered last on the Asterisk box is the only phone that rings.

what do i need to do?

Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

Firstly an extension number and the SIP username the phone is configured to connect as are two independant things.

Therefore you could have :-

phone 1:
     line 1:  phone1line1
     line 2:  phone1line2

phone 2:
     line 1: phone2line1
     line 2: phone2line2

Note that line2 on both phones connect as a different name. The names and associated passwords are configured in sip.conf


Then in extensions.conf you would have something like :-

exten => 200,1,Dial(SIP/phone1line1,15)
exten => 201,1,Dial(SIP/phone2line1,15)
exten => 300,1,Dial(SIP/phone1line2&SIP/phone2line2,15)

Its the different syntax of the last line which causes it to ring both phones at the same time.
Avatar of jetli87
jetli87

ASKER

Hey grblades,

my current config:

example:
==========================================
User 1 = Ext.  400, SIP username: 400
User 2 = Ext. 401, SIP username: 401
User 3 = Ext. 402, SIP username: 402

Linksys SPA941 Phone 1:
       Line1= 400
       Line2=401

Linksys SPA941 Phone 2:
       Line1= 402
       Line2=401

exten => 5555551234,1,Dial(SIP/401,20)
===========================================



But from what you're saying, correct me if i'm wrong, I should something like the following:
==========================================
User 1 = Ext.  400, SIP username: 400
User 2 = Ext. 401, SIP username: 401
User 2 = Ext. 403, SIP username: 401
User 3 = Ext. 402, SIP username: 402

Linksys SPA941 Phone 1:
       Line1= 400
       Line2=401

Linksys SPA941 Phone 2:
       Line1= 402
       Line2=403

exten => 5555551234,1,Dial(SIP/401&SIP/403,20)
===========================================

correct?

if not,  please suggest a better way to config.

thanks in advance.



ASKER CERTIFIED SOLUTION
Avatar of grblades
grblades
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jetli87

ASKER

always the help Grblades, thanks!