[sr-dev] assigning $rd buggy?

Alex Balashov abalashov at evaristesys.com
Mon Jul 4 13:59:02 CEST 2011


On 07/04/2011 07:53 AM, Klaus Darilion wrote:
> Is there a method to replace the whole part after the @ with a single
> assignment (setting domain,port and parameters)?
>
> I want to avoid:
>    $ru = "sip:" + $rU + "@" + "1.2.3.4:5060";

There is rewritehostport().  But if you have PV arguments, I don't 
know if it will take them.

-- 
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/



More information about the sr-dev mailing list