At 14:05 08/02/2007, tzieleniewski wrote:
> On Thu, 2007-02-08 at 12:42 +0100, tzieleniewski
wrote:
> > Hi!
> >
> > I observed the following errors reported by ser during normal runtime are they
critical?:
> > Feb 8 12:47:24 rd ser[12172]: ERROR: parse_uri: bad uri, state 0 parsed:
<tzl@> (4) / <tzl(a)voip.touk.pl> (16)
> > Feb 8 12:47:24 rd ser[12172]: ERROR: avp_db.c:187: Error while parsing URI
'tzl(a)voip.touk.pl'
>
> The uri must start with sip: sips: or tel:
> Michal
>
SER is using technique known as "lazy parsing", which means it doesn't touch
a syntactical
element unless needed. Supposingly, in previous parts of the script there was no need to
use the To header field. Lazy parsing is done for better performance as it significantly
improves overall performance.
-jiri
why this error occurs after I invoke the
load_attrs("$tr", "$t.uid");
my ser.cfg:
....
# load the preferences of the callee to have his timeout values loaded
xlog("L_INFO", " route[INBOUND]: load_attrs($tu,$t.uid) \n");
load_attrs("$tu", "$t.uid");
xlog("L_INFO", " route[INBOUND]: load_attrs($tr,$t.uid) \n");
load_attrs("$tr", "$t.uid");
# native SIP destinations are handled using our USRLOC DB
xlog("L_INFO", " route[INBOUND]: (lookup_contacts(location)) || else
\n");
if (lookup_contacts("location")) {
....
log file:
Feb 8 14:12:27 rd ser[27397]: route[INBOUND]: load_attrs($tr,$t.uid)
Feb 8 14:12:27 rd ser[27397]: ERROR: parse_uri: bad uri, state 0 parsed: <hell>
(4) / <hellboy(a)voip.touk.pl> (20)
Feb 8 14:12:27 rd ser[27397]: ERROR: avp_db.c:187: Error while parsing URI
'hellboy(a)voip.touk.pl'
Feb 8 14:12:27 rd ser[27397]: route[INBOUND]: (lookup_contacts(location)) || else
Feb 8 14:12:27 rd ser[27397]: route[INBOUND]: append_hf(P-hint: usrloc applied)
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan
http://iptel.org/~jiri/