Pjsip Endpoint Reachable

Home » Asterisk Users » Pjsip Endpoint Reachable
Asterisk Users 1 Comment

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

One thought on - Pjsip Endpoint Reachable

  •  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@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@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@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@192.168.88.14:5060’ to AOR ‘905’ with expiration of 3600 seconds