[SR-Users] Redirect with path

Kelvin Chua kelchy at gmail.com
Mon Jun 22 09:14:16 CEST 2015


yeah, i guess there is no standard for this.
thanks for the tip!


Kelvin Chua

On Fri, Jun 19, 2015 at 6:27 PM, Daniel-Constantin Mierla <miconda at gmail.com
> wrote:

>
>
> On 19/06/15 11:52, Kelvin Chua wrote:
> > on my registrar server:
> > after calling lookup, and getting AOR with path, how do I send the
> > path info back
> > as a redirect?
> >
> Is there a specification on how to do that? IIRC, right now the contact
> for redirect is build using only the address and q values -- this is
> about the c code for generating 3xx response. It can be extended if
> there is a spec for it.
>
> However, even right you can use reg_fetch_contacts() in config to
> retrieve the records from location and build the contact header as you
> need.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Book: SIP Routing With Kamailio - http://www.asipto.com
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150622/16c76f7f/attachment.html>


More information about the sr-users mailing list