Solved

How To Share An Extension Between An IP Phone and Softphone?

Posted on 2008-09-30
7
716 Views
Last Modified: 2013-11-12
I am looking for a way to share an extension between my IP phone and a softphone.

I don't want to get into a situation where they are fighting for the registration of the phone number, I would like it so that if I am out with my laptop my softphone can be connected with out it disconnecting my IP phone.  So ideally the call could be answered on either the soft phone or the IP phone.

I know this can be done in Asterisk with a Call Queue, or ringing 2 different extensions at once, but what I want is 1 phone number that can be answered on both phones with out disconnecting each other and fighting for the registration.  So essentially I want to share the "line" as it were.

Is this possible to do?
0
Comment
Question by:purestealth
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 19

Expert Comment

by:feptias
ID: 22609251
Asterisk does not allow two SIP devices to register using the same credentials - at least, only the most recent registration details are stored and the previous details get overwritten (what you refer to as "fighting for the registration").

However, as you point out, the dial plan does allow several devices to be be rung at the same time using a single call to the Dial command. Why don't you just have different registration details for the softphone and the IP phone, and then accommodate the multiple-ringing of those devices within your dial plan?
0
 

Author Comment

by:purestealth
ID: 22609324
The way the system is coded right now it dials one extension, the idea here was not to have to assign a new extension just for the soft phone.

As to residential accounts, it would mean I would have to assign a second phone number for the soft phone - this solution is messy and not cost effective.

Any other ideas how one could go about accomplishing this task?

Thanks!
0
 
LVL 19

Expert Comment

by:feptias
ID: 22612257
If you are trying to set up a VoIP service that you are running as a business then I suggest you look at OpenSER (now called Opensips) which is a proxy server that supports multiple registrations. I would use it alongside Asterisk - they perform different and complimentary roles.

If, on the other hand, you are trying to set up a one-off office telephone system that can support home based/roaming users who also have a desk phone in the office, then it will make more sense to find a solution using the tricks available in the Asterisk dial plan. Are you clear about the differences between SIP device ID, SIP account credentials and dial plan extension phone numbers? Understanding this is the key to designing a neat and logical dial plan. I could put together some sample CONF file snippets to explain this if you like - let me know.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:purestealth
ID: 22613758
Hello

When you say the differences between "SIP device ID, SIP account credentials and dial plan extension phone numbers" I am clear on the account details (UN/SECRET) and Dial Plan Ext/Num, but not sure what your trying to get at with SIP device ID.

Sure I would be happy to see a sample CONF, it may spark some ideas, thanks in advance.
0
 
LVL 19

Expert Comment

by:feptias
ID: 22613889
In SIP.CONF you define the devices like this:
[deviceid1]
username=UN1
secret=pass1
etc
[deviceid2]
username=UN2
secret=pass2
etc

In EXTENSION.CONF you could then define the dial plan like this:
[mycontext]
exten => 2300,1,Dial(SIP/deviceid1&SIP/deviceid2|30)

and it would ring both SIP devices at the same tiime whenever the dialled number is 2300. So you could say that the extension number is 2300 (because that is what you dial to call it) but it will actually ring two different SIP devices. Those two SIP devices don't have to use 2300 as their username (in the registration credentials) and they don't have to use 2300 as their device ID.
0
 
LVL 19

Accepted Solution

by:
feptias earned 500 total points
ID: 22614028
Normally, the SIP device ID and the extension number would be the same. Furthermore, the IP phone may even reject the INVITE from Asterisk if the username and extension number don't match. However, because the entities are independent within Asterisk it means you can do tricks like this:

SIP.CONF:
[2300desk]
type=friend
username=2300desk
secret=pass1
etc
[2300soft]
type=friend
username=2300soft
secret=pass2
etc

EXTENSION.CONF:
[mycontext]
exten => _2XXX,1,Dial(SIP/${EXTEN}desk&SIP/${EXTEN}soft|30)
0
 

Author Comment

by:purestealth
ID: 22614202
Its funny I was just thinking the same thing as you as you posted your last comment.

I would try OpenSER, but I hear its a beast to learn and has a real learning curve.  I found Asterisk easy to learn but I also spend a lot of time with it.  I hear some good things about OpenSER, I just don't know how to admin it or configure it, so yea it likely leaves me with Asterisk and its bag of tricks.

Thanks again!
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
Why do some people recommend buying business VoIP from an ISP? What are the benefits to my company? What are the costs?
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question