We use mediaproxy and kamailio and using the init.d script from the Debian package to restart kamailio has no effect on mediaproxy process.
2013/2/8 Eduardo Lejarreta <lejarret...@sarenet.es>: > Good morning Daniel. > > I send you the "messages" log which is a bit filtered. The flow is: > > Start a call, engage_mediaproxy on ports (50156, 50157, 50158, 50159) and > then "kamctl restart". As you see it seems that an instruction from kamailio > tells mediaproxy to drop the ports. > We have tried to script around "kamctl" to avoid sending orders to > mediaproxy, killing the "media-dispatcher" before Kamailio and then > restarting again (media-dispatcher) and this works OK, but seems not be a > reasonable way to fix it. > > ...... > Feb 8 11:04:51 kamailio-dev media-relay[2474]: > mediaproxy.mediacontrol.StreamListenerProtocol starting on 50156 > Feb 8 11:04:51 kamailio-dev media-relay[2474]: > mediaproxy.mediacontrol.StreamListenerProtocol starting on 50157 > Feb 8 11:04:51 kamailio-dev media-relay[2474]: > mediaproxy.mediacontrol.StreamListenerProtocol starting on 50158 > Feb 8 11:04:51 kamailio-dev media-relay[2474]: > mediaproxy.mediacontrol.StreamListenerProtocol starting on 50159 > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3461]: NOTICE: <core> > [main.c:706]: Thank you for flying kamailio!!! > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3561]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3558]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3560]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3553]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3557]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3549]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3552]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3547]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3545]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3546]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3541]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3538]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3536]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3526]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3492]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3528]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3521]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3530]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3495]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3532]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3493]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3539]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3523]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3534]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3489]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3496]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3488]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3525]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3487]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3498]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3484]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3500]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3482]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3501]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3479]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3499]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3474]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3476]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3475]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3477]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3491]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3480]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3490]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3486]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev /sbin/kamailio[3483]: INFO: <core> > [main.c:817]: INFO: signal 15 received > Feb 8 11:05:06 kamailio-dev media-relay[2474]: (Port 50156 Closed) > Feb 8 11:05:06 kamailio-dev media-relay[2474]: (Port 50157 Closed) > Feb 8 11:05:06 kamailio-dev media-relay[2474]: (Port 50158 Closed) > Feb 8 11:05:06 kamailio-dev media-relay[2474]: (Port 50159 Closed) > Feb 8 11:05:08 kamailio-dev kamailio: INFO: <core> [tcp_main.c:4727]: > init_tcp: using epoll_lt as the io watch method (auto detected) > Feb 8 11:05:08 kamailio-dev /sbin/kamailio[3761]: INFO: usrloc > [hslot.c:53]: locks array size 512 > ...... > > Thanks and regards. > -- > Eduardo Lejarreta. > > -----Mensaje original----- > De: Daniel-Constantin Mierla [mailto:mico...@gmail.com] > Enviado el: viernes, 08 de febrero de 2013 9:38 > Para: lejarret...@sarenet.es; SIP Router - Kamailio (OpenSER) and SIP > Express Router (SER) - Users Mailing List > Asunto: Re: [SR-Users] kamctl restart and mediaproxy > > Hello, > > not using mediaproxy, but have you looked at its logs to see if prints some > messages? > > Cheers, > Daniel > > On 2/7/13 5:03 PM, Eduardo Lejarreta Langarica SARENET wrote: >> Good evening again. >> >> Kamailio 3.2.2 and mediaproxy 2.5.2 >> >> An long-time issue for us: >> >> kamctl restart stops mediaproxy audio. >> >> is there anyway to avoid this? >> >> Any idea will be helpful. >> >> Thanks and best regards. >> ---------------------------------------------------------------------- >> ------------------------------------------------------------- >> Eduardo Lejarreta >> >> >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing >> list sr-users@lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > -- > Daniel-Constantin Mierla - http://www.asipto.com > http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda > Kamailio World Conference, April 16-17, 2013, Berlin > - http://conference.kamailio.com - > > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users