[OpenSIPS-Users] restore_uri error

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Feb 17 09:57:33 CET 2010


Hi Jeff,

The error message may be a bit misleading - it is not about new uri 
shorter then old uri, is about the URI from Route hdr being shorter than 
the old URI.

The URI encoded in the Route param has the len = max(new uri, old uri), 
so the module expects that the URI from FROM to be equal of shorter than 
the one from Route param.

Do you have a trace of the bogus call ? or at least of the message ? I 
suspect some of the phones do mess with the Route param.

Regards,
Bogdan

Jeff Pyle wrote:
> Hello,
>
> I make use of uac_replace_from() in my scripts.  I believe that is where this error message is coming from:
>   ERROR:uac:restore_uri: new URI shorter than old URI
>
> Can anyone explain what this really means?  Having a new URI shorter than an old one really doesn't seem like an error condition to me.
>
> I haven't changed my script in months.  This error seems to have surfaced somewhere around 1.6's 6590 build.
>
>
> Thanks,
> Jeff
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list