I have to use local cache to workaround.
*In INVITE statement:*
$avp(setid) = 1; # group of rtp engine servers / Ex: 1 for FR / 2 for USA
if(cache_store("local","$ci","$avp(setid)",1200)) { xlog("L_INFO","$ci --
Cache Store Name: $ci with port: $avp(setid)\n");
*in CANCEL statement:*
if(cache_fe
OK thanks, I will write something about that ;)
I tested your solution, it works for BYE but not force CANCEL.
Indeed, for BYE from my SBC enters in loose_route statement, but not for a
CANCEL.
is there a simplest way to choose the good rtpengine ? I want use a group
of rtpengine (like id:1) for
No, it only survives until the end of transaction :).
I agree it would be nice to have it persistent throughout the dialog,
but that's not in there yet. But you can always open a feature request
for this :):
https://github.com/OpenSIPS/opensips/issues
Best regards,
Răzvan
On 11/20/18 12:15 P
Hi Răzvan,
thanks a lot for your answer !
Ok I will try this workaround
But I don't understand the rtpengine module documentation (
http://www.opensips.org/html/docs/modules/2.4.x/rtpengine.html)
If I have -> modparam("rtpengine", "setid_avp", "$avp(setid)") and I set
setid_avp to 1 (for my examp
Hi, Mickael!
AVPs are only available during transaction - initial request and its
replies, but it is not avaialble to sequential requests (such as CANCEL
or BYE). If you want to store a value throughout the entire dialog, you
should save the variable in a dialog variable[1], something like thi
Hi all,
I have a rtpengine with opensips, when I use rtpengine without setid_avp
all works like a charm
modparam("rtpengine", "rtpengine_sock", "udp:10.13.0.129:12221")
*When I want use setid_avp:*
modparam("rtpengine", "setid_avp", "$avp(setid)")
modparam("rtpengine", "rtpengine_sock", "1 == ud