[asterisk-users] pjsip endpoint reachable

Thomas Ray tom.ray at blazestudios.com
Fri Oct 14 11:17:13 CDT 2022



On 2022-10-14, 11:31 AM, "asterisk-users on behalf of marek" <asterisk-users-bounces at lists.digium.com on behalf of cervajs64 at gmail.com> 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:902 at 192.168.88.248: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:902 at 192.168.88.248:5060 is now Reachable.  RTT: 3.193 msec

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

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





More information about the asterisk-users mailing list