Hello,
kamailio stores the Path in location table and uses it properly, I have
a lot of deployments making use of it.
If you have an intermediate proxy before uses and kamailio that adds
Path, then kamailio sends to that proxy. If you do not have an
intermediate proxy between users and Kamailio, then normally there is
Path, kamailio being the first hop.
If you actually send the register to asterisk after Kamailio is adding
the Pathn and you expect asterisk to handle Path, iirc, recently it was
a discussion that Asterisk has a broken Path implementation.
Cheers,
Daniel
On 14.06.21 06:37, Thành Trần Duy wrote:
Hi,
Yes, I will try. But can you have another idea?
Vào CN, 13 thg 6, 2021 vào lúc 21:37 Sergiu Pojoga
<pojogas(a)gmail.com <mailto:pojogas@gmail.com>> đã viết:
Why don't you ask these questions directly with the folks at
dSipRouter? Some are even members of this mailing list. They seem
to have their own free forum as well as paid support, which you
may consider.
Cheers,
--Sergiu
On Sat, Jun 12, 2021 at 11:52 PM Thành Trần Duy
<thanh.dtran88(a)gmail.com <mailto:thanh.dtran88@gmail.com>> wrote:
Hi all,
First of all, I would like to present the system model we are
applying:
- dSIPRouter : Sip relay for all users connected from the
internet (installed with RTPEngine to handle media data).
- kamailio 5.3.5: core system, registration server.
- Asterisk 17: SBC.
Sorry if our model seems a bit backwards but we have so many
users (>12k configured users, > 3k concurrent
registered users, > 500 concurrent users at cps 10), I don't
know of any solution that can work with such a large load.
With call outbound (from user to PSTN via SBC), everything is
fine.
But with internal or inbound calls, it wasn't successful.
I showed that:
- After dSIPRouter, the register message has Path parameter in
SIP Header,
- Kamailio store sip:user@domain in column contact at location
table.
- Using modparam registrar with use_path=1,
path_mode=0, path_use_received=1, I stored this parameter in DB.
- When calling internal or inbound, for the search destination
of a phone, I am using sip_trace() function. But the result is
always column contact.
- With this uri, kamailio wasn't known and sent the invite to
proxy.
- Final error message: 404.
I need one of these solutions:
- get path column when result of sip_trace() like
sip:user@domain (with phone in internal network, it like
sip:user@ipaddress).
- write path value to column contact when the register message
has it.
- sip_trace can get a path instead of contact if it has.
Or you can have other solutions, pls help me.
We can talk and test via my Webex PMR.
Many thanks,
Thanh Duy Tran
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
<mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not
reply only to the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
<https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org <mailto:sr-users@lists.kamailio.org>
Important: keep the mailing list in the recipients, do not reply
only to the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
<https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users