[Blink] SIP PUBLISH failes with 400 Invalid auth header

Adrian Georgescu ag at ag-projects.com
Tue Aug 17 19:43:48 CEST 2021


Like this:

Accounts:
    bonjour at local:
        display_name = Adrian
        enabled = true
        rtp:
            video_codec_list = VP9, H264, VP8
            video_codec_order = VP9, H264, VP8
            encryption:
                enabled = true


        sip:
            auto_answer = true


    tesXXe999 at sip2sip.info:
        display_name = "Test me 999"
        enabled = true
        auth:
            password = 67676767

        nat_traversal:
            stun_server_list =
            use_ice = false

        presence:
            enabled = false

        server:
            settings_url = "https://blink.sipthor.net/settings.phtml"

        sip:
            auto_answer = true
            tls_name = sip2sip.info <http://sip2sip.info/>


> On 17 Aug 2021, at 14:42, Adrian Georgescu <ag at ag-projects.com> wrote:
> 
> That section must be added to your account settings, in the same section, inside Accounts.
> 
> You edited the wrong section, BlinkSettings.
> 
> Adrian
> 
> 
>> On 17 Aug 2021, at 09:25, g4-lisz at tonarchiv.ch wrote:
>> 
>> Sadly this didn't work.
>> 
>> On Ubuntu I found the .blink/config file with this part:
>> 
>> BlinkSettings:
>>    current_state = Invisible
>>    enabled = false
>>    state_history =
>>    presence:
>>        current_state = Available
>>        state_history =
>> 
>> I changed this to
>> 
>>    presence:
>>        enabled = false
>>        current_state = Available
>>        state_history =
>> 
>> (while Blink was off).
>> 
>> I also tried with 'False'
>> 
>> But Blink continues to send PUBLISH messages...
>> 
>> Regards,
>> Till
>> 
>> On 17.08.21 13:59, g4-lisz at tonarchiv.ch wrote:
>>> Perfect! Thanks for your reply. I will check this.
>>> 
>>> Regards,
>>> Till
>>> 
>>> On 17.08.21 13:41, Adrian Georgescu wrote:
>>>> To disable sending PUBLISH you can edit the configuration file ~/.blink and add this section:
>>>> 
>>>>          +-- enabled = False
>>>> presence --|
>>>>          +
>>>> 
>>>> Indentation is critical make a backup of the file in case something goes wrong during or with the editing.
>>>> 
>>>> Alternatively you can install sipclients3 package from the same repository as blink, it contains a utility called sip-settings that can edit correctly blink configuration file:
>>>> 
>>>> sip-settings3 -c ~/blink -a set presence.enabled=False
>>>> 
>>>> Regards,
>>>> Adrian
>>>> 
>>>>> On 16 Aug 2021, at 10:46, g4-lisz at tonarchiv.ch wrote:
>>>>> 
>>>>> Anyone there?
>>>>> 
>>>>> This seems to be a bug: I set SIP Publish Interval to 3600 seconds. But
>>>>> in the log I see that Blink sends the PUBLISH message at least once a
>>>>> minute...
>>>>> 
>>>>> Cheers
>>>>> T. Wimmer
>>>>> 
>>>>> On 12.08.21 21:39, g4-lisz at tonarchiv.ch wrote:
>>>>>> Hi there,
>>>>>> 
>>>>>> My SIP provider asked me to disable SIP PUBLISH on my Blink client.
>>>>>> Their system answers with "400 Invalid auth header", and as far as I
>>>>>> understand, their server will eventually drop the connection for DoS
>>>>>> reasons. (DoS with one request every 10 minutes??)
>>>>>> 
>>>>>> Now I wonder if auth headers can be enabled also for PUBLISH? And if
>>>>>> not, how can PUBLISH be disabled?
>>>>>> 
>>>>>> I'm using the Ubunut client V 5.1.3
>>>>>> 
>>>>>> Best regards
>>>>>> Till Wimmer
>>>>>> 
>>>>> _______________________________________________
>>>>> Blink mailing list
>>>>> Blink at lists.ag-projects.com
>>>>> https://lists.ag-projects.com/mailman/listinfo/blink
>>>>> 
>>>> _______________________________________________
>>>> Blink mailing list
>>>> Blink at lists.ag-projects.com
>>>> https://lists.ag-projects.com/mailman/listinfo/blink
>>> _______________________________________________
>>> Blink mailing list
>>> Blink at lists.ag-projects.com
>>> https://lists.ag-projects.com/mailman/listinfo/blink
>> _______________________________________________
>> Blink mailing list
>> Blink at lists.ag-projects.com
>> https://lists.ag-projects.com/mailman/listinfo/blink
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20210817/fa66237c/attachment.htm>


More information about the Blink mailing list