>> # 1529 at domain2 calling 9992 at domain1
> >freeswitch at localhost> 2008-08-19 17:55:19 [WARNING] >>sofia_reg.c:
> 1247 sofia_reg_parse_auth() can't find user
> >[1529 at 210.243.126.69]
> >You must define >>a domain called '210.243.126.69' in your directory
> and add a user with the id="1529" attribute
> >and you >>must configure your device to use the proper domain in it's
> authentication credentials. Need more >>explanations.
>This message can't be more clear. You do not have a domain called
210.243.126.69 with user 1529 defined in >your directory config.
Because the 1529 user is at domain2/ or inter2 context not belong to domain1.
>If you wish to set the context on a user then you'll need to use the
user_context variable on the user in the >domain.
<variable name="user_context" value="somecontext"/>
Check out the conf/directory/default/1000.xml >user in the default
config.
I already did that.
<variable name="accountcode" value="1529"/>
<variable name="user_context" value="inter2"/>
Brian , Sorry the things seem confused.
Firstly , if I want to use sip request uri working like "sip:xxxx@yyyy" , what should I make it work in dialplan ?
<action application="transfer" data="$1 DNS SRV inter2"/>
Secondly , since the user context does not have relation with sip domain , what's the correct way ?
ps: I feel FS does have some structure advantages , after using OpenSer , Asterisk for a while.