[Devel] avpops issue
Daniel-Constantin Mierla
daniel at voice-system.ro
Wed Jul 27 20:11:08 CEST 2005
Hello,
On 07/27/05 20:39, Klaus Darilion wrote:
> 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.
the quick workaround will be to use avp_printf("$ruser", "$rU") and
avp_printf("$rdomain", "$rd") until avp_write() is reviewed.
Regards,
Daniel
>
> regards,
> klaus
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
More information about the Devel
mailing list