[Users] Rewriting Contact HF port

Justin Pearce justinp at pricevideo.com
Fri Aug 4 17:36:46 CEST 2006


I am wondering if there is a good way to rewrite the port in the contact
header in OpenSER 1.0.1

before it is stored in the location table?(I'm using the MySQL database
backend).

Thus far, I am using "subst(/^(Contact.+):[0-9]+(.+)$/\1:5060\2/ig);"
just before I do

"save("location");", but that does not seem to be working.

 

Suggestions?

 

Justin Pearce

Information Technology/Programming

Price Video Productions

JustinP at PriceVideo.com

361-572-3810

800-733-3810

Fax: 361-572-3894

www.PriceVideo.com

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20060804/47d6b41a/attachment.htm 


More information about the Users mailing list