[Devel] avpops issue

Klaus Darilion klaus.mailinglists at pernau.at
Wed Jul 27 19:39:56 CEST 2005


Hi!

  avp_write("$ruri/username","$ruser"); and
  avp_write("$ruri/domain","$rdomain");
does not work if the SIP URI does not contain a username:

Jul 27 19:36:25 philipp /usr/sbin/openser[21133]: 
ERROR:avpops:parse_source_uri: incomplet uri <sip:nic.at43.at;transport=udp>

Jul 27 19:36:25 philipp /usr/sbin/openser[21133]: 
ERROR:avpops:write_avp: cannot parse uri

Although there is no userpart the URI is valid, and thus avp_write 
should use an empty string username.

regards,
klaus



More information about the Devel mailing list