This is a problem with SIPp's XML parser.  You will need to edit the 
source code to support some sort of escape sequencing for the regexp value 
(much like can be done for call CDATA).

Charles




"Adragna Biagio" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
09/21/2007 03:10 PM

To
<[email protected]>
cc

Subject
[Sipp-users] Regular expression to get Contact






Hello all,
I?m using SIPp since some days to test an IMS solution.
I don?t succeed in catch the Contact field using a regular expr.
 
I explain it better:
 
In the 200 OK the contact is:
Contact: tester <sip:[EMAIL PROTECTED]:5060>
 
I need to catch sip:[EMAIL PROTECTED]:5060.
 
But using as regular expr:
     <ereg regexp="sip:[^>]*" search_in="hdr" header="Contact:" 
assign_to="1" />
 
The ?^>? is considered as the end of the tag ?ereg?, and SIPp considers it 
as error because the ?assign_to? is not specified.
 
Any suggestion how to solve the issue.
 
Thanks in advance.
 
Biagio  
 
 
Internet Email Confidentiality Footer
********************************************************************************************************************************************
La presente comunicazione, con le informazioni in essa contenute e ogni 
documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' 
indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non 
siete i destinatari/autorizzati siete avvisati che qualsiasi azione, 
copia, comunicazione, divulgazione o simili basate sul contenuto di tali 
informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., 
D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se 
avete ricevuto questa comunicazione per errore, vi preghiamo di darne 
immediata notizia al mittente e di distruggere il messaggio originale e 
ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il 
contenuto. 

This e-mail and its attachments are intended for the addressee(s) only and 
are confidential and/or may contain legally privileged information. If you 
have received this message by mistake or are not one of the addressees 
above, you may take no action based on it, and you may not copy or show it 
to anyone; please reply to this e-mail and point out the error which has 
occurred. 
********************************************************************************************************************************************
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to