[OpenSIPS-Users] Arbitrary contact added in 302 generated responses

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon May 25 11:48:19 CEST 2009


Hi Dan,

I was evaluating this for a long time (to hide from the script the whole 
Cancel processing - both requests and replies), but by doing this we 
will not be able to log any info about the cancelling even....but to be 
honest I do not know if is anybody needing it.

Regards,
Bogdan

Dan Pascu wrote:
> On Monday 25 May 2009, Bogdan-Andrei Iancu wrote:
>   
>> Hi Francisco,
>>
>> First of all, please in the begining of any failure route:
>>
>> failure_route[x] {
>>     if (t_was_cancelled()) {
>>         exit;
>>     }
>>     .....
>> }
>>
>> This will capture the calls which were cancelled by the caller and avoid 
>> any bogus processing on the cancelled call.
>>     
>
> Shouldn't this be automatic? I mean, internally do not even bother to call the 
> failure route if the call was cancelled.
>
>   




More information about the Users mailing list