Re: pjsip endpoint reachable

Thomas Ray <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <[email protected]>

On 2022-10-14, 11:31 AM, "asterisk-users on behalf of marek" <[email protected] on behalf of [email protected]> wrote:

    hi,

    we are migrating from chan_sip to pjsip

    i want logs like this about pjsip endpoints

    [Oct 14 17:20:36] NOTICE[35629] chan_sip.c: Peer 'endpoint22' is now 
    Reachable. (15ms / 2000ms)

    is it possible?

    thanks

    Marek


Marek-

This is all logged by the system. You can look for things like this:

[2022-10-13 19:53:11] VERBOSE[32593] res_pjsip/pjsip_configuration.c: Endpoint 902 is now Unreachable
[2022-10-13 19:53:11] VERBOSE[32593] res_pjsip/pjsip_options.c: Contact 902/sip:[email protected]:5060 is now Unreachable.  RTT: 0.000 msec
[2022-10-13 19:54:08] VERBOSE[32593] res_pjsip/pjsip_configuration.c: Endpoint 902 is now Reachable
[2022-10-13 19:54:08] VERBOSE[32593] res_pjsip/pjsip_options.c: Contact 902/sip:[email protected]:5060 is now Reachable.  RTT: 3.193 msec

[2022-10-02 02:47:44] VERBOSE[21527] res_pjsip_registrar.c: Removed contact 'sip:[email protected]:5083' from AOR '410' due to expiration

[2022-10-02 01:09:30] VERBOSE[19080] res_pjsip_registrar.c: Added contact 'sip:[email protected]:5060' to AOR '905' with expiration of 3600 seconds



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.