[Kamailio-Users] LRN routing - 302 sip code

Mik Cheez michael_bulk at wildgate.com
Wed Jun 24 22:41:07 CEST 2009


It's your step 3 that has me confused; when I get the 302 am I supposed to
reroute the call in failure route the same way I would, say, a 503 error
code?

-----Original Message-----
From: users-bounces at lists.kamailio.org
[mailto:users-bounces at lists.kamailio.org] On Behalf Of Iñaki Baz Castillo
Sent: Wednesday, June 24, 2009 1:26 PM
To: users at lists.kamailio.org
Subject: Re: [Kamailio-Users] LRN routing - 302 sip code

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>

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users at lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users





More information about the sr-users mailing list