You are right. The problem wasn't in subst_uri, the original message was
malformed. I'm sorry.
Thank you very much for your help.
BR.
-----Mensaje original-----
De: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]
Enviado el: miércoles, 07 de septiembre de 2005 9:45
Para: Gustavo García
CC: users(a)openser.org
Asunto: Re: [Users] subst_uri modifying SIP method ?
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,
Im 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? Im working with the
current CVS version.
Thank you very much.
G.
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users