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
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");
load_attrs into the TO/URI track must have uri (request / to /
called-party-id / whichever you want) as the second parameter.
use
load_attrs("$tr","@ruri");
or
load_attrs("$tr","(a)to.uri")"@to.uri");
or e.g.
load_attrs("$tr","(a)msg["X-my-own-header"].nameaddr.uri")der"].nameaddr.uri");
the uid is used to load just the TO/USER attributes.
Michal