[Freeswitch-users] Cant register a pointer. What wrong?
Michael Jerris
mike at jerris.com
Tue Jun 30 09:12:26 PDT 2009
you have a pointer somewhere in your directory for that user, hard to
see without seeing the whole config, but grep for 111 and see what
else you find.
Mike
On Jun 30, 2009, at 10:21 AM, Alexey Lubimov wrote:
> I sofia_reg.c:1765 have two user records - good #110 and bad #111.
>
> bad.xml:
>
> <include>
> <user id="111">
> <params>
> <param name="password" value="$${default_password}"/>
> <param name="vm-password" value="$${default_vm_password}"/>
> </params>
> <variables>
> <variable name="toll_allow"
> value="domestic,international,local"/>
> <variable name="accountcode" value="111"/>
> <variable name="user_context" value="default"/>
> <variable name="effective_caller_id_name" value="Bad"/>
> <variable name="effective_caller_id_number" value="111"/>
> <variable name="outbound_caller_id_name"
> value="$${outbound_caller_name}"/>
> <variable name="outbound_caller_id_number"
> value="$${outbound_caller_id}"/>
> <variable name="callgroup" value="techsupport"/>
> </variables>
> </user>
>
>
> good.xml:
>
> <include>
> <user id="110">
> <params>
> <param name="password" value="$${default_password}"/>
> <param name="vm-password" value="$${default_vm_password}"/>
> </params>
> <variables>
> <variable name="toll_allow"
> value="domestic,international,local"/>
> <variable name="accountcode" value="110"/>
> <variable name="user_context" value="default"/>
> <variable name="effective_caller_id_name" value="Good"/>
> <variable name="effective_caller_id_number" value="110"/>
> <variable name="outbound_caller_id_name"
> value="$${outbound_caller_name}"/>
> <variable name="outbound_caller_id_number"
> value="$${outbound_caller_id}"/>
> <variable name="callgroup" value="techsupport"/>
> </variables>
> </user>
> </include>
>
> Good user 110 work without any problem. But user "Bad" user 111 can't
> register to freeswitch.
>
> In log I can see only one message - 2009-06-30 16:31:36.590970
> [WARNING] sofia_reg.c:1765 Cant register a pointer.
>
> good user exists:
> freeswitch at internal> user_exists id 110 neolant.ru
> true
>
> and bad user exists!
> freeswitch at internal> user_exists id 111 neolant.ru
> true
>
> good user don't have attr type:
>
> freeswitch at internal> user_data 110 at neolant.ru attr type
> -ERR no reply
>
> but bad user have attr type! :
>
> freeswitch at internal> user_data 111 at neolant.ru attr type
> pointer
>
>
> Good user have password:
>
> freeswitch at internal> user_data 110 at neolant.ru param password
> 123456
>
> But bad user no have param pasword!
>
> freeswitch at internal> user_data 111 at neolant.ru param password
> -ERR no reply
>
>
> What's wrong in these configuration? How I can debug and resolve these
> problems?
More information about the FreeSWITCH-users
mailing list