There could be an option to force registration domain which I can return with data retrieved with xml_curl ;) <br>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 :)<br>
<br><div class="gmail_quote">2011/3/4 Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;">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.<div>
<br></div><font color="#888888"><div>/b</div></font><div class="im"><div><br><div><div>On Mar 3, 2011, at 3:06 PM, Dmitry Sytchev wrote:</div><br><blockquote type="cite"><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;">Seems I didn't explain clean what I'm trying to achieve.<br>
<br>I have a domain, say,<span> </span><a href="http://access.test.com/" target="_blank">access.test.com</a>. My users can use srv records to reach<br>it, or specify server's address directly as IP.<br>Default configuration with domain="all" works like a charm.<br>
<br>Then I moved from static files to xml_curl directory in database. Now every<br>time user registers I should respond with directory record, containing<br>domain in which user is trying to register, so I need to respond with IP if<br>
user registers with IP, and with name if user registers with name. I do this<br>having DomainAlias table in my DB.<br><br>After user registration, I need to bridge calls to it by my routing rules.<br>But I don't know exactly how to instruct freeswitch to lookup user's<br>
contact, since I don't know in which domain user is registered. I don't want<br>to interact with Freeswitch registration database, as it decreases<br>flexibility of solution.<br><br>At present I use force-register-domain set to my domain name, but I want to<br>
use several names with different aliases, so looking for another solution =)</span></blockquote></div><br></div></div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>