Hi All,

Below is snippet of incoming INVITE message to SIPP.

Accept-Contact: *;+avaya-cm-line=1^M
Accept-Language: en^M
Contact: "1XC-SIP, 40061401" <sips:40061401@135.27.152.189
;gsid=cbb66ad0-f616-11e3-acc6-000c29ae90be;epv=%3csips:40061401%40avaya.com
%3bgr%3d1ff2226dabd3ee74d6d4c89e762c0dbe%3e>;+avaya-cm-keep-mpro=no^M
User-Agent: Avaya Flare Engine/2.0.0 (Avaya 2.0 36; Windows NT 6.1, 64-bit)
AVAYA-SM-6.3.8.0.638014 Avaya CM/R017x.00.0.422.0 AVAYA-SM-6.3.8.0.638014^M

As you can see, it has Accept-Contact header before Contact header. Now if
I use below expression to extract Contact header, it always gives me
Accept-Contact value.

          <ereg regexp=".*" search_in="hdr" header="Contact:"
assign_to="tempFarContact"/>


Is there a way to make sure we get Contact header value instead of
Accept-Contact value?

Thanks,
Sambhaji
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Sipp-users mailing list
Sipp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to