P.S. If you are doing load tests you may also be interested in http://ftp.iptel.org/pub/sems/doc/current/Tuning.html
o Stefan Sayer on 03/30/2012 02:35 PM:
Hello, simply set SIP and media IP to the ones that you want to use. e.g. if it's on eth0 which has IP 192.168.5.110, and you want to use G711 codec only, you'd configure sems in sems.conf with sip_ip=192.168.5.110 sip_port=5080 media_ip=192.168.5.110 rtp_low_port=10000 rtp_high_port=60000 application=echo load_plugins=wav;echo;stats you can see how many calls are active by running sems-stats for other codecs, load more codec modules (e.g. gsm,adpcm etc) hth Stefan o Fomitchev, AndreiX on 03/29/2012 07:21 PM:Hi All, I need an “echo mode” for testing purpose of SIP, so I tried to use sems as back-end of kamailio. I built sems 1.4.2 from scratch using default Makefile and when I launched it using default sems.conf, I was unable to establish a communication because sems met “network” errors: {log start} (...) [#b6476b70/4110] [run, udp_trsp.cpp:186] INFO: Started SIP server UDP transport on 127.0.0.1:5080 [#b6a7cb70/4104] [send, AmRtpPacket.cpp:212] ERROR: while sending RTP packet: Invalid argument [#b6a7cb70/4104] [compile_and_send, AmRtpStream.cpp:313] ERROR: while sending RTP packet: Invalid argument. [#b7486b70/4094] [send, transport.cpp:114] ERROR: sendto: Invalid argument [#b7486b70/4094] [send_request, trans_layer.cpp:899] ERROR: Error from transport layer: Invalid argument {log end} I looked on internet (in maillist archive, for example, I read mail exchange “ERROR: while sending RTP packet”) and I noted that it is probably due to sip_ip and media_ip but I do not understand that it is solution… Is there a documentation which explains sems configuration in case of usage with Kamailio? What I need to configure in sems or/and in Kamailio (expect echo mode, Kamailiio works fine)? Thank you for your responses. Best regards,
_______________________________________________ Sems mailing list [email protected] http://lists.iptel.org/mailman/listinfo/sems
