[Serusers] caller==callee

Richard richard at o-matrix.org
Tue Jan 18 21:22:52 CET 2005


With the module avpops, you can try this,

avp_write("$ruri","s:ruri_addr");

if (avp_check("s:ruri_addr","eq/$from/i")) {
   ...
}

Richard

> -----Original Message-----
> From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org] On
> Behalf Of Giovanni Balasso
> Sent: Tuesday, January 18, 2005 9:53 AM
> To: serusers at lists.iptel.org
> Subject: [Serusers] caller==callee
> 
> Hi serusers,
> 
> I know there must be a simple way to check if callee i same uri as caller
> in
> ser.cfg, but I can't figure it out, any ideas?
> 
> thanks a lot
> (maybe a dumb question, but I'm losing my head)
> 
> --
> Giovanni Balasso
> giaso at yahoo.it
> 
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers




More information about the sr-users mailing list