Re: [Sipp-users] [Need Help] Question of variable manipulation

2007-06-15 Thread Charles P Wright
] [Need Help] Question of variable manipulation Leo, I am glad to see that this feature would be useful for you. 1. I add $4 by 3, but in log it is still 0. The code doesn't handle adding values to regular expressions (strings). There should be some better error handling

[Sipp-users] [Need Help] Question of variable manipulation

2007-06-14 Thread Leo_Hu
Dear All, Is anybody successfully use the variable manipulation tags in scenario ? Here is my scenarion .. recv response=200 rtd=true crlf=true action ereg regexp=m=audio ([[:digit:]]+) RTP/AVP ([0-9]+) assign_to=2,3,4/ log message=$4:[$4]/

Re: [Sipp-users] [Need Help] Question of variable manipulation

2007-06-14 Thread Charles P Wright
Leo, I am glad to see that this feature would be useful for you. 1. I add $4 by 3, but in log it is still 0. The code doesn't handle adding values to regular expressions (strings). There should be some better error handling, or possibly even automatic type casting added. 2. I assign $5 to