[OpenSIPS-Users] Mediaproxy cannot write request to opensips mi_datagram socket

Giuseppe Roberti jnod at jnod.org
Tue Dec 2 18:24:04 CET 2008

Dan Pascu wrote:
> On Tuesday 02 December 2008, Giuseppe Roberti wrote:
>> Dan Pascu wrote:
>>> On Monday 01 December 2008, Giuseppe Roberti wrote:
>>>>>> Yes but i know that opensips mi_datagram works.
>>>>>> So maybe it can be a problem of mediaproxy.
>>>>> It may be, of course, but that's not what the error message
>>>>> indicates. Unfortunately with the provided information I cannot
>>>>> give you any more suggestions and unless you tell me how to
>>>>> reproduce, I'm afraid that I can't help you.
>>>> I'm just using a simple opensips as a proxy that relay the INVITEs
>>>> to an asterisk, engaging mediaproxy.
>>>> After started opensips and asterisk, start the dispatcher then the
>>>> relay. Now make a call to the number 1000, so asterisk will play
>>>> demo congratulations.
>>>> Everything works fine, the rtp go through mediaproxy.
>>>> Now, because i'm testing dialog termination of the dispatcher, while
>>>> this call is in progress, i kill the relay (so the dispatcher try to
>>>> end the dialog associated with every call owned by the media-relay
>>>> that goes down, correct me if i'm wrong) but this never happen
>>>> because the dispatcher get error.
>>> As I said, the details you provide do not allow me to reproduce the
>>> error. I tried all these and it works just fine for me. So it's
>>> either a subtle bug triggered by your specific setup or you do
>>> something wrong. Either way, I could not figure it out from your
>>> description.
>> Ok.
>> I will try to write more about my configuration.
>> But, what have to happen when media-relay goes ? Can media-dispatcher
>> trigger dlg_end_dlg() for the call that goes down with media-relay ?
> Yes. The relay will report all current sessions as expired, which will 
> make the dispatcher trigger a dlg_end_dlg for each of them.
And if the connection between media-relay end media-dispatcher is lost
but the relay goes on ?

Giuseppe Roberti
<jnod at jnod.org>

More information about the Users mailing list