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:[email protected]:5060 [2016-01-11 15:33:00] VERBOSE[2703] res_pjsip_registrar.c: Added contact 'sip:[email protected]: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:[email protected]: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

Reply via email to