[asterisk-users] res_pjsip/pjsip_configuration.c: Unable to create ast_sip_contact_status for contact

George Joseph george.joseph at fairview5.com
Mon Jan 11 13:12:09 CST 2016


Hi Dmitriy,

I think you're seeing ASTERISK-25675.

If you check out the 13.7 branch, you should not see this issue.  It's in
the 13 branch only and I submitted review 1973 to back out an earlier patch
that causes it.  The fix should get merged into 13 in the next day or so.

You can pull it in the mean time with 'git review -d 1973'

george

On Mon, Jan 11, 2016 at 6:35 AM, Dmitriy Serov <serov.d.p at gmail.com> wrote:

> Hello.
>
> Asterisk 13.7 (branch 13), res_pjsip
>
> Log file contains a lot of lines:
> [2016-01-11 15:33:00] ERROR[2862] res_pjsip/pjsip_configuration.c: Unable
> to create ast_sip_contact_status for contact 17378/sip:17378 at 87.255.225.
> xxxx:5060
> [2016-01-11 15:33:00] VERBOSE[2703] res_pjsip_registrar.c: Added contact
> 'sip:17378 at 87.255.225.xxxx:5060' to AOR '17378' with expiration of 5
> seconds
> [2016-01-11 15:33:00] VERBOSE[2862] res_pjsip/pjsip_configuration.c:
> Contact 17378/sip:17378 at 87.255.225.xxxx:5060 has been created
>
> /res/res_pjsip/pjsip_configuration.c
> /*! \brief Function called when a contact is deleted */
> static void persistent_endpoint_contact_deleted_observer(const void
> *object)
> {
>         const struct ast_sip_contact *contact = object;
>         struct ast_sip_contact_status *contact_status;
>
>         contact_status = ast_sorcery_retrieve_by_id(ast_sip_get_sorcery(),
> CONTACT_STATUS, ast_sorcery_object_get_id(contact));
>         if (!contact_status) {
>                 ast_log(LOG_ERROR, "Unable to create
> ast_sip_contact_status for contact %s/%s\n",
>                         contact->aor, contact->uri);
>                 return;
>         }
>
> 1. Where is copy/paste error in log msg I guess.
> 2. And whether the log in this case? Think before adding the contact it
> should remove it and logging msg because not finds. Or not so simple? Why
> so many ERROR line in log?
>
> Thanks.
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160111/9a9cd176/attachment.html>


More information about the asterisk-users mailing list