[Users] Mediaproxy running with Openser

Sergio Gutierrez saguti at gmail.com
Fri May 18 06:45:26 CEST 2007


Hi Lesley.

In the log I can see that your mediaproxy is creating the socket at
/var/run/mediaproxy.sock and you have this configured in openser as

/var/run/proxydispather.sock

I think the error could be that. Try changing the mediaproxy_socket param.

Kind regards.

Sergio G.


On 5/17/07, Lesley Liu <lesley1025 at gmail.com> wrote:
>
> Hi Sergio,
>
> I restart both mediaproxy and openser, please help to check the log:
> May 18 12:22:00 localhost proxydispatcher[2774]: received signal 15
> May 18 12:22:01 localhost mediaproxy[2762]: received signal 15
> May 18 12:22:01 localhost proxydispatcher[2774]: exiting.
> May 18 12:22:01 localhost mediaproxy[2762]: exiting.
> May 18 12:22:02 localhost mediaproxy[4858]: Listening for commands on
> local socket `/var/run/mediaproxy.sock'
> May 18 12:22:02 localhost mediaproxy[4858]: Listening for remote commands
> is disabled
> May 18 12:22:02 localhost mediaproxy[4858]: Using IP address `172.25.0.71'
> for the RTP/RTCP proxy
> May 18 12:22:03 localhost proxydispatcher[4861]: Listening for commands on
> local socket `/var/run/proxydispatcher.sock'
> May 18 12:22:03 localhost proxydispatcher[4861]: Listening for mediaproxy
> media timeout requests on 0.0.0.0:25061
> May 18 12:22:03 localhost proxydispatcher[4861]: Default mediaproxy server
> is on `172.25.0.71:25060'
> May 18 12:22:12 localhost openser: WARNING: fix_socket_list: could not
> rev. resolve 172.25.0.71
> May 18 12:22:12 localhost openser: WARNING: fix_socket_list: could not
> rev. resolve 172.25.0.71
> May 18 12:22:12 localhost openser: init_tcp: using epoll_lt as the io
> watch method (auto detected)
> May 18 12:22:12 localhost openser[4867]: INFO: statistics manager
> successfully initialized
> May 18 12:22:12 localhost openser[4867]: StateLess module - initializing
> May 18 12:22:12 localhost openser[4867]: TM - initializing...
> May 18 12:22:12 localhost openser[4867]: Maxfwd module- initializing
> May 18 12:22:12 localhost openser[4867]: INFO:ul_init_locks: locks array
> size 512
> May 18 12:22:12 localhost openser[4867]: TextOPS - initializing
> May 18 12:22:12 localhost openser[4867]: AUTH module - initializing
> May 18 12:22:12 localhost openser[4867]: AUTH_DB module - initializing
> May 18 12:22:12 localhost openser[4867]: INFO:textops:hname_fixup: using
> hdr type (9) instead of <Route>
> May 18 12:22:12 localhost openser[4867]: INFO: udp_init: SO_RCVBUF is
> initially 110592
> May 18 12:22:12 localhost openser[4867]: INFO: udp_init: SO_RCVBUF is
> finally 221184
> May 18 12:22:12 localhost openser[4867]: INFO: udp_init: SO_RCVBUF is
> initially 110592
> May 18 12:22:12 localhost openser[4867]: INFO: udp_init: SO_RCVBUF is
> finally 221184
> May 18 12:22:12 localhost openser[4867]: ERROR: tcp_init: bind(7,
> 0x81777ac, 16) on 127.0.0.1:5060 : Address already in use
> May 18 12:22:12 localhost openser[4867]: INFO:mi_fifo:mi_destroy: process
> hasn't been created -> nothing to kill
> May 18 12:22:33 localhost monit[2661]: 'proxydispatcher' process PID
> changed to 4861
> May 18 12:22:42 localhost /sbin/openser[2816]: Register Incoming
> May 18 12:22:42 localhost /sbin/openser[2811]: Register Incoming
> May 18 12:22:42 localhost /sbin/openser[2808]: Register Incoming
> May 18 12:22:42 localhost /sbin/openser[2814]: Register Incoming
> May 18 12:24:30 localhost /sbin/openser[2811]: use media proxy
> May 18 12:24:30 localhost /sbin/openser[2811]: error:
> mediaproxy/sendMediaproxyCommand(): can't connect to MediaProxy
> May 18 12:24:33 localhost monit[2661]: 'proxydispatcher' PID has not
> changed
> May 18 12:24:36 localhost /sbin/openser[2811]: error:
> mediaproxy/sendMediaproxyCommand(): can't connect to MediaProxy
>
>
> Regards,
> Lesley
>
> 2007/5/18, Sergio Gutierrez <saguti at gmail.com>:
> >
> > Hi again Lesley.
> >
> > Could you check that starting up the mediaproxy process indeed is
> > creating the socket which is referred in openser config.
> >
> > Kind regards.
> >
> > Sergio G.
> >
> >  On 5/17/07, Lesley Liu < lesley1025 at gmail.com> wrote:
> >
> > >  Hi Users,
> > >
> > > I'm trying to setup a mediaproxy 1.7.2 running with operser 1.2.0 on
> > > Fedora 6. I can see all service running up. But when I make a call, the SDP
> > > does not change the owner address in the INVITE to callee. Openser only
> > > report following error:
> > > May 18 09:25:51 localhost /sbin/openser[2808]: error:
> > > mediaproxy/sendMediaproxyCommand(): can't connect to MediaProxy
> > >
> > > Configure as attachment, can anyone help?
> > > Thanks in advance.
> > >
> > >
> > > Regards,
> > > Lesley
> > >
> > > _______________________________________________
> > > Users mailing list
> > > Users at openser.org
> > > http://openser.org/cgi-bin/mailman/listinfo/users
> > >
> > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070517/781e0006/attachment.htm 


More information about the Users mailing list