HI All!

Within INVITE request received, I want to validate that userpart of To
header equals to field3 value of .csv file.

 

I tried two options:

   1) <ereg regexp="[ [email protected]:8877" search_in="hdr"
header="To:" assign_to="1" />

   

2)      <assignstr assign_to="3" value="[field4]" />

     <ereg regexp=" [[email protected]:8877" search_in="hdr" header="To:"
check_it="true" assign_to="1"/>

 

In both I got pretty match the same result: Failed regexp match: looking
in ' Mr.Smith <sip:[email protected]:8877>;tag=ForwardManipulationRule',
with regexp'Mr.Smith <[[email protected]:8877>'  That is SIPp does not
inject field3 value from .csv file while performing ereg regexp
procedure, but uses [$3] as string to search.

 

My question is how to cause SIPp to take field3 value from .csv file and
to use this value while performing ereg regexp action

 

THANKS

 

 

 

------------------------------------------------------------------------------
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to