Hello, yes, you were right.There was something wrong in my routing config.See below, I remove the bad config.Thank you very muchroute[WITHINDLG] {
……
….
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);
} else if ( is_method("NOTIFY") ) {
# Add Record-Route for in-dialog NOTIFY as per RFC 6665.
record_route();
}
else if ( is_method("INVITE") ) {
# even if in most of the cases is useless, do RR for
# re-INVITEs alos, as some buggy clients do change route set
# during the dialog.
xlog("Route with in Dialog: loose route $rU -> $fU\n");
record_route();
}route(RELAY);
exit;
}
……
….
}
Regards
2017-06-15 16:27 GMT+02:00 Sergey Basov <sergey.v.basov@gmail.com>:Do you only change topoh to topos in your config?You can find my dump attached. There is duplicate packets this is issue of my capture architecture..--
WBR
Sergey Basov15 июня 2017 г. 5:20 PM пользователь "Sergey Basov" <sergey.v.basov@gmail.com> написал:Its very strange...I have record routes from 1 side and from another side, they are stripped and restored normaly.On reinvite you have incorrect contact restored.I will look at my config.--
WBR
Sergey Basov15 июня 2017 г. 5:09 PM пользователь "Abdoul Osséni" <abdoul.osseni@gmail.com> написал:The record route is missing with topos module. Maybe it is that the problem?Regards.2017-06-15 16:04 GMT+02:00 Abdoul Osséni <abdoul.osseni@gmail.com>:I tried with an another uac (without +sip.instance="<urn:uuid:14d62d4f-8426-486b-88ee-077b9ff1fae 2>" in contact). Same issue. I checked my routing logic in Kamailio. Same configs describe ici : http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asteri .sk-11.3.0-astdb?s[]=asterisk RegardsAbdoul.2017-06-15 14:34 GMT+02:00 Sergey Basov <sergey.v.basov@gmail.com>:I checked in my environment all ok.Can you try without +sip.instance="<urn:uuid:14d62d4f-8426-486b-88ee-077b9ff1fae 2>" in contact? 2017-06-15 12:52 GMT+03:00 Abdoul Osséni <abdoul.osseni@gmail.com>:Please find in attachment.
- topos module is disabled
- topoh module is enabled
I have no issue -- the contact header is updated.I have only this issue when topos module is enabled but I will check again my routing logic in kamailio.Regards--2017-06-15 11:39 GMT+02:00 Sergey Basov <sergey.v.basov@gmail.com>:I think you may have some error in your routing logic in kamailio...Can you try to disable topos module and try with topoh to see does it handles contact modification properly?2017-06-15 12:07 GMT+03:00 Abdoul Osséni <abdoul.osseni@gmail.com>:Hi,Please find in attachment the pcap file.RegardsAbdoul2017-06-15 9:43 GMT+02:00 Sergey Basov <sergey.v.basov@gmail.com>:I using this module into production I have a lot of Re-Invites and does not have this problem.Hello,Can you send dump of the both side of call.2017-06-15 10:18 GMT+03:00 Abdoul Osséni <abdoul.osseni@gmail.com>:Hello,I have an issue when loading topos module on Kamailio 5.0.2 version.root@proxy:/home/tcpdump# kamailio -Vversion: kamailio 5.0.2 (x86_64/linux)The call flow is: uac --> kamailio --> Asterisk1) Invite from uac2) Kamailio forward the invite to asterisk3) asterisk send 200 OK to kamailio4) kamailio send 200 OK to uac -> in the conctact header, i can see the IP address of kamailio5) uac send ACK to kamailio and kamailio forward the ACK to Asterisk6) uac send re-invite: "media change" to kamailio.7) kamailio forward the re-invite to asterisk and asterisk send 200 OK to kamailio8) kamailio send 200 ok to uac --> but the contact header contains IP of Asterisk and not kamailio: is it normal?Thank for you help.Regards--Abdoul OSSENI
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Abdoul OSSENIIngénieur Réseaux et systèmes chez THALESCo-Fondateur de ON SERVICESTél : +33 601 135 167--Abdoul OSSENIIngénieur Réseaux et systèmes chez THALESCo-Fondateur de ON SERVICESTél : +33 601 135 167--Abdoul OSSENIIngénieur Réseaux et systèmes chez THALESCo-Fondateur de ON SERVICESTél : +33 601 135 167--Abdoul OSSENIIngénieur Réseaux et systèmes chez THALESCo-Fondateur de ON SERVICESTél : +33 601 135 167