[Sipp-users] sipp compilation problem
Hi all, When trying to compile sipp 3.1 from source I found that compilation aborts with the following error: scenario.cpp:900: error: 'INT_MAX' was not declared in this scope After some googling I found that INT_MAX is defined in the /usr/include/limits.h and I was able to solve the problem via adding the line #include limits.h Into scenario.hpp file. Should this line be included in the distribution? I'm on fedora 10. And I feel like all RH5 clones have INT_MAX defined in the same file. Hope this may help other newbie's with compiling sipp. Thanks and regards, Nikolay. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
[Sipp-users] how to timeout on receive of a message
Hi, I have a UAS.XML script (server) that sometimes does not recieve an ACK message because the phone that acts as client dies. I was told that this will leave the phone call as setup and after a while I am not able to make calls to the server any more...Is this true? Second questions: How can I setup my UAS.XML script to timeout and send a BYE message if the phone hangs and leave the call up? If anyone has a UAS example please send it to me. Thanks Amir -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
[Sipp-users] Can client receve request and send reply
I have a client like scenario that goes like this: INVITE 100--- 180--- 183--- PRACK- 200 OK(PRACK)- UPDATE 200 OK(UPDATE) 200 OK(INVITE) ACK--- UPDATE 200 OK(UPDATE) ACK--- UPDATE 200 OK(UPDATE) UPDATE 200 OK(UPDATE) And a server scenario compatible with this one writen in xml. When I try to launch this in sipp (sipp -sf server.xml -t t1) I´m getting this error : Unable to load or parse xml scenario file There are no errors in scenario or in commands. Please help! Is it even posible that one scenario have a role of both, client and a server, I´m refering to last 4 messages -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
[Sipp-users] size of xml scenarios
Is there a limit in size of xml scenarios. I have one that´s 90KB, and when I try to run it with SIPp I´m getting this error Unable to load or parse xml scenario -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] size of xml scenarios
Yes. You may be able to change this line in xp_parser.c to get a larger limit. Charles #define XP_MAX_FILE_LEN 65536 Katarina Bogdan katarin...@net.hr 01/19/2009 10:23 AM Please respond to katarin...@net.hr To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] size of xml scenarios Is there a limit in size of xml scenarios. I have one that´s 90KB, and when I try to run it with SIPp I´m getting this error Unable to load or parse xml scenario -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] Can client receve request and send reply
The scenario can either send or receive requests, but can not be both a client (initiate brand new scenarios) and server (accept brand new scenarios). A scenario is determined by call-id. Charles Katarina Bogdan katarin...@net.hr 01/19/2009 10:05 AM Please respond to katarin...@net.hr To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] Can client receve request and send reply I have a client like scenario that goes like this: INVITE 100--- 180--- 183--- PRACK- 200 OK(PRACK)- UPDATE 200 OK(UPDATE) 200 OK(INVITE) ACK--- UPDATE 200 OK(UPDATE) ACK--- UPDATE 200 OK(UPDATE) UPDATE 200 OK(UPDATE) And a server scenario compatible with this one writen in xml. When I try to launch this in sipp (sipp -sf server.xml -t t1) I´m getting this error : Unable to load or parse xml scenario file There are no errors in scenario or in commands. Please help! Is it even posible that one scenario have a role of both, client and a server, I´m refering to last 4 messages -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] how to timeout on receive of a message
You can use an ontimeout attribute on your receive for the ACK. The usage should be in the reference document. Charles Amir Abdollahi aabdol...@yahoo.com 01/19/2009 09:09 AM Please respond to aabdol...@yahoo.com To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] how to timeout on receive of a message Hi, I have a UAS.XML script (server) that sometimes does not recieve an ACK message because the phone that acts as client dies. I was told that this will leave the phone call as setup and after a while I am not able to make calls to the server any more...Is this true? Second questions: How can I setup my UAS.XML script to timeout and send a BYE message if the phone hangs and leave the call up? If anyone has a UAS example please send it to me. Thanks Amir -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
Re: [Sipp-users] sipp compilation problem
Nikolay, I had exactly the same issue on Mandriva 2009, the issue was solved with a patch provided by Dmitry. See forwarded email below + attached file. Antoine - Forwarded by Antoine Pouchot/UK/IBM on 19/01/2009 13:03 - Dmitry Goncharov dgoncha...@unison.com 19/12/2008 10:38 To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] sipp-3.1 is unable to play pcap files Hi, sipp version 3.1 has a bug in call.cpp in function get_remote_port_media(). The function improperly calculates the start position of the port. Also gcc-4.3.2 doesn't compile call.cpp and scenario.cpp since these files use INT_MAX and dont include limits.h. I am providing two patch files which fix the bugs. BR, Dmitry- Nikolay Kondratyev k...@nstel.ru 19/01/2009 11:42 To sipp-users@lists.sourceforge.net cc Subject [Sipp-users] sipp compilation problem Hi all, When trying to compile sipp 3.1 from source I found that compilation aborts with the following error: scenario.cpp:900: error: ?INT_MAX? was not declared in this scope After some ?googling? I found that INT_MAX is defined in the /usr/include/limits.h and I was able to solve the problem via adding the line #include limits.h Into scenario.hpp file. Should this line be included in the distribution? I?m on fedora 10. And I feel like all RH5 clones have INT_MAX defined in the same file? Hope this may help other newbie?s with compiling sipp? Thanks and regards, Nikolay. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU sipp_limits_fix.patch Description: Binary data sipp_port_fix.patch Description: Binary data -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users
[Sipp-users] How to send the DTMF as 'telephone-event'
Hi List, I am trying to do some IVR tests which requires the PIN to be entered through DTMF tones. I have tried this with RFC2833 DTMF pcap that comes with the SIPp. SIPp sends these packets as RTP with 'unknown' payload type. But my uas requires the DTMF to be sent as 'telephone-event'. How to configure the SIPp for this scenario? Thanks, Prakash -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Sipp-users mailing list Sipp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sipp-users