[Home]

Summary:ASTERISK-22388: Need debug indicating outbound registration attempt and success
Reporter:Rusty Newton (rnewton)Labels:
Date Opened:2013-08-25 18:22:53Date Closed:2013-09-04 09:35:21
Priority:TrivialRegression?
Status:Closed/CompleteComponents:Core/Logging Resources/res_pjsip_outbound_registration
Versions:SVN 12 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:The attached SIP debug shows a successful outbound registration. With DEBUG and VERBOSE turned up I didn't see any log messages during registration ( other than the SIP messages themselves)

We should have a DEBUG message indicating the registration attempt and success at a minimum.

For the ol' chan_sip I see several

{noformat}
[Aug 25 23:13:34] DEBUG[2506]: chan_sip.c:13418 transmit_register: REGISTER attempt 1 to 5279938664@gw1.sip.us
<snip>
[Aug 25 23:13:34] DEBUG[2506]: chan_sip.c:20703 handle_response_register: Registration successful
{noformat}

In the debug messages it'll be helpful to indicate which unique registration was successful and the number of the attempt perhaps.
Comments:By: Kevin Harwell (kharwell) 2013-09-03 17:52:30.801-0500

Here's some sample output of what it will look like:

{noformat}
REGISTER attempt 1 to 'sip:test@test0' with client 'sip:test@test1:5060'
Outbound registration to 'sip:test@test0' with client 'sip:test@test1:5060' successful
{noformat}

By: Rusty Newton (rnewton) 2013-09-03 18:14:40.066-0500

Cool, looks great!