Hi Svetlana.
First of all, I would suggest you to divide REGISTER and MESSAGE tasks
to two scenarios.
Regarding your questions of outputting MESSAGE in an output file, I
would suggest you to use following examlpe:
Example, that execute a system echo for every INVITE received:
<recv request="INVITE">
<action>
<exec command="echo [last_From] is the from header received >>
from_list.log"/>
</action>
</recv>
I hope it helps.
Regards,
Evgeny Miloslavsky
Systest Engineer
Juniper Networks Solutions Israel LTD.
Office: 972-9-9712355
Office: 972-74-7170072
________________________________
From: svetla verma [mailto:[email protected]]
Sent: Thursday, November 05, 2009 1:03 PM
To: [email protected]
Subject: [Sipp-users] Query regarding periodic Registration and sending
aMESSAGE to a text file!!
Hello,
I need to write a script that does two tasks
1. periodic registrations with the registrar and parallely
2. captures MESSAGE sent by a phone and handles it.
3. outputs the MESSAGE into a text file.
I can do periodic registrations in the script by using "next" command.
But how do I put MESSAGE capturing code in the same script (The
execution never reaches to the MESSAGE level as it is looping send
register message. Is there any other way of making registration
periodic?? )
How do I output the received MESSAGE in an output file??
Please help,
Svetla
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users