Hi all

I have been trying to pass script variables as parameters to
rtpproxy_offer() & rtpproxy_answer() but they do not seem to work. Is this
possible?

EG:
if (isflagset(R_LOCAL_TO_LOCAL)) {
                xlog("CUSTOM_LOG: Processing Flag: R_LOCAL_TO_LOCAL");
                $var(rtpreplyflags) ="cofwee";
                remove_hf("P-Asserted-Identity");
                xlog("CUSTOM_LOG: Engaging rtpproxy_answer with flags:
$var(rtpreplyflags), $var(extip)");
                rtpproxy_answer("$var(rtpreplyflags)", "$var(extip)");

-------

$var(exip) is defined earlier on.

version: opensips 3.0.0 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC,
F_MALLOC, HP_MALLOC, DBG_MALLOC, CC_O0, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: 435890a06

Many thanks
Mark.
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to