<br><br>
<div class="gmail_quote">2008/6/21 Iņaki Baz Castillo <a href="mailto:ibc@aliax.net">ibc@aliax.net</a>:<br>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span>Ok, but next time continue the thread in the maillist ;)<br>
<div class="Ih2E3d"></div></blockquote>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d"><span id=""></span>I'm sorry !</div></blockquote>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d"><span id=""></span><br><br>> 2008/6/20 Iņaki Baz Castillo <a href="mailto:ibc@aliax.net">ibc@aliax.net</a>:<br>> > AFAIK if a UAC is redirected it will not include the already used<br>> > credentials<br>
> > in the new request to the new destination (maybe I'm wrong).<br>><br>> Do you think is possible to force using the pseudovariables ?<br><br></div>No, it's not possible. When a UAAC receives a 302 it generates a completely<br>
new request with destination the URI of the "Contact" in the 302.<br>
<div class="Ih2E3d"><br><br>> > If you need solving NAT in your OpenSer then you need to forward the<br>> > request<br>> > in it after make fix NAT.<br>><br>> How ? Can explain better ?<br><br></div>
If a UAC receives a 302 it will generate a new INVITE. If the UAC has not<br>configured your OpenSer as outbound proxy, the new INVITE it generates will<br>go directly to the SIP provider, so it's not possible your OpenSer makes fix<br>
the NAT (fix "Contact" and so).<br>But maybe your SIP provider makes fix the NAT by itself, or you can try STUN<br>in your UAC's.<br>
<div class="Ih2E3d"><br><br>> > If not you could use forwarding or redirect.<br>><br>> With redirect, openser will send an address and the uer will contact the<br>> new address: is it correct ? (I am not shure).<br>
<br></div>Yes, OpenSer replies a 302 with the new URI in the "Contact" header.<br>
<div class="Ih2E3d"><br><br>> > In OpenSer to get a redirection you must set the RURI ($ru = ...) and<br>> > reply a<br>> > 302 to the user.<br>><br>> Can you send ma a routine syntax ?<br>> For example, I would redirect to <a href="http://sip.voipstunt.com/" target="_blank">sip.voipstunt.com</a><br>
<br></div>Something like:<br><br>$ru = "<a href="http://sip.voipstunt.com/" target="_blank">sip.voipstunt.com</a>";<br>send_reply("302", "Redirect to SIP provider");<br>exit;<br><br></blockquote>
<div>I need to study much more....</div>
<div>Thank you, I will try and I am shure I wil need your support once again.</div>
<div>Valerio</div>
<div> </div></div><br>