[OpenSIPS-Users] 回复: opensips use engage_media_proxy(),cannot end_media_session() problem

Saúl Ibarra Corretgé saul at ag-projects.com
Mon Oct 15 09:38:27 CEST 2012


Hi,

On Oct 15, 2012, at 8:35 AM, ㄨ冷se灬 wrote:

> Hi:
>      When I add BYE processing as follow :
>                    if (method==BYE) {
>                                            end_media_session();
>                                               }
> 
>         an error occurs:
> Oct 15 10:36:27 opensips-1 /sbin/opensips[12894]: ERROR:mediaproxy:use_media_proxy: insufficient ports returned from mediaproxy: got 0, expected 1
> 
>         I see from my mediaproxy it has already distribution  4 ports to the session.
> 

If you are using engage_media_proxy you must not use end_media_session manually, since the mediaproxy module takes care of it automatically.


Regards,

--
Saúl Ibarra Corretgé
AG Projects






More information about the Users mailing list