Hi Gustavo,
not sure the error relays in subst_uri... As the log shows, the error is spit out by parse_msg() function which is called before script execution - actualy, in this case, the script never gets executed....are you spiralling the message on the proxy?
anyhow, could you post the net capture of the request as received and sent out by openser? it will help
regards, bogdan
Gustavo García wrote:
Hi all,
I’m trying to rewrite the sip uri with textops module as follows:
*subst_uri('/sip:0([0-9]+)@(.*)$/sip:0034\1@voipprovider.com/i');*
I see in the openser output:
*17(17303) ERROR: parse_msg: message=<INÖTE sip:00349999999@voipprovider.com SIP/2.0*
It seems the subst_uri is modifying also the SIP method.
Am I doing something wrong? Any known bug? I’m working with the current CVS version.
Thank you very much.
G.
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users