HI Daniel, modparam("dialog", "dlg_flag", 4) modparam("dialog", "send_bye", 1) modparam("dialog", "timeout_noreset", 1)
So regular bye's by useragent i can succesfully relay to this <sip:6gjlmali@ec2c66jsa0ei.invalid;transport=ws> style of uri by using this snippet below # Handle requests within SIP dialogs route[WITHINDLG] { if(is_method("BYE")) { xlog("DEBUG: Received BYE"); route(NATDETECT); loose_route(); dlg_manage(); t_check_trans(); handle_ruri_alias(); rtpengine_delete(); route(RELAY); exit; } ... But the byes that are sent out by dlg_set_timeout("$var(timer)") gives out error cannot resolve the random.uri and I don't know how to fix the bye before it get sent out. Thanks Andrew On Fri, Jan 27, 2017 at 12:15 AM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > isn't the dialog module setting the right value there? What function are > you using to update the contact? > > Cheers, > Daniel > > On 27/01/2017 06:01, Andrew Tan wrote: > > Hello, > > Just wondering if it's possible to intercept the bye message that > dlg_set_timeout sends out to do some nat_helper function to fix it so the > bye can be sent to random.invalid uris. > > I know there is the edge proxy outbound module but wondering if I can do > it without. > > Regular bye between 2 clients i was able intercept and fix with nat helper > but I dont know how to fix the byes that is sent out from dlg_set_timeout > function. > > Thanks in advance! > Andrew > > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing > listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > > -- > Daniel-Constantin Mierlawww.twitter.com/miconda -- www.linkedin.com/in/miconda > Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - > www.asipto.com > Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com > > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users