the first one works great!
Thanks
On Feb 4, 2008 5:00 PM, Daniel-Constantin Mierla <daniel(a)voice-system.ro>
wrote:
Hello,
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 = .... ?
$ru = "sip:"+$rU + "@" + $avp(s:ip)
+ ":" + $avp(s:port);
or
pv_printf($ru, "sip:$rU@$avp(s:ip):$avp(s:port)");
Cheers,
Daniel
Thanks
On Feb 4, 2008 12:51 PM, Iñaki Baz Castillo <ibc(a)in.ilimit.es
<mailto:ibc@in.ilimit.es>> wrote:
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
ibc(a)in.ilimit.es <mailto:ibc@in.ilimit.es>
_______________________________________________
Users mailing list
Users(a)lists.openser.org <mailto:Users@lists.openser.org>
http://lists.openser.org/cgi-bin/mailman/listinfo/users
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users