[Users] subst_uri modifying SIP method ?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Sep 7 09:45:10 CEST 2005


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 at voipprovider.com/i');*
>
> I see in the openser output:
>
> *17(17303) ERROR: parse_msg: message=<INÖTE 
> sip:00349999999 at 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 at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>





More information about the Users mailing list