<div dir="ltr">yeah, i guess there is no standard for this.<div><div>thanks for the tip!<br><div><br></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">Kelvin Chua</div></div>
<br><div class="gmail_quote">On Fri, Jun 19, 2015 at 6:27 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@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 class="HOEnZb"><div class="h5"><br>
<br>
On 19/06/15 11:52, Kelvin Chua wrote:<br>
> on my registrar server:<br>
> after calling lookup, and getting AOR with path, how do I send the<br>
> path info back<br>
> as a redirect?<br>
><br>
</div></div>Is there a specification on how to do that? IIRC, right now the contact<br>
for redirect is build using only the address and q values -- this is<br>
about the c code for generating 3xx response. It can be extended if<br>
there is a spec for it.<br>
<br>
However, even right you can use reg_fetch_contacts() in config to<br>
retrieve the records from location and build the contact header as you need.<br>
<br>
Cheers,<br>
Daniel<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Daniel-Constantin Mierla<br>
<a href="http://twitter.com/#!/miconda" rel="noreferrer" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">http://www.linkedin.com/in/miconda</a><br>
Book: SIP Routing With Kamailio - <a href="http://www.asipto.com" rel="noreferrer" target="_blank">http://www.asipto.com</a><br>
<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</font></span></blockquote></div><br></div>