[Kamailio-Users] record_route to control my cancel.

Klaus Darilion klaus.mailinglists at pernau.at
Thu Sep 11 15:09:00 CEST 2008


No, this is not possible!

The cancel wont have any record_route parameters.

You either have to use stateful forwarding (t_relay) or implement your 
own stateful solution (e.g. writing into a DB)

klaus

BERGANZ François schrieb:
> Hello,
> 
>  
> 
> I don’t really understand, but :
> 
>  
> 
> I just need to do in the INVITE :
> 
>  
> 
>   record_route_preset('$dd:$dp;codec=alaw');
> 
>   forward();
> 
>  
> 
> and for the CANCEL:
> 
>  
> 
> if(check_route_param(";codec=alaw")){
> 
>      route(2);
> 
> }
> 
>  
> 
>  
> 
>  
> 
>  
> 
> Is it possible?
> 
> Thank you
> 
>  
> 
>  
> 
>  
> 
> Cordialement
> 
>  
> 
> BERGANZ François
> 
> http://www.acropolistelecom.net
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list