There have been two postings about the missing <Reference> tag but no answer
so far, and I'm getting the same error.

The HTML help page says this:

To prevent programming errors, SIPp performs very rudimentary checks to
ensure that each variable is used more than once in the scenario (this helps
prevent some typos from turning into hard to debug errors). Unfortunately,
this can cause some complication with regular expression matching. The
regular expression action must assign the entire matched expression to a
variable. If you are only interested in checking the validity of the
expression (i.e. the check_it attribute is set) or in capturing a
sub-expression, you must still assign the entire expression to a variable.
As this variable is likely only referenced once, you must inform SIPp that
you are knowingly using this variable once with a Reference clause. For
example:

<recv request="INVITE">
  <action>
    <ereg regexp="<sip:([^;@]*)" search_in="hdr" header="To:"
assign_to="dummy,uri" />
  </action>
</recv>
<Reference variables="dummy" />

However, using <Reference> will get you this:

Unknown element 'Reference' in xml scenario file

Anyone here can shed light on this ?

Thanks,
T. Ta
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to