On 10/17/05 20:31, Ronald Wiplinger wrote:
Daniel-Constantin Mierla wrote:
On 10/17/05 19:55, Ronald Wiplinger wrote:
Daniel-Constantin Mierla wrote:
Hello,
the appropriate mailing list for questions related to openser is users@openser.org (http://openser.org/cgi-bin/mailman/listinfo/users).
Thanks for pointing out that.
I found a part of my problem, but I cannot explain it. The phone (hard phone as well as a softphone) have been set to connect to port 5062, but I see the registration still on 5060, where Asterisk is running (on the same machine). The user 800000 has no account on Asterisk, therefore the login fails there.
Any idea where this could come from?
maybe there is a special field to set for registrar address in phone's configuration, or the phone is broken. What kind of phones have you tried?
That was exactly my first thought too. I use a noname SIP phone, and than I used firefly. The exaclty same behaviour.
never used firefly.
Is there any command line utility to test that?
if you want tot test if the registration works, then you can use sipsak, from http://sipsak.org, it is a tiny command line utility. Otherwise, you can try some free sip soft phones: kphone, minisip, xten xlite.
Daniel
bye
Ronald Wiplinger
Cheers, Daniel
bye
Ronald Wiplinger
Please see my comments inline.
On 10/17/05 11:44, Ronald Wiplinger wrote:
(It is my first try, .... I am sure I make something wrong)
I have installed openser and it is now running for a while, ... today I have added two users by:
export SIP_DOMAIN=voip.mydomain.com openserctl add 800000 secret0 me@mydomain.com openserctl add 800001 secret1 me@mydomain.com
first test:
openserctl ul show Dumping all contacts may take long: are you sure you want to proceed? [Y|N] y ===Domain list=== ---Domain--- name : 'aliases' size : 512 table: 0x2a96f6d120 d_ll { n : 0 first: (nil) last : (nil) } ---/Domain--- ---Domain--- name : 'location' size : 512 table: 0x2a96f68f38 d_ll { n : 1 first: 0x2a96f71180 last : 0x2a96f71180 }
...Record(0x2a96f71180)... domain: 'location' aor : 'admin'
domain : 'location' aor : 'admin' Contact : 'sip:601@vpbx.elmit.com' Expires : Permanent q : 1 Call-ID : 'The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything' CSeq : 42 User-Agent: 'SIP Express Router FIFO' received : '' State : CS_SYNC Flags : 128 Sock : none (null) next : (nil) prev : (nil) ~~~/Contact~~~~ .../Record... ---/Domain--- ===/Domain list=== Here it says domain: 'location' that sounds for me not correct, shouldn't it be voip.mydomain.com ??
It is ok, actually the 'location' is the name of the table (the name of the field is a bit misleading).The sip domain should be visible in aor, but you didn't use 'use_domain' parameter, so it is ignored.
I use than a hard phone and set it up, but it cannot log on, ... I also do not see anything happen, when I use openserctl moni
What have I done wrong?
You can watch the network traffic while trying to register, there could be something misconfigured. Use: 'ngrep -qt port 5060' on your sip server and send the output to me to be able to give you more hints.
Cheers, Daniel
BTW, I checked with serweb, and the user 800000 can login!