Summary: | ASTERISK-23168: Overriding outbound_auth in a pjsip registration causes ERROR, assert failure. | ||
Reporter: | George Joseph (gjoseph) | Labels: | |
Date Opened: | 2014-01-20 12:07:01.000-0600 | Date Closed: | 2014-02-04 12:44:01.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_pjsip |
Versions: | 12.0.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Fedora 20 x86_64 | Attachments: | |
Description: | If you create a registration template that has outbound_auth specified, then override it in an actual registration, you get the following when the config loads...
{noformat} ERROR[29423]: res_pjsip/pjsip_configuration.c:236 ast_sip_auth_array_init: FRACK!, Failed assertion auths->names == NULL (0) ERROR[29423]: res_pjsip/pjsip_configuration.c:237 ast_sip_auth_array_init: FRACK!, Failed assertion !auths->num (0) {noformat} Example: {noformat} [reg-template](!) type=registration outbound_auth=someauth [reg-real1](reg-template) type=registration outbound_auth=someotherauth {noformat} I'm investigating this myself. You can assign the issue to me. | ||
Comments: | By: George Joseph (gjoseph) 2014-01-20 16:06:25.059-0600 The cause affects all uses of the auth_array framework, not just registrations. Uploaded patch to reviewboard. |