grep -ir 111 * default/bad.xml: <user id="111"> default/bad.xml: <variable name="accountcode" value="111"/> default/bad.xml: <variable name="effective_caller_id_number" value="111"/> default.xml: <user id="111" type="pointer"/> default.xml: <group name="employers"> <users> <user id="110" type="pointer"/> <user id="111" type="pointer"/> <user id="177" type="pointer"/> <user id="199" type="pointer"/> <user id="143" type="pointer"/> <user id="153" type="pointer"/> <user id="148" type="pointer"/> <user id="182" type="pointer"/> </users> </group> Michael Jerris пишет:
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@internal> user_exists id 110 neolant.ru true
and bad user exists! freeswitch@internal> user_exists id 111 neolant.ru true
good user don't have attr type:
freeswitch@internal> user_data 110@neolant.ru attr type -ERR no reply
but bad user have attr type! :
freeswitch@internal> user_data 111@neolant.ru attr type pointer
Good user have password:
freeswitch@internal> user_data 110@neolant.ru param password 123456
But bad user no have param pasword!
freeswitch@internal> user_data 111@neolant.ru param password -ERR no reply
What's wrong in these configuration? How I can debug and resolve these problems?
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org