RE: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread Gregory Duchatelet
Hi,

It seems that they both can make calls, but only one can receive call: the
last registered...

Greg

 Hi all,
   What will happen if 2 devices using the same set of sip account to
 connect to the same asterisk?  Do they both can make call?  Can they
 receive call as normal?
 ___
 --Bandwidth and Colocation provided by Easynews.com --
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread Johansson Olle E


19 dec 2006 kl. 11.58 skrev Gregory Duchatelet:


Hi,

It seems that they both can make calls, but only one can receive  
call: the

last registered...

Greg


Hi all,
  What will happen if 2 devices using the same set of sip account to
connect to the same asterisk?  Do they both can make call?  Can they
receive call as normal?
___
--Bandwidth and Colocation provided by Easynews.com --

In Asterisk, you should only have one phone per account. We do not  
support
multiple devices per account. The PBX core needs to know how many  
devices

that we are calling each time we access it.

/O
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread rilawich ango

It seems that Greg is truth for the case.  Asterisk doesn't care how
many devices register to the same account as it is a feature of sip
protocol (please let me know if there is a method to restrict it).

In my case, I use a soft phone an hard phone using the same sip
account information to register to the same asterisk.  Soft phone
register first and then hard phone register later.  I dial the number
and hard phone ring.  Then I disconnect hard phone and expect soft
phone will be ring after a couple of time.  However, soft phone didn't
ring as the call is failed.  I issue database showkey
SIP/Registry/sip account in CLI.  It displays the information which
belongs to hard phone.  That's mean asterisk will keep the information
of hard phone even it is disconnected with ignoring the soft phone
registration.  Does asterisk can be set to refresh its registry in a
couple of time to remove the old registry record?

On 12/19/06, Johansson Olle E [EMAIL PROTECTED] wrote:


19 dec 2006 kl. 11.58 skrev Gregory Duchatelet:

 Hi,

 It seems that they both can make calls, but only one can receive
 call: the
 last registered...

 Greg

 Hi all,
   What will happen if 2 devices using the same set of sip account to
 connect to the same asterisk?  Do they both can make call?  Can they
 receive call as normal?
 ___
 --Bandwidth and Colocation provided by Easynews.com --

In Asterisk, you should only have one phone per account. We do not
support
multiple devices per account. The PBX core needs to know how many
devices
that we are calling each time we access it.

/O
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread Peder @ NetworkOblivion
It doesn't have anything to do with hardphone versus softphone.  The 
issue is that it can only keep track of one registration per account. 
When the hardphone gets unplugged, it will not know about the softphone 
until it registers with asterisk.  It's initial registration was lost 
when the hardphone registered with the same info.


rilawich ango wrote:

It seems that Greg is truth for the case.  Asterisk doesn't care how
many devices register to the same account as it is a feature of sip
protocol (please let me know if there is a method to restrict it).

In my case, I use a soft phone an hard phone using the same sip
account information to register to the same asterisk.  Soft phone
register first and then hard phone register later.  I dial the number
and hard phone ring.  Then I disconnect hard phone and expect soft
phone will be ring after a couple of time.  However, soft phone didn't
ring as the call is failed.  I issue database showkey
SIP/Registry/sip account in CLI.  It displays the information which
belongs to hard phone.  That's mean asterisk will keep the information
of hard phone even it is disconnected with ignoring the soft phone
registration.  Does asterisk can be set to refresh its registry in a
couple of time to remove the old registry record?

On 12/19/06, Johansson Olle E [EMAIL PROTECTED] wrote:


19 dec 2006 kl. 11.58 skrev Gregory Duchatelet:

 Hi,

 It seems that they both can make calls, but only one can receive
 call: the
 last registered...

 Greg

 Hi all,
   What will happen if 2 devices using the same set of sip account to
 connect to the same asterisk?  Do they both can make call?  Can they
 receive call as normal?
 ___
 --Bandwidth and Colocation provided by Easynews.com --

In Asterisk, you should only have one phone per account. We do not
support
multiple devices per account. The PBX core needs to know how many
devices
that we are calling each time we access it.

/O
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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




--

Network stuff you didn't know
http://www.networkoblivion.com

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread Carla Schroder
Your phones only register once, when they first start up. Seems to me that 
having multiple phones on the same account is asking for trouble- why not set 
up multiple accounts in the usual way, and create a ring group for all the 
phones you want to use? Like this example that rings two phones at the same 
time:

exten = 100,1,Dial(SIP/101SIP/102,30,t)
exten = 100,2,VoiceMail([EMAIL PROTECTED])

There are all kinds of fancy variations on this theme, but the idea is the 
same: one user with many phones, one extension, one voicemail box.

On Tuesday 19 December 2006 8:18 am, rilawich ango wrote:
 It seems that Greg is truth for the case.  Asterisk doesn't care how
 many devices register to the same account as it is a feature of sip
 protocol (please let me know if there is a method to restrict it).

 In my case, I use a soft phone an hard phone using the same sip
 account information to register to the same asterisk.  Soft phone
 register first and then hard phone register later.  I dial the number
 and hard phone ring.  Then I disconnect hard phone and expect soft
 phone will be ring after a couple of time.  However, soft phone didn't
 ring as the call is failed.  I issue database showkey
 SIP/Registry/sip account in CLI.  It displays the information which
 belongs to hard phone.  That's mean asterisk will keep the information
 of hard phone even it is disconnected with ignoring the soft phone
 registration.  Does asterisk can be set to refresh its registry in a
 couple of time to remove the old registry record?

 On 12/19/06, Johansson Olle E [EMAIL PROTECTED] wrote:
  19 dec 2006 kl. 11.58 skrev Gregory Duchatelet:
   Hi,
  
   It seems that they both can make calls, but only one can receive
   call: the
   last registered...
  
   Greg
  
   Hi all,
 What will happen if 2 devices using the same set of sip account to
   connect to the same asterisk?  Do they both can make call?  Can they
   receive call as normal?
   ___
   --Bandwidth and Colocation provided by Easynews.com --
 
  In Asterisk, you should only have one phone per account. We do not
  support
  multiple devices per account. The PBX core needs to know how many
  devices
  that we are calling each time we access it.
 
  /O

-- 
~
Carla Schroder
Linux geek and random computer tamer
check out my Linux Cookbook! 
http://www.oreilly.com/catalog/linuxckbk/
best book for sysadmins and power users
~
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread René Enskat

how isit possible to get the VM there when one line is busy?

regards rene

On Tue, 19 Dec 2006 09:48:01 -0800
 Carla Schroder [EMAIL PROTECTED] wrote:
Your phones only register once, when they first start up. Seems to me that 
having multiple phones on the same account is asking for trouble- why not 
set 
up multiple accounts in the usual way, and create a ring group for all the 
phones you want to use? Like this example that rings two phones at the same 
time:


exten = 100,1,Dial(SIP/101SIP/102,30,t)
exten = 100,2,VoiceMail([EMAIL PROTECTED])

There are all kinds of fancy variations on this theme, but the idea is the 
same: one user with many phones, one extension, one voicemail box.


On Tuesday 19 December 2006 8:18 am, rilawich ango wrote:

It seems that Greg is truth for the case.  Asterisk doesn't care how
many devices register to the same account as it is a feature of sip
protocol (please let me know if there is a method to restrict it).

In my case, I use a soft phone an hard phone using the same sip
account information to register to the same asterisk.  Soft phone
register first and then hard phone register later.  I dial the number
and hard phone ring.  Then I disconnect hard phone and expect soft
phone will be ring after a couple of time.  However, soft phone didn't
ring as the call is failed.  I issue database showkey
SIP/Registry/sip account in CLI.  It displays the information which
belongs to hard phone.  That's mean asterisk will keep the information
of hard phone even it is disconnected with ignoring the soft phone
registration.  Does asterisk can be set to refresh its registry in a
couple of time to remove the old registry record?

On 12/19/06, Johansson Olle E [EMAIL PROTECTED] wrote:
 19 dec 2006 kl. 11.58 skrev Gregory Duchatelet:
  Hi,
 
  It seems that they both can make calls, but only one can receive
  call: the
  last registered...
 
  Greg
 
  Hi all,
What will happen if 2 devices using the same set of sip account to
  connect to the same asterisk?  Do they both can make call?  Can they
  receive call as normal?
  ___
  --Bandwidth and Colocation provided by Easynews.com --

 In Asterisk, you should only have one phone per account. We do not
 support
 multiple devices per account. The PBX core needs to know how many
 devices
 that we are calling each time we access it.

 /O


--
~
Carla Schroder
Linux geek and random computer tamer
check out my Linux Cookbook! 
http://www.oreilly.com/catalog/linuxckbk/

best book for sysadmins and power users
~
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread Noah Miller

Hi Rene -


how isit possible to get the VM there when one line is busy?


If I understand your question correctly, the answer is you need two
incoming phone lines.


- Noah
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread Carla Schroder
Hmm, I don't know what happens when one of the lines is busy and none of the 
lines get answered. It's easy enough to test. If it doesn't go to voicemail, 
then perhaps this is what you want:

http://www.voip-info.org/wiki/view/Asterisk+tips+findme

On Tuesday 19 December 2006 9:58 am, René Enskat wrote:
 how isit possible to get the VM there when one line is busy?

 regards rene

 On Tue, 19 Dec 2006 09:48:01 -0800

   Carla Schroder [EMAIL PROTECTED] wrote:
  Your phones only register once, when they first start up. Seems to me
  that having multiple phones on the same account is asking for trouble-
  why not set
  up multiple accounts in the usual way, and create a ring group for all
  the phones you want to use? Like this example that rings two phones at
  the same time:
 
  exten = 100,1,Dial(SIP/101SIP/102,30,t)
  exten = 100,2,VoiceMail([EMAIL PROTECTED])
 
  There are all kinds of fancy variations on this theme, but the idea is
  the same: one user with many phones, one extension, one voicemail box.

-- 
~
Carla Schroder
Linux geek and random computer tamer
check out my Linux Cookbook! 
http://www.oreilly.com/catalog/linuxckbk/
best book for sysadmins and power users
~
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread René Enskat
nothing happen it only let ring all lines which are not in use but i want that 
the busy vm message is coming when one line is busy.


On Tue, 19 Dec 2006 10:55:34 -0800
 Carla Schroder [EMAIL PROTECTED] wrote:
Hmm, I don't know what happens when one of the lines is busy and none of the 
lines get answered. It's easy enough to test. If it doesn't go to voicemail, 
then perhaps this is what you want:


http://www.voip-info.org/wiki/view/Asterisk+tips+findme

On Tuesday 19 December 2006 9:58 am, René Enskat wrote:

how isit possible to get the VM there when one line is busy?

regards rene

On Tue, 19 Dec 2006 09:48:01 -0800

  Carla Schroder [EMAIL PROTECTED] wrote:
 Your phones only register once, when they first start up. Seems to me
 that having multiple phones on the same account is asking for trouble-
 why not set
 up multiple accounts in the usual way, and create a ring group for all
 the phones you want to use? Like this example that rings two phones at
 the same time:

 exten = 100,1,Dial(SIP/101SIP/102,30,t)
 exten = 100,2,VoiceMail([EMAIL PROTECTED])

 There are all kinds of fancy variations on this theme, but the idea is
 the same: one user with many phones, one extension, one voicemail box.


--
~
Carla Schroder
Linux geek and random computer tamer
check out my Linux Cookbook! 
http://www.oreilly.com/catalog/linuxckbk/

best book for sysadmins and power users
~
___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread Aaron Daniel
We use this function regularly (you should see my phone's
dialstring...).  If one phone responds that it's unavailable, the rest
of the phones will still ring through.  In the event that none of the
other phones are answered, the extension is considered unanswered, so
depending on how you program your dialplan, the call will go to the
unavailable voicemail.  If you watch the CLI in this situation, you'll
see Asterisk try all the devices in the group at the same time, and
it'll just bypass any devices that are unavailable.

Also, the problem with multiple phones registering with Asterisk at the
same name is that Asterisk only stores the information about the device
once, and is overwritten with each subsequent register.  If you have a
softphone and a hardphone both registered, whichever one has a faster
re-register rate will win out over the slower one.  The only way around
this is through the call groups, as several people have stated.

Aaron

On Tue, 2006-12-19 at 10:55 -0800, Carla Schroder wrote:
 Hmm, I don't know what happens when one of the lines is busy and none of the 
 lines get answered. It's easy enough to test. If it doesn't go to voicemail, 
 then perhaps this is what you want:
 
 http://www.voip-info.org/wiki/view/Asterisk+tips+findme
 
 On Tuesday 19 December 2006 9:58 am, René Enskat wrote:
  how isit possible to get the VM there when one line is busy?
 
  regards rene
 
  On Tue, 19 Dec 2006 09:48:01 -0800
 
Carla Schroder [EMAIL PROTECTED] wrote:
   Your phones only register once, when they first start up. Seems to me
   that having multiple phones on the same account is asking for trouble-
   why not set
   up multiple accounts in the usual way, and create a ring group for all
   the phones you want to use? Like this example that rings two phones at
   the same time:
  
   exten = 100,1,Dial(SIP/101SIP/102,30,t)
   exten = 100,2,VoiceMail([EMAIL PROTECTED])
  
   There are all kinds of fancy variations on this theme, but the idea is
   the same: one user with many phones, one extension, one voicemail box.

-- 
Aaron Daniel
Senior Voice Analyst
Sam Houston State University
[EMAIL PROTECTED]
(936) 294-4198

___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread René Enskat

yes thats we i use 100,a,b,c etc.
do you can mail me your extensions how you do the dials and the vm?

regards rene

On Tue, 19 Dec 2006 13:15:53 -0600
 Aaron Daniel [EMAIL PROTECTED] wrote:

We use this function regularly (you should see my phone's
dialstring...).  If one phone responds that it's unavailable, the rest
of the phones will still ring through.  In the event that none of the
other phones are answered, the extension is considered unanswered, so
depending on how you program your dialplan, the call will go to the
unavailable voicemail.  If you watch the CLI in this situation, you'll
see Asterisk try all the devices in the group at the same time, and
it'll just bypass any devices that are unavailable.

Also, the problem with multiple phones registering with Asterisk at the
same name is that Asterisk only stores the information about the device
once, and is overwritten with each subsequent register.  If you have a
softphone and a hardphone both registered, whichever one has a faster
re-register rate will win out over the slower one.  The only way around
this is through the call groups, as several people have stated.

Aaron

On Tue, 2006-12-19 at 10:55 -0800, Carla Schroder wrote:
Hmm, I don't know what happens when one of the lines is busy and none of the 
lines get answered. It's easy enough to test. If it doesn't go to voicemail, 
then perhaps this is what you want:


http://www.voip-info.org/wiki/view/Asterisk+tips+findme

On Tuesday 19 December 2006 9:58 am, René Enskat wrote:
 how isit possible to get the VM there when one line is busy?

 regards rene

 On Tue, 19 Dec 2006 09:48:01 -0800

   Carla Schroder [EMAIL PROTECTED] wrote:
  Your phones only register once, when they first start up. Seems to me
  that having multiple phones on the same account is asking for trouble-
  why not set
  up multiple accounts in the usual way, and create a ring group for all
  the phones you want to use? Like this example that rings two phones at
  the same time:
 
  exten = 100,1,Dial(SIP/101SIP/102,30,t)
  exten = 100,2,VoiceMail([EMAIL PROTECTED])
 
  There are all kinds of fancy variations on this theme, but the idea is
  the same: one user with many phones, one extension, one voicemail box.


--
Aaron Daniel
Senior Voice Analyst
Sam Houston State University
[EMAIL PROTECTED]
(936) 294-4198

___
--Bandwidth and Colocation provided by Easynews.com --

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


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] 2 devices using same sip account

2006-12-19 Thread Gordon Henderson

On Tue, 19 Dec 2006, Carla Schroder wrote:


Your phones only register once, when they first start up. Seems to me that
having multiple phones on the same account is asking for trouble- why not set
up multiple accounts in the usual way, and create a ring group for all the
phones you want to use? Like this example that rings two phones at the same
time:

exten = 100,1,Dial(SIP/101SIP/102,30,t)
exten = 100,2,VoiceMail([EMAIL PROTECTED])

There are all kinds of fancy variations on this theme, but the idea is the
same: one user with many phones, one extension, one voicemail box.


I've been setting up a few systems recently with a SIP account and an IAX 
account (same passwords, CLI, etc.) and having the users use a SIP 
hardphone for the office desk, and an IAX (idefisk) softphone for 
out-of-office calls. (My Dial() calls both accounts, so both phones ring)


It saves hassles with NAT, etc. for remote SIP phones too.

No good if you only have SIP phones though!

Gordon
___
--Bandwidth and Colocation provided by Easynews.com --

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