Re: [Sipp-users] How to cut SIP-URI from Contact header
HI It works great! Thanks a lot Regards, Evgeny Miloslavsky Systest Engineer Juniper Networks Solutions Israel LTD. Office: 972-9-9712355 / 7320 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charles P Wright Sent: Monday, July 07, 2008 5:03 PM To: Tomasz Radziszewski Cc: [EMAIL PROTECTED]; sipp-users@lists.sourceforge.net Subject: Re: [Sipp-users] How to cut SIP-URI from Contact header Tomasz and Evgeny, I have encountered this problem as well. I think the latest trunk should respect the quotes, but svn is down so I can't tell you what version is the minimum. Charles Tomasz Radziszewski [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 07/07/2008 06:03 AM To sipp-users@lists.sourceforge.net cc Subject Re: [Sipp-users] How to cut SIP-URI from Contact header Hi Your expression contains and probably the XML parser reads it as closing of the ereg tag. It should, because it's within quotes, but from my experience it does. You can to replace the with HTML-like entity gt;, so ereg regexp= sip:[^;gt;]+ search_in=hdr header=Contact: assign_to=2 / BR Tomasz Radziszewski Senior Software Engineer Ericpol Telecom sp. z o.o. Madalinskiego 9, 30-303 Krakow, Poland e-mail: [EMAIL PROTECTED] http://www.ericpol.com/ Hi I have a following procedure to cut SIP-URI from Contact header of received message: action ereg regexp= sip:[^;]+ search_in=hdr header= Contact: assign_to=2 / /action Every time I try to run the scenario I get the assign_to value is missing message. Any advises? PS: I think that the problem is the char within the regex sip:[^;]+ Regards, Evgeny Miloslavsky Systest Engineer Juniper Networks Solutions Israel LTD. Office: 972-9-9712355 / 7320 http://www.juniper.net/ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
[Sipp-users] Again : Can Sipp have multiple remote_ip acting as a Sip Client ?
Hello, I send this message to the forum last week, but i haven't obtain no anwser yet. Does anyone know if this is possible or not, i need to know as soon as possible, i am facing deadlines. Just need a anwser yes or no and if yes how to do it. Thanks in advance Ricardo Hello, I am facing a problem with the [remote_ip] keyword when using sipp as a sipp caller client. I have tree sip server machines(machine A,B and C). Machine A is a Load Balancing machine that distributes the sip messages to B or C. I set up the remote_ip has beeing the machine A. Sipp send the sip message Invite to machine A and the sip messages 100,180 ,486 or 200 are received from machine A. Then i put the sipp client on hold, but the Invite message to sipp cames from machine B, so the ack must go to machine B, but because i defined that the [remote_ip] is machine A sipp sends the request to machine A when sipp should send it to B. Is there a way to change the [remote_ ip] on run time on the scenario file? In the atachment goes my scenario file. In this url http://www.tech-invite.com/Ti-sip-service-1.html is a example of what i am trying to acomplish. Regards Ricardo Fernandes ?xml version=1.0 encoding=ISO-8859-1 ? scenario name=Basic Sipstone UAC send![CDATA[ INVITE sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] From: 9000 sip:[EMAIL PROTECTED]:[local_port];tag=[call_number] To: sut sip:[EMAIL PROTECTED]:[remote_port] Call-ID: [call_id] Cseq: 1 INVITE Contact: sip:[EMAIL PROTECTED]:[local_port] Max-Forwards: 70 Subject: Performance Test Content-Type: application/sdp Content-Length: [len] v=0 o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] s=- t=0 0 c=IN IP[media_ip_type] [media_ip] m=audio [media_port] RTP/AVP 0 a=rtpmap:0 PCMU/8000 ]] /send recv response=100 optional=true/recv recv response=180 optional=true/recv recv response=486 optional=true action exec int_cmd=stop_now/ /action /recv recv response=200/recv send![CDATA[ ACK sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] From: 9000 sip:[EMAIL PROTECTED]:[local_port];tag=[call_number] To: sut sip:[EMAIL PROTECTED]:[remote_port][peer_tag_param] Call-ID: [call_id] Cseq: 1 ACK Contact: sip:[EMAIL PROTECTED]:[local_port] Max-Forwards: 70 Subject: Performance Test Content-Length: 0 ]] /send recv request=INVITE rrs=true/ send![CDATA[ SIP/2.0 200 OK Via: SIP/2.0/UDP 172.21.29.2:5060;branch=[branch] Record-[routes] Contact: sip:[EMAIL PROTECTED]:[local_port] From: 9000 sip:[EMAIL PROTECTED]:[local_port];tag=[call_number] To: sut sip:[EMAIL PROTECTED]:[remote_port][peer_tag_param] Call-ID: [call_id] CSeq: 1 INVITE Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO Content-Type: application/sdp Content-Length: [len] v=0 o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] s=- c=IN IP[media_ip_type] [media_ip] t=0 0 m=audio [media_port] RTP/AVP 0 a=rtpmap:0 PCMU/8000 a=sendrecv ]] /send recv request=INVITE rrs=true/ send retrans=500![CDATA[ SIP/2.0 200 OK Via: SIP/2.0/[transport] [remote_ip]:[remote_port];branch=[branch] Contact: sip:[EMAIL PROTECTED]:[local_port] From: 9000 sip:[EMAIL PROTECTED]:[local_port];tag=[call_number] To: sut sip:[EMAIL PROTECTED]:[remote_port][peer_tag_param] Call-ID: [call_id] CSeq: 2 INVITE Content-Type: application/sdp Content-Length: [len] v=0 o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip] s=- c=IN IP[media_ip_type] [media_ip] t=0 0 m=audio [media_port] RTP/AVP 0 a=rtpmap:0 PCMU/8000 ]] /send pause milliseconds=1 send retrans=500 ![CDATA[ BYE sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0 Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch] From: 9000 sip:[EMAIL PROTECTED]:[local_port];tag=[pid]SIPpTag00[call_number] To: sut sip:[EMAIL PROTECTED]:[remote_port][peer_tag_param] Call-ID: [call_id] CSeq: 2 BYE Contact: sip:[EMAIL PROTECTED]:[local_port] Max-Forwards: 70 Subject: Performance Test Content-Length: 0 ]] /send /scenario - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08___ Sipp-users mailing list Sipp-users@lists.sourceforge.net
Re: [Sipp-users] Again : Can Sipp have multiple remote_ip acting as a Sip Client ?
You can change the address things are sent to in the latest trunk using the setdest action. Something like setdest host=[$host] port=[$port] protocol=udp / You will need to combine it with regular expressions. In UAS mode SIPp responds to the address that sent it a message. You can also change the SIPp source code to do something like that for UAC mode as well. Charles [EMAIL PROTECTED] wrote on 07/08/2008 07:51:30 AM: Hello, I send this message to the forum last week, but i haven't obtain no anwser yet. Does anyone know if this is possible or not, i need to know as soon as possible, i am facing deadlines. Just need a anwser yes or no and if yes how to do it. Thanks in advance Ricardo Hello, I am facing a problem with the [remote_ip] keyword when using sipp as a sipp caller client. I have tree sip server machines(machine A,B and C). Machine A is a Load Balancing machine that distributes the sip messages to B or C. I set up the remote_ip has beeing the machine A. Sipp send the sip message Invite to machine A and the sip messages 100,180 ,486 or 200 are received from machine A. Then i put the sipp client on hold, but the Invite message to sipp cames from machine B, so the ack must go to machine B, but because i defined that the [remote_ip] is machine A sipp sends the request to machine A when sipp should send it to B. Is there a way to change the [remote_ ip] on run time on the scenario file? In the atachment goes my scenario file. In this url http://www.tech-invite.com/Ti-sip-service-1.html is a example of what i am trying to acomplish. Regards Ricardo Fernandes [attachment ScenarioHold.xml deleted by Charles P Wright/Watson/IBM] - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Again : Can Sipp have multiple remote_ip acting as a Sip Client ?
Hello, I have installed the version sipp-win32-3.1.1.exe for windows and and i have changed the scenario file to recv request=BYE/recv nop action setdest host=172.21.29.2 port=5060 protocol=udp / /action /nop send ![CDATA[ SIP/2.0 200 OK [last_Via:] [last_From:] [last_To:] [last_Call-ID:] [last_CSeq:] Contact: ricsip:[local_ip]:[local_port];transport=[transport] Content-Length: 0 ]] /send and an error occurs when i launch sipp 2008-07-08 15:01:15:3701215525675.370099: Unknown action: setdest. I have tried also with the unstable version sipp-win32-3.1.2(ossl) with the same result, must i set a switch in the command line for this to work. I would apreciate all the help you can give me. TIA Ricardo Fernandes On Tue, Jul 8, 2008 at 1:00 PM, Charles P Wright [EMAIL PROTECTED] wrote: You can change the address things are sent to in the latest trunk using the setdest action. Something like setdest host=[$host] port=[$port] protocol=udp / You will need to combine it with regular expressions. In UAS mode SIPp responds to the address that sent it a message. You can also change the SIPp source code to do something like that for UAC mode as well. Charles [EMAIL PROTECTED] wrote on 07/08/2008 07:51:30 AM: Hello, I send this message to the forum last week, but i haven't obtain no anwser yet. Does anyone know if this is possible or not, i need to know as soon as possible, i am facing deadlines. Just need a anwser yes or no and if yes how to do it. Thanks in advance Ricardo Hello, I am facing a problem with the [remote_ip] keyword when using sipp as a sipp caller client. I have tree sip server machines(machine A,B and C). Machine A is a Load Balancing machine that distributes the sip messages to B or C. I set up the remote_ip has beeing the machine A. Sipp send the sip message Invite to machine A and the sip messages 100,180 ,486 or 200 are received from machine A. Then i put the sipp client on hold, but the Invite message to sipp cames from machine B, so the ack must go to machine B, but because i defined that the [remote_ip] is machine A sipp sends the request to machine A when sipp should send it to B. Is there a way to change the [remote_ ip] on run time on the scenario file? In the atachment goes my scenario file. In this url http://www.tech-invite.com/Ti-sip-service-1.html is a example of what i am trying to acomplish. Regards Ricardo Fernandes [attachment ScenarioHold.xml deleted by Charles P Wright/Watson/IBM] - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Again : Can Sipp have multiple remote_ip acting as a Sip Client ?
You will need to download and compile the subversion trunk version. Charles Ricardo Fernandes [EMAIL PROTECTED] 07/08/2008 10:13 AM To Charles P Wright/Watson/[EMAIL PROTECTED] cc sipp-users@lists.sourceforge.net, [EMAIL PROTECTED] Subject Re: [Sipp-users] Again : Can Sipp have multiple remote_ip acting as a Sip Client ? Hello, I have installed the version sipp-win32-3.1.1.exe for windows and and i have changed the scenario file to recv request=BYE/recv nop action setdest host=172.21.29.2 port=5060 protocol=udp / /action /nop send ![CDATA[ SIP/2.0 200 OK [last_Via:] [last_From:] [last_To:] [last_Call-ID:] [last_CSeq:] Contact: ricsip:[local_ip]:[local_port];transport=[transport] Content-Length: 0 ]] /send and an error occurs when i launch sipp 2008-07-08 15:01:15:3701215525675.370099: Unknown action: setdest. I have tried also with the unstable version sipp-win32-3.1.2(ossl) with the same result, must i set a switch in the command line for this to work. I would apreciate all the help you can give me. TIA Ricardo Fernandes On Tue, Jul 8, 2008 at 1:00 PM, Charles P Wright [EMAIL PROTECTED] wrote: You can change the address things are sent to in the latest trunk using the setdest action. Something like setdest host=[$host] port=[$port] protocol=udp / You will need to combine it with regular expressions. In UAS mode SIPp responds to the address that sent it a message. You can also change the SIPp source code to do something like that for UAC mode as well. Charles [EMAIL PROTECTED] wrote on 07/08/2008 07:51:30 AM: Hello, I send this message to the forum last week, but i haven't obtain no anwser yet. Does anyone know if this is possible or not, i need to know as soon as possible, i am facing deadlines. Just need a anwser yes or no and if yes how to do it. Thanks in advance Ricardo Hello, I am facing a problem with the [remote_ip] keyword when using sipp as a sipp caller client. I have tree sip server machines(machine A,B and C). Machine A is a Load Balancing machine that distributes the sip messages to B or C. I set up the remote_ip has beeing the machine A. Sipp send the sip message Invite to machine A and the sip messages 100,180 ,486 or 200 are received from machine A. Then i put the sipp client on hold, but the Invite message to sipp cames from machine B, so the ack must go to machine B, but because i defined that the [remote_ip] is machine A sipp sends the request to machine A when sipp should send it to B. Is there a way to change the [remote_ ip] on run time on the scenario file? In the atachment goes my scenario file. In this url http://www.tech-invite.com/Ti-sip-service-1.html is a example of what i am trying to acomplish. Regards Ricardo Fernandes [attachment ScenarioHold.xml deleted by Charles P Wright/Watson/IBM] - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Again : Can Sipp have multiple remote_ip acting as a Sip Client ?
Hey Charles-- Not to hijack this thread, but what's the best way to do this if one is using Windows/cygwin? I can physically access the directory (at least I thought I could...) on an individual file through the browser, but would have to download individually. Do I need to download SVN and access via cygwin? Thanks! To: [EMAIL PROTECTED] From: [EMAIL PROTECTED] Date: Tue, 8 Jul 2008 10:19:52 -0400 CC: [EMAIL PROTECTED]; sipp-users@lists.sourceforge.net Subject: Re: [Sipp-users] Again : Can Sipp have multiple remote_ip acting as a Sip Client ? You will need to download and compile the subversion trunk version. Charles Ricardo Fernandes [EMAIL PROTECTED] 07/08/2008 10:13 AM To Charles P Wright/Watson/[EMAIL PROTECTED] cc sipp-users@lists.sourceforge.net, [EMAIL PROTECTED] Subject Re: [Sipp-users] Again : Can Sipp have multiple remote_ip acting as a Sip Client ? Hello, I have installed the version sipp-win32-3.1.1.exe for windows and and i have changed the scenario file to recv request=BYE/recv nop action setdest host=172.21.29.2 port=5060 protocol=udp / /action /nop send ![CDATA[ SIP/2.0 200 OK [last_Via:] [last_From:] [last_To:] [last_Call-ID:] [last_CSeq:] Contact: ricsip:[local_ip]:[local_port];transport=[transport] Content-Length: 0 ]] /send and an error occurs when i launch sipp 2008-07-08 15:01:15:370 1215525675.370099: Unknown action: setdest. I have tried also with the unstable version sipp-win32-3.1.2(ossl) with the same result, must i set a switch in the command line for this to work. I would apreciate all the help you can give me. TIA Ricardo FernandesOn Tue, Jul 8, 2008 at 1:00 PM, Charles P Wright [EMAIL PROTECTED] wrote: You can change the address things are sent to in the latest trunk using the setdest action. Something like setdest host=[$host] port=[$port] protocol=udp / You will need to combine it with regular expressions. In UAS mode SIPp responds to the address that sent it a message. You can also change the SIPp source code to do something like that for UAC mode as well. Charles [EMAIL PROTECTED] wrote on 07/08/2008 07:51:30 AM: Hello, I send this message to the forum last week, but i haven't obtain no anwser yet. Does anyone know if this is possible or not, i need to know as soon as possible, i am facing deadlines. Just need a anwser yes or no and if yes how to do it. Thanks in advance Ricardo Hello, I am facing a problem with the [remote_ip] keyword when using sipp as a sipp caller client. I have tree sip server machines(machine A,B and C). Machine A is a Load Balancing machine that distributes the sip messages to B or C. I set up the remote_ip has beeing the machine A. Sipp send the sip message Invite to machine A and the sip messages 100,180 ,486 or 200 are received from machine A. Then i put the sipp client on hold, but the Invite message to sipp cames from machine B, so the ack must go to machine B, but because i defined that the [remote_ip] is machine A sipp sends the request to machine A when sipp should send it to B. Is there a way to change the [remote_ ip] on run time on the scenario file? In the atachment goes my scenario file. In this url http://www.tech-invite.com/Ti-sip-service-1.html is a example of what i am trying to acomplish. Regards Ricardo Fernandes [attachment ScenarioHold.xml deleted by Charles P Wright/Watson/IBM] - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users _ Use video conversation to talk face-to-face with Windows Live Messenger. http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your