[SR-Users] Forwarding Registration to Asterisk

Wilkins, Steve swwilkins at mitre.org
Thu Dec 7 18:10:31 CET 2017


It appears the bottom line is that when using Kamailio, Asterisk does not register the endpoints.  Therefore, everything works as long as I am not trying to connect one Kamailio endpoint to another Kamailio endpoint that both use Asterisk.  So in my example, I have two web clients that can both call asterisk tasks like “Playback”, but, cannot contact each other because Kamailio is not forwarding registration information to Asterisk and Asterisk is unable to get back to the Kamailio registrations to find each other’s endpoints.

I still believe this boils down to

  *   An issue with Kamailio not properly forwarding registrations to Asterisk (could be me, but I do try to forward the registration in kamailio.cfg)

Note: in tcpdump I do see the “REGISTER” being sent to Asterisk and Asterisk sends back the unauthorized (as expected) but Kamailio does not send a second “REGISTER”.

(I believe that if I could tell Asterisk to not require authentication, then the endpoint would then be registered on Asterisk also)


I honestly don’t know if this is a Kamailio or an Asterisk issue.

P.S. I have tried all suggestion on this and other boards but to no avail.  Asterisk is just no seeing all endpoints that Kamailio does.

Thank you

From: sr-users [mailto:sr-users-bounces at lists.kamailio.org] On Behalf Of Matthew Jordan
Sent: Thursday, December 7, 2017 8:51 AM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] Forwarding Registration to Asterisk



On Wed, Dec 6, 2017 at 5:48 PM, Wilkins, Steve <swwilkins at mitre.org<mailto:swwilkins at mitre.org>> wrote:
Hello Matt,

I have attempted an outbound_proxy, but when I do this I get the following response from Asterisk -

[Dec  6 23:42:51] VERBOSE[14500][C-00000001] pbx.c: Executing [20001 at from-internal:5] Dial("PJSIP/kamailio-00000000", "PJSIP/20001,30,t") in new stack
[Dec  6 23:42:51] VERBOSE[14500][C-00000001] app_dial.c: Called PJSIP/20001
[Dec  6 23:42:51] VERBOSE[14363] res_rtp_asterisk.c: DTLS ECDH initialized (automatic), faster PFS enabled
[Dec  6 23:42:51] VERBOSE[14363] res_rtp_asterisk.c: DTLS ECDH initialized (automatic), faster PFS enabled
[Dec  6 23:42:51] VERBOSE[14500][C-00000001] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[Dec  6 23:42:51] VERBOSE[14500][C-00000001] pbx.c: Executing [20001 at from-internal:6] Hangup("PJSIP/kamailio-00000000", "") in new stack

I did verify that 20001 is registered and that I have the correct Kamailio Server IP in my outbound_proxy.

Thank you,
-Steve

You'll need to show the SIP traffic for this - preferably from both Asterisk and Kamailio. The problem could be in either location (or neither, even).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171207/ad6692f1/attachment.html>


More information about the sr-users mailing list