Hi,
 
I am configuring setting in that prototype freeswitch is running behind the sip-proxy and i am using OpenSbc as sip Proxy.
 
My sip service Provider is Gafachi :
 
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:
 
Gateway setting i am using is that:

<

gateways>

<

gateway name=" 192.168.96.9">

/// account username *required* ///

<

param name=" username" value=" UserName"/>

/// auth realm: *optional* same as gateway name, if blank ///

<

param name=" realm" value="gafachi" />

<!--

<param name="realm" value="64.192.112.13"/>-->

/// account password *required* ///

<

param name=" password" value="password" />

/// extension for inbound calls: *optional* same as username, if blank ///

<

param name=" extension" value="1020" />

/// proxy host: *optional* same as realm, if blank ///

<

param name=" proxy" value=" 192.168.96.115"/>

//Ip address on which OpenSbc running:

/// expire in seconds: *optional* 3600, if blank ///

<

param name=" expire-seconds" value=" 600"/>

</gateway>

</

gateways>

 

As far as i know realm create the address for where request should go. and in my case it should be :

username@gafachi

and proxy set from where request go i am giving it as machine ip where OpenSBC is running:

Problem is that when i give proxy as 192.168.96.115:

It make request as UserName@192.168.96.115 instead of UserName@gafachi

Can you guide me where i am wrong :

Thanks in advance

Yogesh