[Kamailio-Users] Handling 302s

Graham Wooden graham at g-rock.net
Sun Oct 12 17:36:50 CEST 2008


I got word that the carrier doesn't support 302s.  Yuck.

That being said - does anyone know any tricks to get this working - in such
a way that I can create a new call leg and have the call go back out,
preferably within kamailio? Thanks,

-graham


On 10/9/08 12:58 AM, "Juha Heinanen" <jh at tutpro.com> wrote:

> Graham Wooden writes:
> 
>>         if (t_check_status("302")) {
>>                 xlog("Got a 302 - redirecting");
>>                 get_redirects("*");
>>                 t_relay();
>>         }
>> 
>> Pretty straight forward.  Maybe the issue is with them still?
>> Thanks,
> 
> check with wireshark how the invite after get_redirects("*") looks like.
> 
> -- juha






More information about the Users mailing list