[sr-dev] [kamailio/kamailio] 180 Ringing without Contact with TOPOS enabled (#1720)
Sergey Basov
notifications at github.com
Thu Nov 22 15:16:09 CET 2018
@miconda Please check latest commit.
It brakes 180 and 183 responses with Contact header
```
/* keep contact without updates for redirect responses sent out */
** if(msg->first_line.u.reply.statuscode<300
** || msg->first_line.u.reply.statuscode>=400) {
contact_keep = 1;
}
if(contact_keep==0 && msg->first_line.u.reply.statuscode>100
&& msg->first_line.u.reply.statuscode<200
&& msg->contact==NULL) {
contact_keep = 1;
}
if(contact_keep==0) {
```
Expression marked with ** evaluates for 180 and 183 before your expression and set contact_keep = 1 so next expression will not be evaluated.
Thank you.
--
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/1720#issuecomment-441043323
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20181122/ef70d30e/attachment.html>
More information about the sr-dev
mailing list