[Users] Re: [Serusers] no login to openser

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Oct 17 19:07:37 CEST 2005


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 at 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?

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 at mydomain.com
>>> openserctl add 800001 secret1 me at 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'
>>> ~~~Contact(0x2a96f71298)~~~
>>> domain    : 'location'
>>> aor       : 'admin'
>>> Contact   : 'sip:601 at 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!
>>
>
>




More information about the Users mailing list