[Serusers] $from in avpops different?

sip sip at arcdiv.com
Fri Sep 23 15:09:52 CEST 2005


I have this avpops test going...

avp_db_load("$ruri/username", "$urire/$urire_scheme");
# Load the urire column for this and check to see if
# it matches the $from address
if(avp_check("$urire", "eq/$from/I"))
{
   do stuff
}


I'm calling from the number number at domain.com.  If I use the above, the
avp_check test fails.  If I put  


if(avp_check("$urire", "eq/number at domain.com/I"))

instead, the check works exactly the way it's supposed to. It's almost as if
the $from address isn't right. Is there some way I can check what it's doing
at this point other than this painful trial and error?


N.




More information about the sr-users mailing list