perl ../sip_scenario.pl -I../batch_files/user_scenario.bat rem or sip_scenario.exe -Iuser_scenario.bat exit #file: user_scenario.bat #from Cmd Window: cmd /c user_scenario.bat # # This file demonstrates the following: # * The ability to generate SIP message scenarios without having to have an ethernet trace file # * using alias or IP for source and destination IP addresses. # * The ability to modify the characteristics of an Ip address. (change alias, change order, remove Ip address) # rememebr that the file sip_scenario.ini is automatically included by sip_scenario.pl the next line is just a reminder #-Isip_scenario.ini # file that contains user preferences. It is commented out because it has been already executed. 10.25.200.148/Proxy/Registrar # redefine the alias of Ip address without changing the order of IP addresses. 10.25.200.218:1 # Change the Order of Ip address keeping the same alias 10.25.200.211/Leo's Phone:7 # change the alias of an Ip address and the order 10.25.200.220:0 # delete Ip address from set of IP address to use. -o../generated_files/user_scenario # output file -tUser Defined Scenario # set title -g35 # set gapwidth between lines -format:time:0 # time is not relavent here. -stat0 # turn off statistics at bottom of page -format:v:3 # -format:callid:0 #Generate a SIP Message. With CallId=XX adding after frame 0 -fake:Leo's Phone:Proxy/Registrar:XX:0:SomeMethod SIP/2.0\n\ User-Agent:SipScenario\n\ ContentType=application/XYZ\n\ \n\ This is a content record\n\ This is another content record\n #Generate a SIP Message. using previous CallId(0). adding after frame 0 -fake:Proxy/Registrar:Chris:1:0:SomeMethod SIP/2.0\n\ User-Agent:SipScenario\n\ ContentType=application/XYZ\n\ \n\ This is a content record\n\ This is another content record\n #Generate a SIP Message. using previous CallId(0). adding after frame 0 -fake:Chris:Proxy/Registrar:1:0:SIP/2.0 402 Some Response #Generate a SIP Message. using previous CallId(0). adding after frame 0 -fake:Proxy/Registrar:Leo's Phone:1:0:SIP/2.0 402 Some Response end-of-file # terminate include file here ################################################################################################################ The SIP Scenario Generator Software License, Version 1.1 Copyright (c) 2003 IPC Information Systems Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The end-user documentation included with the redistribution, if any, must include the following acknowledgment: "This product includes software developed by IPC Information Systems Inc (http://www.ipc.com/)." Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear. 4. The names "SIP Scenario Generator" and "IPC Information Systems Inc" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact the legal department at IPC Information Systems Inc. 5. Products derived from this software may not be called "SIP Scenario Generator", nor may "SIP Scenario Generator" appear in their name, without prior written permission of IPC Information Systems Inc. THIS SOFTWARE IS PROVIDED ``AS IS`` AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL IPC INFORMATION SYSTEMS INC OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This software consists of voluntary contributions made by Ray Elliott of IPC information System Inc. e-mail:ray.elliott@ipc.com please see . ################################################################################################################