[asterisk-users] asterisk users
Danny Nicholas
danny at debsinc.com
Fri Jul 24 09:28:51 CDT 2009
Set John's defaultip to 192.168.1.1 in sip.conf
Defaultip=192.168.1.1
This should "tie" john to that IP address.
_____
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of harry R
Sent: Friday, July 24, 2009 9:23 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] asterisk users
Hi
I have a new question. Here the situation :
I use softphone on 2 computers (soft1 and soft2) located on the same
subnetwork.
When I register on asterisk server using soft1 with one user (e.g JOHN)
which I declared in sip.conf I can register again with this same user using
soft2.
Is it normal ?
I notice that I can pass some call from both but incoming call for JOHN user
only arrive on the last softphone where JOHN registred.
How can I say to asterisk server : "don't accept other registration for JOHN
if you see that he's already registred on another softphone" ?
Here a sample of my sip.conf file :
[JOHN]
type=friend
username=john_smith
secret=******
qualify=yes
nat=yes
host=dynamic
canreinvite=no
context=internal
callerid="john smith" <103>
Here a simple of CLI command sip show peers after 2 succesive registration
## register from soft1 with JOHN" ##
Name/username Host Dyn Nat ACL Port Status
JOHN/john_smith 192.168.1.1 D N 5060 OK (3ms)
## register from soft2 with JOHN" at least 2min after##
Name/username Host Dyn Nat ACL Port Status
JOHN/john_smith 192.168.1.2 D N 5060 OK (4ms)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090724/61f499f2/attachment.htm
More information about the asterisk-users
mailing list