[Kamailio-Users] registrar lookups without reason
Daniel-Constantin Mierla
miconda at gmail.com
Tue Sep 1 12:55:41 CEST 2009
On 01.09.2009 10:52 Uhr, Juha Heinanen wrote:
> Juha Heinanen writes:
>
> > ...
> > xlog("L_INFO", "INFO: : Request URI when leaving Initial_Tasks: <$ru>\n");
> > route(2);
>
> i changed that to
>
> $avp(REQUEST_URI_AVP) = $ru;
> xlog("L_INFO", "INFO: EXTR: Request URI when leaving Initial_Tasks: <$ru>\n");
> route(2);
>
> and in front of route block 2:
>
> route [2] {
>
> xlog("L_INFO", "INFO: EXTR: Request URI when entering Other_Requests: <$ru>\n");
> if (!is_avp_set("$avp(REQUEST_URI_AVP)")) {
> $avp(REQUEST_URI_AVP) = $ru;
> } else {
> $ru = $avp(REQUEST_URI_AVP);
> };
>
> and the calls that kept on failing started to work!
>
> something is seriously wrong, however, because there should not be any
> need to save/restore request uri from being modified by lookup()
> function that is not explicitly called by the script.
>
>
this is really strange if you say that the other machine works ok with
same binaries and config. Maybe some objects got corrupted in a way or
another. Would it be possible to get sources and compile/install on
faulty machine?
Cheers,
Daniel
--
Daniel-Constantin Mierla
* http://www.asipto.com/
More information about the sr-users
mailing list