Re: Kamailio + Asterisk: MESSAGE Routing Issue (483 Too Many Hops)

Sergio Charrua via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <CALZWR5wn-ju-ida8TkVDwpox5R-5Y1A2Tf6sjX_P4hNXiCV-sg@mail.gmail.com>
not sure...
I am assuming that your users are registered... however your Asterisk sends
something like MESSAGE sip:[email protected]:5001;transport=udp  but
the user part (916c67e8-....) seems to be a display/name, as it looks like
a UUID, not a registered AOR (like User1, User2, etc... ).
I guess Kamailio can’t lookup("location") for that AOR, and then
re-targets/forwards in a way that loops back to itself resulting in SIP 483
....

just a wild guess.... but in your Asterisk dialplan you should try to get
the target AOR user and set it to the MESSAGE(to) variable, prior to
sending the message...
on Kamailio just save the location upon register, and on relay lookup for
user AOR to location, etc... and relay the message.

if you run a kamcmd ul.dump  you should get an idea of the registered
endpoints

again, verrrrryyyyy wild guess and assuming lots of things :)


Atenciosamente / Kind Regards / Cordialement / Un saludo,


*Sérgio Charrua*




On Mon, Aug 25, 2025 at 6:34 PM Fernando Lopes via sr-users <
[email protected]> wrote:

> So, when Kamailio receives this, it thinks about the message itself rather
> than the client and doesn’t know where to send it. Is that correct? If so,
> how can I fix this issue? Would I need to check if message comes from
> internal ip and if so relay to the client?
> <--- Transmitting SIP request (687 bytes) to UDP:10.5.0.8:5001 --->
> MESSAGE sip:[email protected]:5001;transport=udp;x-ast
> SIP/2.0
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions --
> [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
>

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.