[asterisk-users] registration limit
Andrew Joakimsen
joakimsen at gmail.com
Wed Oct 8 02:14:58 CDT 2008
Maybe you can write your own patch that will allow this based on the
useragent somehow mapping it to 2nd peer based on the useragent? But
this feature is not there now.
What will happen when host=dynamic is the last registration will be
the one used, so if you have two SIP devices trying to register at the
same time they will "fight" for the registration. Both will probably
be able to dial outbound, but only one will get the inbound calls.
The easiest way to accomplish what you want is to setup 2 SIP friends
for each user. In your dialplan, setup as follows:
Dial(SIP/USER1-1&SIP/USER1-2,90,r)
Where you have USER1-1 and USER1-2 in your sip.conf. You simply can
append more SIP (or IAX or ZAP or even LOCAL/) endpoints using the
ampersand (&). If one device is offline the other will still ring as
normal.
On Wed, Oct 8, 2008 at 12:11 AM, Nhadie <nhadie at gmail.com> wrote:
> Hi,
>
> Is there a way to limit only one registration for each user at a time?
> meaning if a user tries to register, but that user is already
> registered. i will deny?
>
> or is it possible to for a single user at the same time, and when
> someone calls that user, it will ring both phones?
>
> Just want something whereby a user can assign his extension on an IP
> phone in the office, and assign the same thing maybe to a softphone on
> his laptop or maybe a sip client on a mobile phone. so that whenever he
> leaves the office he can still be reach on his extension via the
> sotphone. thank you.
>
More information about the asterisk-users
mailing list