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]@).*'.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users