<div>Hi,</div>
<div> </div>
<div>I am configuring setting in that prototype freeswitch is running behind the sip-proxy and i am using OpenSbc as sip Proxy.</div>
<div> </div>
<div>My sip service Provider is Gafachi :</div>
<div> </div>
<div>I am able to register with gafachi for inbound/outbond call if i am not using OpenSbc but face problem when i give the proxy as ip on which OpenSbc Is running:</div>
<div> </div>
<div>Gateway setting i am using is that:</div>
<div><font color="#0000ff" size="2">
<p><</p></font><font color="#800000" size="2">gateways</font><font color="#0000ff" size="2">>
<p><</p></font><font color="#800000" size="2">gateway</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">name</font><font color="#0000ff" size="2">=</font><font size="2">"</font><font color="#0000ff" size="2">
<a href="http://192.168.96.9">192.168.96.9</a></font><font size="2">"</font><font color="#0000ff" size="2">></font><font size="2">
<p>/// account username *required* ///</p></font><font color="#0000ff" size="2">
<p><</p></font><font color="#800000" size="2">param</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">name</font><font color="#0000ff" size="2">=</font><font size="2">"</font><font color="#0000ff" size="2">
username</font><font size="2">"</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">value</font><font color="#0000ff" size="2">=</font><font size="2">"</font><font color="#0000ff" size="2">
UserName</font><font size="2">"</font><font color="#0000ff" size="2">/></font><font size="2">
<p>/// auth realm: *optional* same as gateway name, if blank ///</p></font><font color="#0000ff" size="2">
<p><</p></font><font color="#800000" size="2">param</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">name</font><font color="#0000ff" size="2">=</font><font size="2">"</font><font color="#0000ff" size="2">
realm</font><font size="2">"</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">value</font><font color="#0000ff" size="2">=</font><font size="2">"gafachi</font><font size="2">"</font>
<font color="#0000ff" size="2">/>
<p><!--</p></font><font color="#008000" size="2"><param name="realm" value="<a href="http://64.192.112.13">64.192.112.13</a>"/></font><font color="#0000ff" size="2">--></font><font size="2">
<p>/// account password *required* ///</p></font><font color="#0000ff" size="2">
<p><</p></font><font color="#800000" size="2">param</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">name</font><font color="#0000ff" size="2">=</font><font size="2">"</font><font color="#0000ff" size="2">
password</font><font size="2">"</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">value</font><font color="#0000ff" size="2">=</font><font size="2">"password</font><font size="2">"
</font><font color="#0000ff" size="2">/></font><font size="2">
<p>/// extension for inbound calls: *optional* same as username, if blank ///</p></font><font color="#0000ff" size="2">
<p><</p></font><font color="#800000" size="2">param</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">name</font><font color="#0000ff" size="2">=</font><font size="2">"</font><font color="#0000ff" size="2">
extension</font><font size="2">"</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">value</font><font color="#0000ff" size="2">=</font><font size="2">"1020</font><font size="2">"</font>
<font color="#0000ff" size="2">/></font><font size="2">
<p>/// proxy host: *optional* same as realm, if blank ///</p></font><font color="#0000ff" size="2">
<p><</p></font><font color="#800000" size="2">param</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">name</font><font color="#0000ff" size="2">=</font><font size="2">"</font><font color="#0000ff" size="2">
proxy</font><font size="2">"</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">value</font><font color="#0000ff" size="2">=</font><font size="2">"</font><font color="#0000ff" size="2"><a href="http://192.168.96.115">
192.168.96.115</a></font><font size="2">"</font><font color="#0000ff" size="2">/></font>
<p><font color="#0000ff" size="2">//Ip address on which OpenSbc running:</font></p><font size="2">
<p>/// expire in seconds: *optional* 3600, if blank ///</p></font><font color="#0000ff" size="2">
<p><</p></font><font color="#800000" size="2">param</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">name</font><font color="#0000ff" size="2">=</font><font size="2">"</font><font color="#0000ff" size="2">
expire-seconds</font><font size="2">"</font><font color="#0000ff" size="2"> </font><font color="#ff0000" size="2">value</font><font color="#0000ff" size="2">=</font><font size="2">"</font><font color="#0000ff" size="2">
600</font><font size="2">"</font><font color="#0000ff" size="2">/>
<p></p></font><font color="#0000ff" size="2"></</font><font color="#800000" size="2">gateway</font><font color="#0000ff" size="2">>
<p></</p></font><font color="#800000" size="2">gateways</font><font color="#0000ff" size="2">></font>
<p><font color="#0000ff" size="2"></font> </p>
<p><font color="#0000ff" size="2">As far as i know realm create the address for where request should go. and in my case it should be :</font></p>
<p><font color="#0000ff" size="2"><a href="mailto:username@gafachi">username@gafachi</a></font></p>
<p><font color="#0000ff" size="2">and proxy set from where request go i am giving it as machine ip where OpenSBC is running:</font></p>
<p><font color="#0000ff" size="2">Problem is that when i give proxy as <a href="http://192.168.96.115">192.168.96.115</a>:</font></p>
<p><font color="#0000ff" size="2">It make request as <a href="mailto:UserName@192.168.96.115">UserName@192.168.96.115</a> instead of <a href="mailto:UserName@gafachi">UserName@gafachi</a></font></p>
<p><font color="#0000ff" size="2">Can you guide me where i am wrong :</font></p>
<p><font color="#0000ff" size="2">Thanks in advance</font></p>
<p><font color="#0000ff" size="2">Yogesh</font></p></div>