Discussion:
[SR-Users] Many instances of "new URI shorter than old URI" in log
Alex Villací­s Lasso
2014-06-27 20:33:17 UTC
Permalink
Jun 27 15:28:42 elx /usr/sbin/kamailio[25189]: ERROR: uac [replace.c:590]: restore_uri(): new URI shorter than old URI
Jun 27 15:28:44 elx /usr/sbin/kamailio[25187]: ERROR: uac [replace.c:590]: restore_uri(): new URI shorter than old URI
Jun 27 15:28:48 elx /usr/sbin/kamailio[25188]: ERROR: uac [replace.c:590]: restore_uri(): new URI shorter than old URI
Jun 27 15:28:49 elx /usr/sbin/kamailio[25188]: ERROR: uac [replace.c:590]: restore_uri(): new URI shorter than old URI

I am not really sure of what this message is supposed to indicate. It looks something related to uac_restore_[from,to] functions, but some debugging statements just before the use show that the message is not originating from there. This message is showing
up hundreds of times per day.
Daniel-Constantin Mierla
2014-06-30 09:24:19 UTC
Permalink
Hello,

iirc, this is a check when trying to convert from base64 to old uri, but
I didn't have time to dig properly inside the sources.

I enhanced the log message to print the values of the uris, via commit:

-
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6feeb886b58f4cd1cefeef132245c009bf8ca07f

If you have a sip trace for a message throwing the error, I can look at
it. If not, try the patch from the above commit and send again the logs
when they appear.

Cheers,
Daniel
Post by Alex Villací­s Lasso
Jun 27 15:28:42 elx /usr/sbin/kamailio[25189]: ERROR: uac
[replace.c:590]: restore_uri(): new URI shorter than old URI
Jun 27 15:28:44 elx /usr/sbin/kamailio[25187]: ERROR: uac
[replace.c:590]: restore_uri(): new URI shorter than old URI
Jun 27 15:28:48 elx /usr/sbin/kamailio[25188]: ERROR: uac
[replace.c:590]: restore_uri(): new URI shorter than old URI
Jun 27 15:28:49 elx /usr/sbin/kamailio[25188]: ERROR: uac
[replace.c:590]: restore_uri(): new URI shorter than old URI
I am not really sure of what this message is supposed to indicate. It
looks something related to uac_restore_[from,to] functions, but some
debugging statements just before the use show that the message is not
originating from there. This message is showing up hundreds of times
per day.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Alex Villací­s Lasso
2014-07-02 15:51:45 UTC
Permalink
Post by Daniel-Constantin Mierla
Hello,
iirc, this is a check when trying to convert from base64 to old uri, but I didn't have time to dig properly inside the sources.
- http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6feeb886b58f4cd1cefeef132245c009bf8ca07f
If you have a sip trace for a message throwing the error, I can look at it. If not, try the patch from the above commit and send again the logs when they appear.
Jul 1 18:26:33 mail /usr/sbin/kamailio[32188]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:hgaibor-Q0ErXNX1Rub2/***@public.gmane.org:5060;transport=UDP]
Jul 1 18:26:33 mail /usr/sbin/kamailio[32189]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:hgaibor-Q0ErXNX1Rub2/***@public.gmane.org:5060;transport=UDP]
Jul 1 19:06:11 mail /usr/sbin/kamailio[32185]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:hgaibor-Q0ErXNX1Rub2/***@public.gmane.org:5060;transport=UDP]
Jul 1 19:06:11 mail /usr/sbin/kamailio[32185]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:hgaibor-Q0ErXNX1Rub2/***@public.gmane.org:5060;transport=UDP]
Jul 2 09:53:14 mail /usr/sbin/kamailio[32189]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:hgaibor-Q0ErXNX1Rub2/***@public.gmane.org:5060;transport=UDP]
Jul 2 09:53:15 mail /usr/sbin/kamailio[32188]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:hgaibor-Q0ErXNX1Rub2/***@public.gmane.org:5060;transport=UDP]
Jul 2 10:47:25 mail /usr/sbin/kamailio[32185]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:hgaibor-Q0ErXNX1Rub2/***@public.gmane.org:5060;transport=UDP]
Alex Villací­s Lasso
2014-07-02 20:02:21 UTC
Permalink
Post by Daniel-Constantin Mierla
Hello,
iirc, this is a check when trying to convert from base64 to old uri, but I didn't have time to dig properly inside the sources.
- http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6feeb886b58f4cd1cefeef132245c009bf8ca07f
If you have a sip trace for a message throwing the error, I can look at it. If not, try the patch from the above commit and send again the logs when they appear.
More examples:

Jul 2 12:32:27 mail /usr/sbin/kamailio[3111]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:91632087-***@public.gmane.org:51526;alias=186.70.154.18~51526~1]
Jul 2 12:32:27 mail /usr/sbin/kamailio[3112]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:91632087-***@public.gmane.org:51526;alias=186.70.154.18~51526~1]
Jul 2 12:32:27 mail /usr/sbin/kamailio[3110]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:91632087-***@public.gmane.org:51526;alias=186.70.154.18~51526~1]
Jul 2 12:32:27 mail /usr/sbin/kamailio[3111]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:91632087-***@public.gmane.org:51526;alias=186.70.154.18~51526~1]
Jul 2 12:32:28 mail /usr/sbin/kamailio[3113]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:91632087-***@public.gmane.org:51526;alias=186.70.154.18~51526~1]
Jul 2 12:32:30 mail /usr/sbin/kamailio[3110]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:91632087-***@public.gmane.org:51526;alias=186.70.154.18~51526~1]
Jul 2 12:32:33 mail /usr/sbin/kamailio[3110]: ERROR: uac [replace.c:591]: restore_uri(): new URI [] shorter than old URI [sip:91632087-***@public.gmane.org:51526;alias=186.70.154.18~51526~1]
Alex Villací­s Lasso
2014-07-15 15:44:42 UTC
Permalink
Post by Alex Villací­s Lasso
Post by Daniel-Constantin Mierla
Hello,
iirc, this is a check when trying to convert from base64 to old uri, but I didn't have time to dig properly inside the sources.
- http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6feeb886b58f4cd1cefeef132245c009bf8ca07f
If you have a sip trace for a message throwing the error, I can look at it. If not, try the patch from the above commit and send again the logs when they appear.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Any comments on this?

Continue reading on narkive:
Search results for '[SR-Users] Many instances of "new URI shorter than old URI" in log' (Questions and Answers)
9
replies
what are the cookie files on your computer for.?
started 2007-03-08 22:32:53 UTC
software
Loading...