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@PriceVideo.com

361-572-3810

800-733-3810

Fax: 361-572-3894

www.PriceVideo.com