User Tools

Site Tools


tutorials:faq:main

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
tutorials:faq:main [2021/04/03 08:15]
miconda
tutorials:faq:main [2021/08/27 08:02]
miconda [Media Streams]
Line 360: Line 360:
  
 !!! No, //however// Kamailio can be configured to proxy media if needed.  !!! No, //however// Kamailio can be configured to proxy media if needed. 
-  * [[http://www.kamailio.org/docs/modules/stable/|See rtpproxy, iptrtpproxyand mediaproxy]]+  * [[http://www.kamailio.org/docs/modules/stable/|See rtpengine, rtpproxy, lrkproxyor mediaproxy]]
  
 ??? What codecs are supported by Kamailio? ??? What codecs are supported by Kamailio?
Line 633: Line 633:
 } else { } else {
    # it goes here    # it goes here
 +}
 +...
 +if (function_returns_four() && $rc ieq 6 ) {
 +   # it doesn't go here
 +} else if ($rc ieq 4) {
 +   # it goes here
 +} else {
 +   # it doesn't go here
 } }
 </code> </code>
 +
 +Note that $rc is overwritten by a new function call, therefore store its value in another variable (like $var(...)) if it is needed for longer time.
  
 For pseudo-variables, the non-zero value is evaluated to true and zero to false, for example: For pseudo-variables, the non-zero value is evaluated to true and zero to false, for example:
tutorials/faq/main.txt ยท Last modified: 2021/08/27 08:11 by miconda