[OpenSER-Devel] mediaproxy module dispatcher communication problem

Dan Pascu dan at ag-projects.com
Thu Jun 5 13:25:41 CEST 2008


Juha Heinanen wrote:
> sometimes openser mediaproxy module request times out like this:
>
> Jun  5 14:14:18 localhost media-dispatcher[7180]: [OpenSERControlProtocol,1,] Issuing "update" command to relay at 127.0.0.1
> Jun  5 14:14:18 localhost media-relay[7196]: [RelayClientProtocol,client] Received new SDP offer
> Jun  5 14:14:18 localhost media-relay[7196]: [RelayClientProtocol,client] mediaproxy.mediacontrol.StreamListenerProtocol starting on 50000
> Jun  5 14:14:18 localhost media-relay[7196]: [RelayClientProtocol,client] mediaproxy.mediacontrol.StreamListenerProtocol starting on 50001
> Jun  5 14:14:18 localhost media-relay[7196]: [RelayClientProtocol,client] mediaproxy.mediacontrol.StreamListenerProtocol starting on 50002
> Jun  5 14:14:18 localhost media-relay[7196]: [RelayClientProtocol,client] mediaproxy.mediacontrol.StreamListenerProtocol starting on 50003
> Jun  5 14:14:19 localhost /usr/sbin/openser[7222]: ERROR:mediaproxy:send_command: did timeout waiting for an answer 
> Jun  5 14:14:19 localhost media-dispatcher[7180]: [OpenSERControlProtocol,1,] Connection to OpenSER lost: Connection was closed cleanly.
>
>   

There is a module parameter on the openser mediaproxy module to 
configure how much to wait for an answer from the dispatcher. The 
default is 500ms, but you can increase that.

> next call usually works ok.
>
> -- juha
>
> _______________________________________________
> Devel mailing list
> Devel at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/devel
>   


-- 
Dan




More information about the Devel mailing list