I found something I think that is similar with UPDATEs and was able to handle in-dialog UPDATEs with TOPOS by adding UPDATE
to the list of methods that get record_route()
in route[WITHINDLG]
, along with NOTIFY
and REFER
:
...
# sequential request withing a dialog should
# take the path determined by record-routing
if(loose_route()) {
route(DLGURI);
if(is_method("BYE")) {
setflag(FLT_ACC); # do accounting ...
setflag(FLT_ACCFAILED); # ... even if the transaction fails
} else if(is_method("ACK")) {
# ACK is forwarded statelessy
route(NATMANAGE);
route(RTPENGINE_MANAGE);
} else if(is_method("NOTIFY|REFER|UPDATE")) {
# Add Record-Route for in-dialog NOTIFY as per RFC 6665.
record_route();
}
route(RELAY);
exit;
}
...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.