Hi,
I need to validate the Caller number in SIPp UAS file. The caller number
to be validated against is passed to SIPp using -key option. However,
this regexp always fails.
SIPp version 1.1. Please let me know your comments.
thanks,
Shamik
The script looks like -
<recv request="INVITE" crlf="true" >
<action>
<ereg regexp=" ([$key]@).*" search_in="hdr" header="To:"
check_it="true" assign_to="3" />
</action>
</recv>
<send next="2" test="3">
<![CDATA[
SIP/2.0 180 Ringing
[last_Via:]
[last_From:]
[last_To:];tag=[pid]SIPpTag01[call_number]
[last_Call-ID:]
....
Output --> Failed regexp match: looking in ' sip:[EMAIL PROTECTED]:5060',
with regexp '([$key]@).*'.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users