[SR-Users] error using avp_db_load with mongodb
Sebastian Damm
damm at sipgate.de
Mon Jul 31 09:10:15 CEST 2017
Hi,
On Fri, Jul 28, 2017 at 6:03 PM, hdssdsdsdsfsdf hdssdsdsdsfsdf
<hdssdsdsdsfsdf at mail.com> wrote:
> if (avp_db_load("$to/username", "$avp(s:email)")) {
> xlog("bla02");
> }
$to is not a valid pseudo variable. You probably want to replace
"$to/username" by "$tU" or "$rU" or some variable where the user you
are searching is written in the SIP packet.
BR
Sebastian
More information about the sr-users
mailing list