[Freeswitch-users] multiple sip domains
Adeel Ansari
adeel.gnome at gmail.com
Wed Aug 27 05:18:15 EDT 2008
The port should not be the part of proxy value.
On Wed, Aug 27, 2008 at 5:09 PM, Tamas Cseke <cstomi.levlist at gmail.com>wrote:
> Hello,
>
> I have a problem with multiple domains.
>
> [WARNING] sofia_reg.c:1251 sofia_reg_parse_auth() can't find user
> [cstomi at 192.168.1.37]
> You must define a domain called '192.168.1.37' in your directory and add
> a user with the id="cstomi" attribute
> and you must configure your device to use the proper domain in it's
> authentication credentials.
> [DEBUG] sofia_reg.c:705 sofia_reg_handle_register() send challange for
> [10 at 192.168.1.37]
>
> I have multiple domains in the directory, and put the user under the
> proper domain.
>
> <domain name="test">
> <user id="cstomi">
> <params>
> <param name="password" value="cstomi"/>
> </params>
> </user>
> </domain>
>
>
> But I can't configure the client device (another FS) to use this domain
> in INVITEs, REGISTER is fine.
> I saw the to domain is used in the realm of the challange, what
> determine the domain in the directory, isn't it?
>
> my gateway settings:
>
> <gateway name="test">
> <param name="realm" value="test"/>
> <param name="username" value="cstomi"/>
> <param name="password" value="cstomi"/>
> <param name="extension" value="inbound"/>
> <param name="proxy" value="192.168.1.37:5060"/>
> <param name="expire-seconds" value="600"/>
> </gateway>
>
> REGISTER: It seems the to host is made from the realm...I'm not sure..
> So it works, I don't get the WARNING above.
> but in INVITE the to host is seems to be the "proxy". I guess if I could
> change the to host, authorization would work...How could I do this?
>
> Thanks any help,
> Tamas
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Best,
Adeel Ansari
http://www.linkedin.com/in/adeelansari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080827/32ad433f/attachment.html
More information about the Freeswitch-users
mailing list