the first one works great!
Thanks
Hello,$ru = "sip:"+$rU + "@" + $avp(s:ip) + ":" + $avp(s:port);
On 02/04/08 23:55, Mouncif Benniane wrote:
> my query looks like this:
>
> avp_db_query("SELECT prefix,grp_id,priority,custid,did,ip,port FROM
> table WHERE
> prefix='$rU'","$avp(s:prefix);$avp(s:grp_id);$avp(s:priority);$avp(s:custid);$avp(s:did);$avp(s:ip);$avp(s:port)")
>
> how Do I use $ru = .... ?
or
pv_printf($ru, "sip:$rU@$avp(s:ip):$avp(s:port)");
Cheers,
Daniel> <mailto:ibc@in.ilimit.es>> wrote:> ibc@in.ilimit.es <mailto:ibc@in.ilimit.es>
>
> On Monday 04 February 2008 18:24:17 Mouncif Benniane wrote:
> > How Do I re-write the IP, Port of Request URI using avp_pushto() ?
>
> Why do you want to use "avp_pushto()"? why not using the following?
>
> $ru = ....
>
> --
> Iņaki Baz Castillo
>
> _______________________________________________
> Users mailing list
> Users@lists.openser.org <mailto:Users@lists.openser.org>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users@lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>