[Serusers] prefix command

Jiang zhou zjiang at sipod.com
Tue Mar 22 07:22:36 CET 2005


Hi all,
 
I have write a command as 
 
  if (uri=~"^sip:0") {
        strip(1);
        prefix("02134");
        forward(xx.xx.xx.xx);
        break;
  }

I find it only prefix the invite URI but the to field is not add prefix. The
peer PSTN gateway need both URI and to field has the same value. how to add
a prefix in to field?



Jiangzhou
Best Regards
-------------------------------------------------
Phone:    021-54591867
Email:    zjiang at sipod.com
WWW  :    www.sipod.com
------------------------------------------------


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20050322/7aefbcdb/attachment.htm>


More information about the sr-users mailing list