[OpenSIPS-Users] Drop call if mediaproxy does not work (using engage_mediaproxy())

Giuseppe Roberti jnod at jnod.org
Thu Nov 13 22:25:16 CET 2008

Dan Pascu wrote:
> On Thursday 13 November 2008, Giuseppe Roberti wrote:
>> Hi.
>> How can we drop a call (an INVITE) if we are using engage_media_proxy()
> You can't. engage_media_proxy() does nothing when called except to set an 
> internal flag, so it can't return an error code because nothing can fail 
> in that operation. It is only a contract that mediaproxy will be used 
> automatically as soon as the dialog is started.
Ok, thanks.

So, can we add a parameter like "exit_on_error" that tell mediaproxy
module to drop request when it gets error ?

Giuseppe Roberti
<jnod at jnod.org>

More information about the Users mailing list