<div dir="ltr"><div>you reload the domain table via MI interface each time you change it</div><div>-giovanni<br><br><br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 30, 2020 at 10:11 AM Sasmita Panda <<a href="mailto:spanda@3clogic.com">spanda@3clogic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I have one opensips server , and I have mapped 2 domain into that . In the config file I have added the alias list for that domain . <div>for example :</div><div>alias="<a href="http://freeswitch-registrar.xyz.com" target="_blank">freeswitch-registrar.xyz.com</a>"</div><div>alias="<a href="http://freeswitch-cisco.xyz.com" target="_blank">freeswitch-cisco.xyz.com</a>"</div><div><br></div><div>route{</div><div> if (!uri==myself) {<br> send_reply("403","Rely forbidden");<br> exit;<br> }<br></div><div>......................</div><div>}</div><div>If any request coming to this has the request uri matches with the alias added then that request get processed else it gives Error message . </div><div><br></div><div>Now if I am mapping another domain to the server but I dont want to change the config and restart the service again . I want any other way to do dynamically so that whenever I will add any domain opensips will read that and process the request without service restart . </div><div><br></div><div><br></div><div>How will I achive this ? </div><div><br></div><div><br><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 30, 2020 at 12:56 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<tt>Hi Sasmita,<br>
<br>
To be honest I do not understand what you want to achieve. Could
you provide an example of aliasing you want to have ?<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
</pre>
<div>On 4/30/20 9:33 AM, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Ok . But username cant be fixed . That can be
anything .
<div><br>
</div>
<div>When I am adding aliase in the config file that only
matches the domain and process the request . Isn't the
aliase_db do the same thing ?</div>
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Apr 29, 2020 at 6:21
PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"> <tt>Hi,<br>
<br>
The aliase_db module does full aliasing, user+domain to
another user+domain, not only domains. And you can test
the return code of the lookup function to see if any
matching and translation was done or not.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
</pre>
<div>On 4/29/20 10:16 AM, Sasmita Panda wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi All ,
<div><br>
</div>
<div>For the first time I am trying to use alias db .
Before processing any request I wanted to do alias db
lookup , if find the corresponding domain in the alias
db then process the request otherwise not .</div>
<div><br>
</div>
<div>How will I do this ?</div>
<div><br clear="all">
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software
Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</div>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Sincerely,<br><br>Giovanni Maruzzelli<br>OpenTelecom.IT<br>cell: +39 347 266 56 18<br><br></div>