[Serusers] ser 0.10.99 - runtime and compilation errors
Jiri Kuthan
jiri at iptel.org
Thu Feb 8 14:50:02 CET 2007
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 at voip.touk.pl> (16)
>> > Feb 8 12:47:24 rd ser[12172]: ERROR: avp_db.c:187: Error while parsing URI 'tzl at 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 at voip.touk.pl> (20)
>Feb 8 14:12:27 rd ser[27397]: ERROR: avp_db.c:187: Error while parsing URI 'hellboy at 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 at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
More information about the sr-users
mailing list