[asterisk-bugs] [JIRA] (ASTERISK-25210) pjsip 'qualify_timeout' problem

Marco Paland (JIRA) noreply at issues.asterisk.org
Mon Jun 29 08:51:33 CDT 2015


Marco Paland created ASTERISK-25210:
---------------------------------------

             Summary:  pjsip 'qualify_timeout' problem
                 Key: ASTERISK-25210
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25210
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: pjproject/pjsip
    Affects Versions: 13.4.0
         Environment: debian derivate, asterisk 13.4.0 self compiled 
            Reporter: Marco Paland
            Severity: Blocker


I'm having major problems after an update from 13.2.0 to actual 13.4.0 using the pjsip channel.

ALL pjsip endpoints (snom phone, SPA112) are not working in 13.4.0 anymore due a mysterious configuration problem.
After reloading:

{code}
   -- Registered extension context 'macro-strip-country-code'; registrar: pbx_config
    -- Added extension 's' priority 1 to macro-strip-country-code
    -- Added extension 's' priority 2 to macro-strip-country-code
    -- Added extension 's' priority 3 to macro-strip-country-code
    -- Added extension 's' priority 4 to macro-strip-country-code
    -- Added extension 's' priority 5 to macro-strip-country-code
    -- Added extension 's' priority 6 to macro-strip-country-code
    -- Added extension 's' priority 7 to macro-strip-country-code
    -- Added extension 's' priority 8 to macro-strip-country-code
    -- Added extension 's' priority 9 to macro-strip-country-code
    -- Registered extension context ''; registrar: SCCP
    -- merging incls/swits/igpats from old() to new() context, registrar = pbx_config
    -- Registered extension context '__func_periodic_hook_context__'; registrar: func_periodic_hook
    -- merging incls/swits/igpats from old(__func_periodic_hook_context__) to new(__func_periodic_hook_context__) context, registrar = pbx_config
    -- Added extension 'hook' priority 1 (CID match '') to __func_periodic_hook_context__
    -- Added extension 'hook' priority 2 (CID match '') to __func_periodic_hook_context__
    -- Added extension 'hook' priority 3 (CID match '') to __func_periodic_hook_context__
    -- Added extension 'hook' priority 4 (CID match '') to __func_periodic_hook_context__
    -- Added extension 'hook' priority 5 (CID match '') to __func_periodic_hook_context__
    -- Added extension 'hook' priority 6 (CID match '') to __func_periodic_hook_context__
    -- Added extension 'beep' priority 1 (CID match '') to __func_periodic_hook_context__
    -- Added extension 'beep' priority 2 (CID match '') to __func_periodic_hook_context__
    -- merging incls/swits/igpats from old(unauthenticated) to new(unauthenticated) context, registrar = pbx_config
    -- Time to scan old dialplan and merge leftovers back into the new: 0.000330 sec
    -- Time to restore hints and swap in new dialplan: 0.000097 sec
    -- Time to delete the old dialplan: 0.000212 sec
    -- Total time merge_contexts_delete: 0.000639 sec
    -- Reloading module 'chan_sccp.so' (Skinny Client Control Protocol (SCCP). Release: 4.2.0 RC3 - unknown (built by 'root' on '2015-06-08 09:32:10 UTC')
    -- )
  == Parsing '/var/ipfire/asterisk/sccp.conf': Found
[Jun 28 19:14:41] NOTICE[10952]: sccp_config.c:2522 sccp_config_getConfig: Config file 'sccp.conf' has not changed, aborting reload.
[Jun 28 19:14:41] NOTICE[10952]: chan_sccp.c:752 sccp_reload: config file 'sccp.conf' has not change, skipping reload.
    -- Reloading module 'res_clialiases.so' (CLI Aliases)
    -- Reloading module 'app_minivm.so' (Mini VoiceMail (A minimal Voicemail e-mail System))
[Jun 28 19:14:41] WARNING[10952]: app_minivm.c:2877 load_config: Failed to load configuration file. Module activated with default settings.
    -- Reloading module 'app_playback.so' (Sound File Playback Application)
    -- Added contact 'sip:11 at 192.168.2.170:5060' to AOR '11' with expiration of 3600 seconds
[Jun 28 19:26:10] ERROR[11581]: config_options.c:710 aco_process_var: Could not find option suitable for category '11;@sip:11 at 192.168.2.170:5060' named 'qualify_timeout' at line 0 of
[Jun 28 19:26:10] ERROR[11586]: config_options.c:710 aco_process_var: Could not find option suitable for category '11;@sip:11 at 192.168.2.170:5060' named 'qualify_timeout' at line 0 of
    -- Added contact 'sip:30 at 192.168.2.170:5061' to AOR '30' with expiration of 3600 seconds
[Jun 28 19:26:10] ERROR[11586]: config_options.c:710 aco_process_var: Could not find option suitable for category '30;@sip:30 at 192.168.2.170:5061' named 'qualify_timeout' at line 0 of
[Jun 28 19:26:10] ERROR[11582]: config_options.c:710 aco_process_var: Could not find option suitable for category '30;@sip:30 at 192.168.2.170:5061' named 'qualify_timeout' at line 0 of
Contact 11/sip:11 at 192.168.2.170:5060 is now Unavailable
Contact 30/sip:30 at 192.168.2.170:5061 is now Unavailable
CLI> database show
/SCCP/SEP0015F/lastDialedNumber            : 0211;lineInstance=1
/SCCP/SEP001DE/lastDialedNumber            : 0521;lineInstance=1
/SCCP/SEP001E4/lastDialedNumber            : 21;lineInstance=1
/SCCP/SEP00270/lastDialedNumber            : 10;lineInstance=1
/dundi/secret                                     : XS+hRvLh0BKi0s9mh
/dundi/secretexpiry                            : 143008
6 results found.
CLI>
{code}

But I don't have a "qualify_timeout" option anywhere in my config (what line "0" indicates) or in the database.
Because of this error all endpoint sections are ignored and all endpoints are unavailable!

I know that the qualify_timeout option is new to pjsip and should make this value variable - but there seems to be a bug.

In the moment, 13.4.0 is not usable for us! Reverted back to 13.2.0 which is okay.





--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list