|
Hi, I have encountered some problems when using the "one socket per call" option in 3pcc extended mode with 3.0 release. Sipp is not able to create any udp socket associated to a call if it is configured as the Master. The following assert fails: sipp: call.cpp:1279: char* call::send_scene(int, int*): Assertion `call_socket' failed. This is due to the fact that call_socket is only created if toolMode is MODE_CLIENT. I need sipp to generate calls also when acting as the Master in 3pcc extended mode. To do so, the following patch can be applied: --- call.cpp.old 2007-12-19 18:45:10.000000000 +0100 +++ call.cpp 2007-12-19 18:45:07.000000000 +0100 @@ -787,7 +787,7 @@ if(transport == T_UDP) { struct sockaddr_storage saddr; - if(toolMode != MODE_CLIENT) + if(toolMode != MODE_CLIENT && toolMode != MODE_MASTER && toolMode != MODE_3PCC_CONTROLLER_B ) return; char peripaddr[256]; Has anyone tried to make multisocket udp calls in master mode? Did you encounter the same problem? If so, could you find a different solution? I hope that the patch can be useful to some of you. Regards, |
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
