<div dir="ltr">Realm won't be in the register packet, it will be once challenged and we answer the challenge.<div><br></div><div>Can you show ups the entire flow?</div><div><br></div><div>/b</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 18, 2015 at 12:33 PM, David Villasmil Govea <span dir="ltr"><<a href="mailto:david.villasmil@gmail.com" target="_blank">david.villasmil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">BTW,<div><br></div><div>I can't use /etc/hosts. What I need this for is because i have multiple servers under the same name, i.e. <a href="http://voip.myreal.com" target="_blank">voip.myreal.com</a> but i need to register multiple accounts with different servers for testing purposes, for example:</div><div><br></div><div>user1 registered on ip 4.3.2.1 realm <a href="http://voip.myrealm.com" target="_blank">voip.myrealm.com</a></div><div>user2 registered on ip 1.2.3.4 realm <a href="http://voip.myrealm.com" target="_blank">voip.myrealm.com</a></div><div>etc...</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div>David</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 18, 2015 at 7:03 PM, David Villasmil Govea <span dir="ltr"><<a href="mailto:david.villasmil@gmail.com" target="_blank">david.villasmil@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello guys,<div><br></div><div>I want to register on a service with a specific realm and to an ip different than that coming from a dns query.</div><div><br></div><div>i.e.: Let's say the realm i need to use is "<a href="http://voip.myrealm.com" target="_blank">voip.myrealm.com</a>" and if you query a dns for that domain you get 1.2.3.4.</div><div><br></div><div>The thing is i need to register on IP 4.3.2.1 so i did:</div><div><br></div><div><div> <gateway name="1234"></div><div> <param name="username" value="1234"/></div><div> <param name="expire-seconds" value="300"/></div><div> <param name="realm" value="<a href="http://voip.myrealm.com" target="_blank">voip.myrealm.com</a>"/></div><div> <param name="password" value="password"/></div><div> <param name="extension" value="auto_to_user"/></div><div> <param name="context" value="public"/></div><div> <param name="proxy" value="4.3.2.1"/></div><div> <param name="register" value="true"/></div><div> <param name="register-transport" value="tcp"/></div><div> </gateway></div><div><br></div><div><br></div><div>But i see registers going to 4.3.2.1 with realm 4.3.2.1 like:</div><div><font face="monospace, monospace" size="1"><br></font></div><div><div><font face="monospace, monospace" size="1">REGISTER sip:4.3.2.1;transport=tcp SIP/2.0.</font></div><div><font face="monospace, monospace" size="1">Via: SIP/2.0/TCP 10.0.160.3:5099;branch=z9hG4bKQ59Hpv51Z1yra.</font></div><div><font face="monospace, monospace" size="1">Max-Forwards: 70.</font></div><div><font face="monospace, monospace" size="1">From: <<a href="mailto:sip%3A1234@4.3.2.1" target="_blank">sip:1234@4.3.2.1</a>>;tag=rymK6H2tBc45D.</font></div><div><font face="monospace, monospace" size="1">To: <<a href="mailto:sip%3A1234@4.3.2.1" target="_blank">sip:1234@4.3.2.1</a>>.</font></div><div><font face="monospace, monospace" size="1">Call-ID: fd61bdec-8e1c-11e5-9d3d-5f90e70675ff.</font></div><div><font face="monospace, monospace" size="1">CSeq: 83598504 REGISTER.</font></div><div><font face="monospace, monospace" size="1">Contact: <sip:<a href="http://10.0.160.3:5099" target="_blank">10.0.160.3:5099</a>>.</font></div><div><font face="monospace, monospace" size="1">Expires: 0.</font></div><div><font face="monospace, monospace" size="1">User-Agent: FreeSWITCH-mod_sofia/1.5.15b+git~20150414T204943Z~5fada4bbb5~64bit.</font></div><div><font face="monospace, monospace" size="1">Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY.</font></div><div><font face="monospace, monospace" size="1">Supported: timer, path, replaces.</font></div><div><font face="monospace, monospace" size="1">Content-Length: 0.</font></div></div><div><br></div><div>And the other way around just queries dns and registers on the returned ip...</div><div><br></div><div><br></div><div>Is this at all possible?</div><div><br></div><div><br></div><div>Thanks</div><span><font color="#888888"><div><br></div>-- <br><div>DVG<br><br>-- <br>Imagination is more important than knowledge<br>Albert Einstein</div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>DVG<br><br>-- <br>Imagination is more important than knowledge<br>Albert Einstein</div>
</div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><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" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div>
</div>