I want to register on a service with a specific realm and to an ip different than that coming from a dns query.
<gateway name="1234">
<param name="username" value="1234"/>
<param name="expire-seconds" value="300"/>
<param name="password" value="password"/>
<param name="extension" value="auto_to_user"/>
<param name="context" value="public"/>
<param name="proxy" value="4.3.2.1"/>
<param name="register" value="true"/>
<param name="register-transport" value="tcp"/>
</gateway>
But i see registers going to 4.3.2.1 with realm 4.3.2.1 like:
REGISTER sip:4.3.2.1;transport=tcp SIP/2.0.
Via: SIP/2.0/TCP 10.0.160.3:5099;branch=z9hG4bKQ59Hpv51Z1yra.
Max-Forwards: 70.
Call-ID: fd61bdec-8e1c-11e5-9d3d-5f90e70675ff.
CSeq: 83598504 REGISTER.
Expires: 0.
User-Agent: FreeSWITCH-mod_sofia/1.5.15b+git~20150414T204943Z~5fada4bbb5~64bit.
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY.
Supported: timer, path, replaces.
Content-Length: 0.
And the other way around just queries dns and registers on the returned ip...
Is this at all possible?
Thanks
--
DVG
--
Imagination is more important than knowledge
Albert Einstein