[Serusers] Not found in usrloc
Klaus Darilion
klaus.mailinglists at pernau.at
Sun Apr 16 14:05:44 CEST 2006
The second lookup does not work, as the first lookup changes the request
URI. Try revert_uri(); in failure route, just before the lookup().
klaus
On Fri, April 14, 2006 11:29, davor jovanovic said:
> Hi all,
>
> I have a problem with using aliases when user doesn't answer the call
> (408, request timeout). for this I'm using failure_route[1]. After 20sec
> when user doesn't answer the call, call comes in failure_route and it is
> recognizes as 408, but when I want to rewrite URI with alias "884" I get
> "Not found in usrloc", but as you can see from the output of "serctl ul
> show" user is in both tables (location and aliases). Can somebody help
> because I don't know what I'm doing wrong.
>
> Thanks a lot
>
> davor
>
> *******************************************
> failure_route[1]{
> if(t_check_status("408")){
> log("LOG:entered failure route 1 on code 408\n");
> lookup("aliases");
> rewritehostport("161.53.2.235:5060");
> t_relay();
> }
> }
>
> ********************************************
> 1(22439) ->>>>>>>>> T_code=180, new_code=408
> 1(22439) DEBUG: t_check: msg id=2 global id=2 T start=0x40460708
> 1(22439) DEBUG: t_check: T already found!
> 1(22439) DEBUG:t_check_status: checked status is <408>
> 1(22439) LOG:entered failure route 1 on code 408
> 1(22439) lookup(): 'djovanovic' Not found in usrloc
> 1(22439) ERROR: t_forward_nonack: no branched for forwarding
> 1(22439) ERROR: w_t_relay (failure mode): forwarding failed
>
> ********************************************
> serctl ul show
>
> domain: 'location'
> aor : 'djovanovic'
> ~~~Contact(0x404604a8)~~~
> domain : 'location'
> aor : 'djovanovic'
> Contact : 'sip:djovanovic at 161.53.0.77:5060'
> Expires : 429
> q :
> Call-ID : '40C79AFEA5C644ADB6FEA320F247C793 at sipgw.srce.hr'
> CSeq : 52664
>
>
>
> ...Record(0x4045e238)...
> domain: 'aliases'
> aor : '884'
> ~~~Contact(0x4045e298)~~~
> domain : 'aliases'
> aor : '884'
> Contact : 'sip:djovanovic at sipgw.srce.hr'
> Expires : Permanent
> q : 1
> Call-ID :
> 'The-Answer-To-The-Ultimate-Question-Of-Life-Universe-And-Everything'
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
More information about the sr-users
mailing list