[OpenSIPS-Users] Variables as parameters to rtpproxy
Mark Farmer
farmorg at gmail.com
Fri Sep 6 09:26:25 EDT 2019
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190906/d07b968e/attachment.html>
More information about the Users
mailing list