Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Registration of multiple SIP-clients for the same extensions


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
lyle at lcrcomputer.net
Guest





PostPosted: Mon May 26, 2008 1:36 pm    Post subject: [asterisk-users] Registration of multiple SIP-clients for th Reply with quote

The two SIP devices can not share the same SIP registration to
accomplish what you want. You can dial both SIP devices from one dial
command.

For instance, You assign the user extension 120 and SIP device 120a and
120b and dial both devices when you call out to extension 1234.

Lyle
stephan schneider wrote:
Quote:
Hello,

we want to setup the following scenario:

- each user has a softphone AND a hardphone
- the softphone is started with the operating system
- the hardphone is connected all the time using SIP
- only ONE extension for each user

Both phones should ring when the user is called.

We've setup an asterisk 1.4.18 and at the moment only
the last registered client rings.


In Asterisk 1.2 the setup worked, but it does not longer
in 1.4...

# sip.conf

[general]
bindport = 5060 ; Port to bind to (SIP is 5060)


bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)


disallow=all


allow=ulaw


allow=alaw


tos=0x68


notifyringing=yes


notifyhold=yes


limitonpeers=yes

[120]
type=friend


secret=secret


record_out=Adhoc


record_in=Adhoc


qualify=yes


port=5060


pickupgroup=


nat=yes


mailbox=120 at default


host=dynamic


dtmfmode=inband


disallow=


dial=SIP/120


context=from-internal


canreinvite=no


callgroup=


callerid=device <120>


allow=


accountcode=


call-limit=50


Maybe someone has an idea how to setup the scenario without using
ringgroups...


Thanks a lot,
Stefan



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
mwatson at becon.org
Guest





PostPosted: Mon May 26, 2008 1:51 pm    Post subject: [asterisk-users] Registration of multiple SIP-clients for th Reply with quote

I think the way you are going to have to do this is by having 2 separate SIP peers for each user, 1 for the softphone, 1 for the hardphone.

Then your dialplan is going to be something like:

exten => 999,1,Dial(SIP/120&SIP/121)

where "999" is their extension number and "120" and "121" are the names of the SIP peers for the soft & hardphones.

--
Matt
http://www.mattgwatson.ca

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of stephan schneider
Sent: Monday, May 26, 2008 11:58 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Registration of multiple SIP-clients for the same extensions

Hello,

we want to setup the following scenario:

- each user has a softphone AND a hardphone
- the softphone is started with the operating system
- the hardphone is connected all the time using SIP
- only ONE extension for each user

Both phones should ring when the user is called.

We've setup an asterisk 1.4.18 and at the moment only
the last registered client rings.
In Asterisk 1.2 the setup worked, but it does not longer
in 1.4...

# sip.conf

[general]
bindport = 5060 ; Port to bind to (SIP is 5060)


bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)


disallow=all


allow=ulaw


allow=alaw


tos=0x68


notifyringing=yes


notifyhold=yes


limitonpeers=yes

[120]
type=friend


secret=secret


record_out=Adhoc


record_in=Adhoc


qualify=yes


port=5060


pickupgroup=


nat=yes


mailbox=120 at default


host=dynamic


dtmfmode=inband


disallow=


dial=SIP/120


context=from-internal


canreinvite=no


callgroup=


callerid=device <120>


allow=


accountcode=


call-limit=50


Maybe someone has an idea how to setup the scenario without using
ringgroups...


Thanks a lot,
Stefan



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
eric at fnords.org
Guest





PostPosted: Mon May 26, 2008 2:15 pm    Post subject: [asterisk-users] Registration of multiple SIP-clients for th Reply with quote

We use the MAC of the device as it's SIP user ID with -a, -b, -c, etc
appended to it to indicated the individual call appearances.

An extension is totally separate and different from a SIP peer. An
extension is a set of numbers you dial. Those numbers, when received by
the Asterisk tells Asterisk where in the dialplan to send the call. The
call can then be routed to an IVR, a SIP device, an IAX2 device, etc.

Matt Watson wrote:
Quote:
I think the way you are going to have to do this is by having 2 separate SIP peers for each user, 1 for the softphone, 1 for the hardphone.

Then your dialplan is going to be something like:

exten => 999,1,Dial(SIP/120&SIP/121)

where "999" is their extension number and "120" and "121" are the names of the SIP peers for the soft & hardphones.

--
Matt
http://www.mattgwatson.ca

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of stephan schneider
Sent: Monday, May 26, 2008 11:58 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Registration of multiple SIP-clients for the same extensions

Hello,

we want to setup the following scenario:

- each user has a softphone AND a hardphone
- the softphone is started with the operating system
- the hardphone is connected all the time using SIP
- only ONE extension for each user

Both phones should ring when the user is called.

We've setup an asterisk 1.4.18 and at the moment only
the last registered client rings.


In Asterisk 1.2 the setup worked, but it does not longer
in 1.4...

# sip.conf

[general]
bindport = 5060 ; Port to bind to (SIP is 5060)


bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)


disallow=all


allow=ulaw


allow=alaw


tos=0x68


notifyringing=yes


notifyhold=yes


limitonpeers=yes

[120]
type=friend


secret=secret


record_out=Adhoc


record_in=Adhoc


qualify=yes


port=5060


pickupgroup=


nat=yes


mailbox=120 at default


host=dynamic


dtmfmode=inband


disallow=


dial=SIP/120


context=from-internal


canreinvite=no


callgroup=


callerid=device <120>


allow=


accountcode=


call-limit=50


Maybe someone has an idea how to setup the scenario without using
ringgroups...


Thanks a lot,
Stefan



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users



--
Consulting for Asterisk, Polycom, Sangoma, Digium, Cisco, LAN, WAN, QoS,
T-1, PRI, Frame Relay, Linux, and network design. Based near
Birmingham, AL. Now accepting clients worldwide.
Back to top
picstef at freenet.de
Guest





PostPosted: Tue May 27, 2008 6:46 am    Post subject: [asterisk-users] Registration of multiple SIP-clients for th Reply with quote

Hey Matt, hey Lyle,

thanks for your suggestions... Thanks for you suggestions!

Unfortunately we're going to use elastix - and maybe changing
the extensions.conf isn't such a good idea...

What I've found out about the old system - where the multi-ring does
work - is that it is setup using SER...

So maybe SER is the solution... Has anyone experiences setting up
SER or OpenSER into an existing installation?
Thanks again,
Stefan


Matt Watson schrieb:
Quote:
I think the way you are going to have to do this is by having 2 separate SIP peers for each user, 1 for the softphone, 1 for the hardphone.

Then your dialplan is going to be something like:

exten => 999,1,Dial(SIP/120&SIP/121)

where "999" is their extension number and "120" and "121" are the names of the SIP peers for the soft & hardphones.

--
Matt
http://www.mattgwatson.ca

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of stephan schneider
Sent: Monday, May 26, 2008 11:58 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Registration of multiple SIP-clients for the same extensions

Hello,

we want to setup the following scenario:

- each user has a softphone AND a hardphone
- the softphone is started with the operating system
- the hardphone is connected all the time using SIP
- only ONE extension for each user

Both phones should ring when the user is called.

We've setup an asterisk 1.4.18 and at the moment only
the last registered client rings.


In Asterisk 1.2 the setup worked, but it does not longer
in 1.4...

# sip.conf

[general]
bindport = 5060 ; Port to bind to (SIP is 5060)


bindaddr = 0.0.0.0 ; Address to bind to (all addresses on machine)


disallow=all


allow=ulaw


allow=alaw


tos=0x68


notifyringing=yes


notifyhold=yes


limitonpeers=yes

[120]
type=friend


secret=secret


record_out=Adhoc


record_in=Adhoc


qualify=yes


port=5060


pickupgroup=


nat=yes


mailbox=120 at default


host=dynamic


dtmfmode=inband


disallow=


dial=SIP/120


context=from-internal


canreinvite=no


callgroup=


callerid=device <120>


allow=


accountcode=


call-limit=50


Maybe someone has an idea how to setup the scenario without using
ringgroups...


Thanks a lot,
Stefan



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services