I guess you face such case because of the contact mode parameter:
- https://www.kamailio.org/docs/modules/stable/modules/topos.html#topos.p.contact_mode
Likely you set that modparam to 1, which needs to take user part from r-uri and contact. I haven't implemented that functionality, but apparently is for cases when UAs require user part to match corresponding user ids.
The default mode is 0, which should not care about lack of user parts in contact header.
Cheers,
Daniel
Thanks!Yes, I experimented a little with the sipp and determined that the topos "requires" a user part of Contact URI.
If this is so, then it would probably be necessary to indicate this somewhere in the module description.
вт, 28 нояб. 2023 г. в 11:42, Yuriy G <ovoshlook@gmail.com>:
Hi Denis. I think this is topos specific.When topos does topology striping it also affects contact field, so it adds some data/id username. So if you wish topos to be involved - the same form of the URI should be used. There is also API from topos module to handle contact on your own if needed.
On Tue, Nov 28, 2023, 11:25 Denys Pozniak via sr-users <sr-users@lists.kamailio.org> wrote:
__________________________________________________________Hello!
My topology is like this:
PBX -> Kamailio Topos -> User
When calling the user, PBX does not add the user part in the Contact URI, something like:
Contact: <sip:10.10.10.10:5080;transport=udp>
When the customer sends a reinvite, the topos turns off for this transaction and the sip partially breaks down with error:
topos [tps_storage.c:319]: tps_storage_fill_contact(): no r-uri user
topos [tps_storage.c:615]: tps_storage_record(): failed to store
As far as I understand, the RFC allows the absence of the user part in the URI and this occurs quite often.
I can provide the pcap file and debug log in a private message if this helps identify the essence of the problem.
# kamailio -v
version: kamailio 5.7.1 (x86_64/linux) 1cf389-dirty
--
BR,Denys Pozniak
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
--
BR,Denys Pozniak
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
-- Daniel-Constantin Mierla (@ asipto.com) twitter.com/miconda -- linkedin.com/in/miconda Kamailio Consultancy and Development Services Kamailio Advanced Training -- asipto.com