[asterisk-dev] Dual contact entries in "pjsip show contacts"

Joshua Colp jcolp at digium.com
Thu Mar 22 05:26:08 CDT 2018


On Thu, Mar 22, 2018, at 7:22 AM, Floimair Florian wrote:
> Hi!
> 
> I am currently using an Asterisk setup with a realtime-db  as backend.
> We create endpoints/aors/auths using ARI Push configuration and when 
> that happens we see 2 contact entries when executing "pjsip show 
> contacts" in the CLI.
> This also sporadically leads to calls being refused by Asterisk even 
> though the called endpoint registered successfully and is idle.

If you are referring to inbound calls from the endpoint then that would be unrelated to your Contact issue. Inbound registration isn't consulted or used for incoming calls. Are you actually referring to outgoing calls to the endpoint? As well - is there anything different between the contacts?

> 
> 
> 
> As soon as I restart Asterisk the dual entries are gone and everything 
> is working normal.
> 
> This leads me to believe, that this must be a bug in Asterisk for the 
> "Push Configuration + Realtime-DB" scenario.
> Can you give me any hints on what to check and where to look at in the 
> code to verify this situation?
> I am willing to fix it myself but would need a little guidance.

I don't know if anyone has tested the use of ARI push configuration with a database backed realtime, albeit there is nothing to say it shouldn't work. What do you see in the actual database?

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list