[OpenSIPS-Users] Using dlg_val
Liviu Chircu
liviu at opensips.org
Thu May 21 12:44:51 EST 2020
On 21.05.2020 15:30, Dovid Bender wrote:
> If after that I do:
> xlog("--------------- The value for dlg_val(RTPPROXY) is
> $dlg_val(RTPPROXY)");
> Then log will show:
> --------------- The value for dlg_val(RTPPROXY) is FOO
> However if I have
> xlog("--------------- The value for dlg_val(RTPPROXY) is
> $dlg_val(RTPPROXY)");
> for sequential requests the value is always NULL.
>
> Is there something that I can be missing?
Hey Dovid,
For sequential requests, make sure to use the $dlg_val variables only
_after_ matching the dialog using loose_route() [1].
Best regards,
[1]: https://opensips.org/docs/modules/3.1.x/rr.html#func_loose_route
--
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com
More information about the Users
mailing list