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?

LVL 1
jetli87Asked:
Who is Participating?
 
grbladesCommented:
> User 2 = Ext. 403, SIP username: 401
I assume you mean
User 2 = Ext. 403, SIP username: 403
If thats the case then yes it will work.

The SIP username just defines the particular phone and line.
For any given extension number you can make it ring whatever phone(s) you wish.
0
 
grbladesCommented:
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.
0
 
jetli87Author Commented:
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.



0
 
jetli87Author Commented:
always the help Grblades, thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.