[asterisk-dev] PJSIP endpoints created via ARI do not transfer some values into Realtime Database

Floimair Florian f.floimair at commend.com
Thu Nov 9 09:00:12 CST 2017


Alright, thanks for the quick reply.

I will start working on the fix right away.

 
 
With best regards

Florian Floimair

COMMEND INTERNATIONAL GMBH
A-5020 Salzburg, Saalachstraße 51
http://www.commend.com

Security and Communication by Commend

FN 178618z | LG Salzburg


-----Ursprüngliche Nachricht-----
Von: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] Im Auftrag von Joshua Colp
Gesendet: Donnerstag, 9. November 2017 15:56
An: asterisk-dev at lists.digium.com
Betreff: Re: [asterisk-dev] PJSIP endpoints created via ARI do not transfer some values into Realtime Database

On Thu, Nov 9, 2017, at 10:53 AM, Floimair Florian wrote:
> Joshua,
> 
> I'm pretty sure I have found the problem, and actually I'm not the 
> first to encounter it.
> The solution is to use OPT_YESNO_T in pjsip_configuration.c instead of 
> OPT_BOOL_T for the respective values.
> I had a look in commit b6bd97eea2d which introduced the OPT_YESNO_T 
> type and the commit description clearly resembles what I have encountered.
> However changing only the values that I have encountered seems a bit 
> short-sighted.
> Therefore I want to clarify beforehand:
> 
> 1.) Shouldn't all configuration values that map to a YESNO-Enum type 
> in the database be of the type OPT_YESNO_T in pjsip_configuration.c?

Seems like it, yes.

> 2.) The commit introducing OPT_YESNO_T is included in 14, 15 and 
> master but not in 13. Should it be backported?

13 does not have push so I don't think it would really have an impact there or need to be backported.

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: https://linkprotect.cudasvc.com/url?a=https://www.digium.com&c=E,1,krUOw0Jm6MHSFDFxXIoDbSuapCWrm_sjsIpjBicT9dN5vv8AvX9_KQJlK00-wsuh9Mc3SqqfkO_8e6hXPyZA417fqBO4Ej6l8uHsUAmNKA,,&typo=1 & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by https://linkprotect.cudasvc.com/url?a=http://www.api-digital.com&c=E,1,Lolug6-6qDsZbjp9vB0bb6J87yAtA6d6YBkpTiHS1USI-fmTpCUxBdm0OIHZKOnakAl4O1sQ1_aEWF2J3XC0XiBwzes5zPF3fcLOCuWjCA,,&typo=1 --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   https://linkprotect.cudasvc.com/url?a=http://lists.digium.com/mailman/listinfo/asterisk-dev&c=E,1,yPDV_eq2H-N_qezQdhoXTKVtNgXdbWDbxcy5CWvzwB_sWgSO4Mzmrylt-fACE4fYozxH-wpZ3oWPZ2CRiTdRhik75LEmZfV5Hbb6XDsC4PhQayHaFxMbkE91&typo=1



More information about the asterisk-dev mailing list