[Users] distinguish between fr_timer and fr_inv_timer timeout
Klaus Darilion
klaus.mailinglists at pernau.at
Wed Feb 7 10:03:01 CET 2007
Hi Atle!
Thanks for the quick response.
I thought there are some limitations inside reply route regarding flags -
but apperently I was wrong.
regards
klaus
--
...the more I hear, the less I know ...
(c) RHCP 2006
On Wed, February 7, 2007 9:55, Atle Samuelsen said:
> Hi Klaus,
>
> if(method=="INVITE"){
>
> t_on_reply("1");
> t_on_failure("1");
> }
> t_relay();
>
> onreply_route[1]{
>
> if(status("180|183")){
> setflag("1");
> }
>
> failure_route[1]{
> if(is_flaset("1"){
> log(1,"It rang\r\n");
> }else{
> log(1,"It did'nt ring\r\n");
> }
>
>
> Something in the degrees of this ;)
>
> - Atle
>
> * Klaus Darilion <klaus.mailinglists at pernau.at> [070207 09:48]:
>> Hi!
>>
>> If a failure route is executed - how can I distinguish between fr_timer
>> timeout (a broken gateway) and fr_inv_timer timeout (nobdy took up the
>> phone)?
>>
>> thanks
>> klaus
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list