Tomasz and Evgeny,

I have encountered this problem as well.  I think the latest trunk should 
respect the quotes, but svn is down so I can't tell you what version is 
the minimum.

Charles




Tomasz Radziszewski <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
07/07/2008 06:03 AM

To
[email protected]
cc

Subject
Re: [Sipp-users] How to cut SIP-URI from Contact header






Hi

Your expression contains ">" and probably the XML parser reads it as 
closing 
of the "ereg" tag. It should, because it's within quotes, but from my 
experience it does. You can to replace the ">" with HTML-like entity 
"&gt;", 
so

<ereg regexp= "sip:[^;&gt;]+"  search_in="hdr"
header="Contact:" assign_to="2" />

BR
Tomasz Radziszewski

Senior Software Engineer
Ericpol Telecom sp. z o.o.
Madalinskiego 9, 30-303 Krakow, Poland
e-mail: [EMAIL PROTECTED]
http://www.ericpol.com/

> Hi
>
> I have a following procedure to cut SIP-URI from Contact header of
> received message:
>
> <action>
>
>                   <ereg regexp= "sip:[^;>]+"  search_in="hdr" header=
> "Contact:" assign_to="2" />
>
>             </action>
>
> Every time I try to run the scenario I get the "assign_to value is
> missing" message.
>
> Any advises?
>
>
>
> PS: I think that the problem is the > char within the regex sip:[^;>]+
>
> Regards,
>
>
>
> Evgeny Miloslavsky
>
> Systest Engineer
>
> Juniper Networks Solutions Israel LTD.
>
> Office: 972-9-9712355 / 7320
>
> <http://www.juniper.net/>



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to