[Kamailio-Users] LRN routing - 302 sip code

Iñaki Baz Castillo ibc at aliax.net
Wed Jun 24 22:25:52 CEST 2009


El Miércoles, 24 de Junio de 2009, Mik Cheez escribió:
> One of our carriers gives us an option to check LRN routing via SIP before
> we attempt to send out a call.  Our request will go out as a regular
> invite, then we'll get a 302 return code back, with the result contained in
> the header.
>
> My question is, how exactly is the flow of this kind of call supposed to
> work?  I thought I could do a regular failover, but that doesn't work. 
> Does anyone have a suggestion?

- The proxy routes the INVITE to the carrier.
- The carrier replies 302 with the real destination in "Contact" header.
- The proxy does recursion for 302, extracts the URI from the "Contact" header 
and generates a new branch to that URI.

-- 
Iñaki Baz Castillo <ibc at aliax.net>



More information about the Users mailing list