[SR-Users] Forwarding Registration to Asterisk

Wilkins, Steve swwilkins at mitre.org
Thu Dec 7 00:48:29 CET 2017


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



-----Original Message-----
From: sr-users [mailto:sr-users-bounces at lists.kamailio.org] On Behalf Of Alex Balashov
Sent: Wednesday, December 6, 2017 6:33 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] Forwarding Registration to Asterisk

Matt,

On Wed, Dec 06, 2017 at 04:10:21PM -0600, Matthew Jordan wrote:

> 1. Proxy REGISTER requests through to Asterisk, allowing Asterisk to
> (believe) it is the Registrar
> 
> In this particular case, you'll need a PJSIP endpoint for each SIP 
> endpoint that is registering. Identification will need to be done 
> based either on the From user or by a custom header that Kamailio can 
> add and pass off to Asterisk. You will need to use the outbound_proxy 
> options so that outbound requests go through Kamailio as opposed to 
> directly to the registered endpoints. The benefit of this is that it 
> gives Asterisk all of the information it needs, all of the time. The 
> downside is that you now have potentially many services acting as a 
> Registrar, and you have a lot of traffic flying around that you don't need or want.

Can't a lot of the complications here be obviated through Path?

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


More information about the sr-users mailing list