[sr-dev] [kamailio/kamailio] topos module may not be able to transparently transmit the update message (#2659)

Anthony Messina notifications at github.com
Sat Mar 6 16:44:18 CET 2021


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 or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2659#issuecomment-791974626
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210306/707ff952/attachment.htm>


More information about the sr-dev mailing list