Re: [Sipp-users] UAS: Need to change the destination port in SIP Response
On Mon, Feb 16, 2009 at 9:57 PM, Singh, Satyaveer (Satyaveer) < ssi...@avaya.com> wrote: > Hi, > > I am trying to use my sipp script as UAS. But I am facing one problem. > Could anyone please help me. > > Scenario: XML script is written to receive a Notify Message and reply with > the 481. Running script using UDP protocol. > > Problem: > > Whenever SIP proxy sending a NOTIFY, It use a different port (other than > 5060) as source port and destination port as 5060. UAS receives it > correclty. > Now UAS try to reply this request using the same source port as > destination. At this point REPLY never reach at SIP proxy as it is open only > at 5060. > I also tried with optioin "-rsa" but it did not work. > > Could anyone help me how to send all reply to the port 5060. > Hello, I never had to use this, but i suppose you can use the undocumented setdest action. Read about it here: http://www.mail-archive.com/sipp-users@lists.sourceforge.net/msg02985.html Regards, mayama -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
[Sipp-users] UAS: Need to change the destination port in SIP Response
Hi, I am trying to use my sipp script as UAS. But I am facing one problem. Could anyone please help me. Scenario: XML script is written to receive a Notify Message and reply with the 481. Running script using UDP protocol. Problem: Whenever SIP proxy sending a NOTIFY, It use a different port (other than 5060) as source port and destination port as 5060. UAS receives it correclty. Now UAS try to reply this request using the same source port as destination. At this point REPLY never reach at SIP proxy as it is open only at 5060. I also tried with optioin "-rsa" but it did not work. Could anyone help me how to send all reply to the port 5060. Thanks, Satya -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
[Sipp-users] Pcap play and 802.1q captures
Can the sipp pcap play option use rtp captures files that have 802.1q headers present in the RTP packets, or does it ignore those packets? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
[Sipp-users] Sipp packet receive on os x
First let me compliment this app. It has cut my ramp-up time in half learning the sip stack for a project I have been thrown into. I have compiled and used sipp on linux and solaris and tested normal uac uas scenarios. Doing the same on os x results in successful compilation but uac uas scenarios will send sip messages but all responses are lost. tcpdump shows the sip response coming in but nothing shows on the sipp flow or in the message dump using -trace_msg. If this is not a known issue i can provide compile logs and traces to diagnose. Not a huge side issue but i also cannot get sipp to display correctly in terminal on mac. I can see what is happening as it scrolls. It will scroll down and disappear then reappear. Thanks -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] OS X not able to process response messages
Im having exactly the same problem (os x 10.5) mike lalonde wrote: > First let me compliment this app. It has cut my ramp-up time in half > learning the sip stack for a project I have been thrown into. > > I have compiled and used sipp on linux and solaris and tested normal > uac uas scenarios. Doing the same on os x results in successful > compilation but uac uas scenarios will send sip messages but all > responses are lost. tcpdump shows the sip response coming in but > nothing shows on the sipp flow or in the message dump using > -trace_msg. > > If this is not a known issue i can provide compile logs and traces to > diagnose. > > Not a huge side issue but i also cannot get sipp to display correctly > in terminal on mac. I can see what is happening as it scrolls. It > will scroll down and disappear then reappear. > > thanks > > -- > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H > ___ > Sipp-users mailing list > Sipp-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sipp-users > > __ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > __ > -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] -trace_rtt
Did you open this file with MS Excel? Then you just need to change format of this cell to number type. Regards, - Tu 鄰家老王 02/16/2009 11:15 PM To cc Subject [Sipp-users] -trace_rtt Hi I have a question , please help me, i run sipp use -trace_rtt, but outputfile _3316_rtt.csv dispaly follow, i don't know , happen rtt Xe+06 reason? - 4.28105e+06;0;1 4.28622e+06;0;1 4.29141e+06;0;1 4.29656e+06;4.29497e+06;1 4.30175e+06;4.29497e+06;1 4.30692e+06;4.29497e+06;1 4.31211e+06;4.29497e+06;1 Regards, dickson -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] -trace_rtt
I think this could be an old version which used cout, and hence scientific notation for large numbers. What version is this from? More recent versions use printf, which should do regular decimal numbers. Charles 鄰家老王 02/16/2009 11:15 PM To cc Subject [Sipp-users] -trace_rtt Hi I have a question , please help me, i run sipp use -trace_rtt, but outputfile _3316_rtt.csv dispaly follow, i don't know , happen rtt Xe+06 reason? - 4.28105e+06;0;1 4.28622e+06;0;1 4.29141e+06;0;1 4.29656e+06;4.29497e+06;1 4.30175e+06;4.29497e+06;1 4.30692e+06;4.29497e+06;1 4.31211e+06;4.29497e+06;1 Regards, dickson -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Incorrect result while performing simple arithmetic operation on variables
On Tue, Feb 17, 2009 at 5:25 PM, Evgeny Miloslavsky < emiloslav...@juniper.net> wrote: > Hi All! > > I need to subtract 500ms from Expires header value of SUBSCRIBE received. > > I have following statements at my SIPp-UAS-Notifier.xml: > > ** > > * * > > * case_indep="true" assign_to="4"/>* > > ** > > ** > > ** > > * * > > At log file I have the following output: > > *Expires header value before subtract is: 25000* > > *Expires header value after subtract is: -500.00* > > That is while subtracting SIPp somehow understand that variable 4 has value > 0. > > What am I doing wrong? > Hello, since variable 4 was assigned using ereg, it was set to a string. You cannot perform arithmetic operations on a string. So convert it to a double using: After that you will be able perform the subtraction. Also when injecting the value into a response, you will probably want get rid of the decimals. To do so, Charles told me we have to use regex to get only the integer part. If you need, follow this thread: http://www.mail-archive.com/sipp-users@lists.sourceforge.net/msg02992.html Regards, mayama -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
[Sipp-users] Incorrect result while performing simple arithmetic operation on variables
Hi All! I need to subtract 500ms from Expires header value of SUBSCRIBE received. I have following statements at my SIPp-UAS-Notifier.xml: At log file I have the following output: Expires header value before subtract is: 25000 Expires header value after subtract is: -500.00 That is while subtracting SIPp somehow understand that variable 4 has value 0. What am I doing wrong? Regards, Evgeny Miloslavsky Systest Engineer Juniper Networks Solutions Israel LTD. Office: 972-9-9717320/2355 -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users