[Freeswitch-users] FreeSWITCH not answering some REGISTERs

David Ponzone david.ponzone at ipeva.fr
Tue Mar 28 20:19:56 MSD 2017


With all debug enabled for switch_core_sqldb.c  in mod_logfile, I don’t see anything relevant when the issue happens:

the usual CORE RUN QUEUE lines
and quite a bunch of lines:
switch_core_sqldb.c:1791 Reuse Unused Cached DB handle db="sofia_reg_with_auth-5072",type="core_db" [CORE_DB]
but I have quite a bunch of them all the time.

Nothing particular.

If anyone can recommend a debug level which could allow me to pinpoint this…

David Ponzone  Direction Technique
email: david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>
tel:      01 74 03 18 97
gsm:   06 66 98 76 34

Service Client IPeva
tel:      0811 46 26 26
www.ipeva.fr <blocked::http://www.ipeva.fr/>  -   www.ipeva-studio.com <blocked::http://www.ipeva-studio.com/>

Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.




> Le 28 mars 2017 à 17:50, David Ponzone <david.ponzone at ipeva.fr> a écrit :
> 
> fsctl debug_sql while the issue happened between 17:45:16 and 17:45:20
> 
> 2017-03-28 17:45:15.571490 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[24]
> 2017-03-28 17:45:16.031560 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[20]
> 2017-03-28 17:45:16.551552 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[15]
> 2017-03-28 17:45:16.831522 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[15]
> 2017-03-28 17:45:17.071520 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[18]
> 2017-03-28 17:45:17.691518 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[16]
> 2017-03-28 17:45:18.191518 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[1]
> 2017-03-28 17:45:18.471519 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[40]
> 2017-03-28 17:45:19.971548 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[6]
> 2017-03-28 17:45:20.191520 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[44]
> 2017-03-28 17:45:20.791514 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[18]
> 2017-03-28 17:45:21.111494 [CRIT] switch_core_sqldb.c:2127 CORE RUN QUEUE [0|0|0|0]--[4]
> 
> I don’t see anything odd.
> 
> I added more debug logs, hoping to get something useful…
> 
> David Ponzone  Direction Technique
> email: david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>
> tel:      01 74 03 18 97
> gsm:   06 66 98 76 34
> 
> Service Client IPeva
> tel:      0811 46 26 26
> www.ipeva.fr <blocked::http://www.ipeva.fr/>  -   www.ipeva-studio.com <blocked::http://www.ipeva-studio.com/>
> 
> Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.
> 
> 
> 
> 
>> Le 28 mars 2017 à 10:05, Antonio Silva <asilva at wirelessmundi.com <mailto:asilva at wirelessmundi.com>> a écrit :
>> 
>> hi,
>> 
>> Not sure if already answer, try yo set:
>> 
>> fs_cli -x "sofia global siptrace on"
>> fs_cli -x "fsctl debug_level 10"
>> fs_cli -x "sofia loglevel all 9"
>> fs_cli -x "sofia tracelevel alert "
>> fs_cli -x "fsctl debug_sql "
>> fs_cli -x "sofia global debug presence"
>> 
>> Did you try last git master?
>> 
>> 
>> On 03/28/2017 09:30 AM, David Ponzone wrote:
>>> Brian,
>>> 
>>> would you have any recommended actions to try to debug REGISTER requests at the sofia level ?
>>> fsctl debug_level 9 does not help as I can’t see any logs from sofia_reg.c 
>>> 
>>> David Ponzone  Direction Technique
>>> email: david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>
>>> tel:      01 74 03 18 97
>>> gsm:   06 66 98 76 34
>>> 
>>> Service Client IPeva
>>> tel:      0811 46 26 26
>>> www.ipeva.fr <blocked::http://www.ipeva.fr/>  -   www.ipeva-studio.com <blocked::http://www.ipeva-studio.com/>
>>> 
>>> Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.
>>> 
>>> 
>>> 
>>> 
>>>> Le 27 mars 2017 à 18:58, Brian West <brian at freeswitch.org <mailto:brian at freeswitch.org>> a écrit :
>>>> 
>>>> Just a reminder, You'll see packets in wireshark even if the firewall is up, So this does sound like an iptables snafu.  I can't count the times this one has gotten me.
>>>> 
>>>> /b
>>>> 
>>>> 
>>>> On Mon, Mar 27, 2017 at 10:28 AM, David Villasmil <david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>> wrote:
>>>> Really weird, you need to do some deep debugging with Sofia debug... i have ~3500 registrations working ok.
>>>> 
>>>> On Mon, Mar 27, 2017 at 5:23 PM David Ponzone <david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>> wrote:
>>>> On this box, around 30.
>>>> 
>>>> David Ponzone  Direction Technique
>>>> email: david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>
>>>> tel:      01 74 03 18 97
>>>> gsm:   06 66 98 76 34
>>>> 
>>>> Service Client IPeva
>>>> tel:      0811 46 26 26
>>>> www.ipeva.fr <>  -   www.ipeva-studio.com <>
>>>> 
>>>> Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.
>>>> 
>>>> 
>>>> 
>>>> 
>>>>> Le 27 mars 2017 à 14:27, David Villasmil <david.villasmil.work at gmail.com <mailto:david.villasmil.work at gmail.com>> a écrit :
>>>>> 
>>>>> Just wondering, how many users do you have registered?
>>>>> On Mon, Mar 27, 2017 at 2:05 PM David Ponzone <david.ponzone at ipeva.fr <mailto:david.ponzone at ipeva.fr>> wrote:
>>>>> Abdullah,
>>>>> 
>>>>>> Le 22 mars 2017 à 12:59, Vallimamod Abdullah <vma at vallimamod.org <mailto:vma at vallimamod.org>> a écrit :
>>>>> 
>>>>>> That's very strange. Especially for options as the fsw reply 200 ok without any specific check (actually, only if the profile param sip-options-respond-503-on-busy is not set. You may re-test after disabling this param if it is set, but I am not sure it will make any difference.)
>>>>> 
>>>>> It’s not set.
>>>>> 
>>>>>> 
>>>>>> Have you noticed any difference between the failed REGISTER or OPTIONS requests and the normal ones?
>>>>> 
>>>>> Nope, but I’ll try to check again.
>>>>> 
>>>>>> Is it happening only for one customer or indifferently?
>>>>> 
>>>>> Indifferently. When it freezes for 4-5 seconds, I can see REGISTER attempts coming from several customers that remain unanswered.
>>>>> 
>>>>>> Also you said that you had no pb with another profile running on port 5080. Is it possible for you to test a failing customer with that profile?
>>>>> 
>>>>> The other profiles don’t allow REGISTER.
>>>>> I created a new profile allowing REGISTER on port 5072, and it’s the same.
>>>>> That means it doesn’t come from iptables as I have no filters on port 5072 at the moment.
>>>>> 
>>>>> 
>>>>>> Best Regards,
>>>>>> -- 
>>>>>> Vallimamod Abdullah
>>>>>> SIP Solutions
>>>>>> vma at sipsolutions.fr <mailto:vma at sipsolutions.fr>
>>>>>> tel:+33662606897 <tel:+33662606897>
>>>>>> .
>>>>> 
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>>> 
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>>> http://www.freeswitch.org <http://www.freeswitch.org/>_________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services: 
>>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>>> 
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>>> 
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Brian West
>>>> brian at freeswitch.org <mailto:brian at freeswitch.org>
>>>> Twitter: @FreeSWITCH , @briankwest
>>>> 
>>>> http://www.freeswitchbook.com <http://www.freeswitchbook.com/> 
>>>> http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
>>>> 
>>>> Allison prompts for FreeSWITCH:
>>>> 
>>>> https://www.gofundme.com/allison-prompts-for-freeswitch <https://www.gofundme.com/allison-prompts-for-freeswitch>
>>>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>>> T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
>>>> Skype:briankwest
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services: 
>>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>>> http://www.cluecon.com <http://www.cluecon.com/>
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> 
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services: 
>>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>>> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
>>> http://www.cluecon.com <http://www.cluecon.com/>
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
>>> http://www.freeswitch.org <http://www.freeswitch.org/>
>> -- 
>> 
>> Saludos / Regards / Cumprimentos,
>> António silva
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services: 
>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> http://www.freeswitchsolutions.com
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170328/b59c5a07/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3745 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170328/b59c5a07/attachment-0001.bin 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list