[Users] Question about voip-info.org's OpenSER/RTPProxy configuration example

Daniel-Constantin Mierla daniel at voice-system.ro
Fri Sep 1 12:10:29 CEST 2006


Hello,

On 09/01/06 12:47, Jeremie Le Hen wrote:
> Hi list,
>
> I was exploring the example configuration file in the following URL:
> http://voip-info.org/wiki/view/OpenSER+And+RTPProxy
>
> The following block bewilders me:
> % failure_route[1] {
> % 	if (isflagset(6) || isflagset(5)) {
> % 		unforce_rtp_proxy();
> % 	}
> % }
>
> How a flag happens to be turned on there ?  6 is the registrar's nat_flag
> but no lookup() is performed.  Furthermore, the tm module doesn't even
> depend on the registrar module.  Flag 5 is set in route[2] which is
> obviously not called from failure_route[1].  Is there some black magic
> around here ?
>   

failure route has a special meaning and it inherits a lot from the 
transaction.

http://openser.org/dokuwiki/doku.php?id=openser_core_cookbook#routing_blocks

Cheers,
Daniel

> Thank you.
> Regards,
>   




More information about the Users mailing list