[Serusers] Timeout

Sebastian Kühner skuehner at veraza.com
Mon Aug 22 17:57:00 CEST 2005


No, it doesn't. Like all the things that I'm trying to solve my problem...

if (method == "CANCEL") {
    reset_gw();
    avp_write("s:cancel", "s:cancel");
    log(1, "-CANCEL PSTN-\n");
};

if (avp_check("s:cancel","eq/s:cancel/g"))
{
    log(1, "YES - after!!!!\n");
};

[...]

failure_route[2] {
if (avp_check("s:cancel","eq/s:cancel/g"))
{
    log(1, "YES - failover!!!!\n");
};

if (method=="INVITE" && t_check_status("408|500|503") &&
!avp_check("s:cancel","eq/s:cancel/g"))
{
    log (1, "next gateway...\n");
    [...]

Logging shows:

1.) YES - after             --> so the variable is saved
2.) next gatway...

But it never shows YES - failover, so the variable doesn't reach the
failure_route

Any idea? I seem to be the only person that has that problem :-(((       ser
seems to be so good... and now that... I'm stucked!!!









----- Original Message ----- 
From: "Klaus Darilion" <klaus.mailinglists at pernau.at>
To: "Sebastian Kühner" <skuehner at veraza.com>
Cc: <serusers at lists.iptel.org>
Sent: Monday, August 22, 2005 12:33 PM
Subject: Re: [Serusers] Timeout


> AVPOPS should work - that's probably the most used use-case for AVPOPS.
>
> klaus
>
> Sebastian Kühner wrote:
>
> > Hi!
> >
> > Thanks for your answer.
> >
> > What would help me is if I would be able to give some "variable" to the
> > failure_route.
> >
> > Something like that:
> >
> > if (method == "CANCEL") {
> >     "setvariable"(test);
> > };
> >
> > setflag and avpops doesn't work. The flags/variables are deleted befor
> > reaching my failure route.
> >
> > Any idea?
> >
> > Thanks!
> >
> > Sebastian
> >
> >
> >
> > ----- Original Message ----- 
> > From: "Andreas Granig" <andreas.granig at inode.info>
> > To: "Sebastian Kühner" <skuehner at veraza.com>; "Jan Janak"
<jan at iptel.org>
> > Cc: <serusers at lists.iptel.org>
> > Sent: Monday, August 22, 2005 11:47 AM
> > Subject: Re: [Serusers] Timeout
> >
> >
> >
> >>Sebastian Kühner wrote:
> >>
> >>>U 2005/08/19 09:45:46.997466 xxx.xxx.xxx.234:5060 ->
> >
> > xxx.xxx.xxx.181:1024
> >
> >>>SIP/2.0 200 ok -- no more pending branches.
> >>
> >>Hm... this one is generated in e2e_cancel(...) in modules/tm/t_fwd.c:363
> >>but I can't see anything there which stops fr_timer for the branch (but
> >>I'm not familiar with the tm-code). cancel_bm seems to be zero, so not
> >>very much is done there...
> >>Maybe someone of the core developers should have a look?
> >>
> >>Andy
> >>
> >>
> >
> >
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
>
>




More information about the sr-users mailing list