Asterisk 1.6.1-rc1

I installed this version on a linux box centos 5.2 and it works great.

How can I see in the logs, when a user / phone has registered in the system? In 1.4., I could look in the messages and see who and when they registered.

Also, when I do a sip show peers, none of the extensions show up. When I do a sip show users, also none of the extensions come up.

Are there new commands to see this information?

Thanks for your assistance.

Eric

I believe that Asterisk 1.6.1 no longer has a concept of SIP users, at least as far as its internal data structures are concerned.

ok, then how would I find out the status of the users in the system?

I used to use sip show users, what is the new command?

Also, when a user is registered, is there a log entry for the user now?

Thanks

Eric

could be your config?

what’s your sip.conf / example of your realtime user

the users are in the users.conf file.

Here is an example:

[2001]
username = 2001
transfer = yes

mailbox = 2001
call-limit = 100

fullname = 2001

registersip = no
host = dynamic
context = DLPN_MyDialPlan
cid_number = 2001
hasvoicemail = yes
vmsecret = 2001
email = eric@inetstpeters.net
threewaycalling = yes
hasdirectory = yes
callwaiting = yes
hasmanager = no
hasagent = yes
hassip = yes
hasiax = no
secret = polycom
nat = no
canreinvite = no
dtmfmode = rfc2833
insecure = no
pickupgroup = 1
disallow = all
allow = ulaw,gsm
autoprov = no
label =
macaddress =
linenumber = 1
LINEKEYS = 1

What is funny, is that I loaded 1.6.0.5 on the same linux box and I was able to do a sip show peers and the peers showed up. The problem with 1.6.0.5 is that it gives an error when attempting to use asterisk gui, but 1.6.1-rc1 does not give this error. A problem with permissions and the gui directory.

Thanks for the assistance.

Eric

1.6.1 is not intended to be completely backward compatible with 1.6.0.x.

See http://svn.digium.com/view/asterisk/team/oej/sip-compliance/sipobjects.txt?view=markup and http://bugs.digium.com/view.php?id=14505

david’s answer is correct…i’ve tried it on a 1.4 and 1.6

I understand that there was a change to the code.

Are there new cli commands that go with this change? Also in the sip registration process, does it log when a user is registered or not registered?

Thanks

Eric