Is there an easy way to strip the single quotes from RPID in DBTEXT? When I use sc.dbtext it automatically adds single quotes to the entry like so...
'17145551212'
As a result when I add RPID to my header with the folowing line, I get the single quotes in the header.
append_hf("P-Asserted-Identity: "User" sip:+$avp(s:rpid)@x.x.x.x\r\n");
Regards, Daryl
Nevermind, I just changed this in the sc.dbtext script. I don't know why I didn't think of that to begin with.
- Daryl
On 3/20/07, Daryl Sanders daryl.sanders@gmail.com wrote:
Is there an easy way to strip the single quotes from RPID in DBTEXT? When I use sc.dbtext it automatically adds single quotes to the entry like so...
'17145551212'
As a result when I add RPID to my header with the folowing line, I get the single quotes in the header.
append_hf("P-Asserted-Identity: "User" sip:+$avp(s:rpid)@x.x.x.x\r\n");
Regards, Daryl