[Freeswitch-users] xml_curl and domain aliases

Dmitry Sytchev kbdfck at gmail.com
Fri Mar 4 00:17:26 MSK 2011


There could be an option to force registration domain which I can return
with data retrieved with xml_curl ;)
I know exactly which user is trying to register, all information is linked
in database, but I can't find him later when I need to create bridge :)

2011/3/4 Brian West <brian at freeswitch.org>

> Well you have to make some decisions here... either use domain or IP not
> either.  So your users should NOT be allowed to register to the IP and only
> use the DNS name.  Thats my opinion... else you have to dive into the
> registration db... and it gets messy.
>
> /b
>
> On Mar 3, 2011, at 3:06 PM, Dmitry Sytchev wrote:
>
> Seems I didn't explain clean what I'm trying to achieve.
>
> I have a domain, say, access.test.com. My users can use srv records to
> reach
> it, or specify server's address directly as IP.
> Default configuration with domain="all" works like a charm.
>
> Then I moved from static files to xml_curl directory in database. Now every
> time user registers I should respond with directory record, containing
> domain in which user is trying to register, so I need to respond with IP if
> user registers with IP, and with name if user registers with name. I do
> this
> having DomainAlias table in my DB.
>
> After user registration, I need to bridge calls to it by my routing rules.
> But I don't know exactly how to instruct freeswitch to lookup user's
> contact, since I don't know in which domain user is registered. I don't
> want
> to interact with Freeswitch registration database, as it decreases
> flexibility of solution.
>
> At present I use force-register-domain set to my domain name, but I want to
> use several names with different aliases, so looking for another solution
> =)
>
>
>
> _______________________________________________
> 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 regards,

Dmitry Sytchev,
IT Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110304/aac8fd49/attachment-0001.html 


More information about the FreeSWITCH-users mailing list