P-debug-ID

The service level tracing allows to enable message tracing for specific users and conditions.

littleIMS support the P-debug-ID defined in:

Configuration

  1. Open the provisionning page for the public user identity which requires debug. For instance, for sip:alice@cipango.org, it is:
      http://hss.cipango.voip:8080/littleims-hss/wicket/public-user-identity/edit/sip:alice@cipango.org
  2. Click on "Add debug session"
  3. Fill the start and stop triggers. For instance, in this case, logging will be start when Alice calls Carol and stops on call end.
  4. If the S-CSCF has already loaded the user profile, update the profile by sending a Diameter PPR request:
  5. the logs are available in the logs directory of the P-CSCF, I-CSCF and S-CSCF. The log file is constructed with the debug-ID + ".log".
    For instance, this is the log file generated on the I-CSCF.
    I-CSCF/logs/4a5112.log
    2009-08-17 12:08:16 IN  UDP 192.168.2.10:5080 < 192.168.2.10:5070
    
    INVITE sip:carol@cipango.org SIP/2.0
    Via: SIP/2.0/UDP 192.168.2.10:5070;branch=z9hG4bK6c75491079e7
    Via: SIP/2.0/UDP 192.168.2.10:5060;branch=z9hG4bK0f38f2c3c824
    Via: SIP/2.0/UDP 127.0.0.1:3023;received=192.168.2.10;branch=z9hG4bK4966;rport=3023
    Content-Type: application/sdp
    Privacy: none
    P-Access-Network-Info: ADSL;utran-cell-id-3gpp=00000000
    Content-Length: 252
    Allow-Events: presence,presence.winfo
    Allow: INVITE,ACK,CANCEL,BYE,MESSAGE,OPTIONS,NOTIFY,PRACK,REFER
    Max-Forwards: 68
    Supported: sdp-anat
    From: <sip:alice@cipango.org>;tag=14526
    Call-ID: 1250501801910@127.0.0.1
    P-Debug-ID: 4a5112
    Route: <sip:icscf@i-cscf.cipango.voip:5080;lr>
    Contact: <sip:alice@127.0.0.1:3023;transport=udp>;expires=1000
    P-Preferred-Service: urn:urn-xxx:3gpp-service.ims.icsi.mmtel
    User-Agent: Mercuro IMS Client Bronze 4.0.1178.0
    To: <sip:carol@cipango.org>
    P-Asserted-Identity: <sip:alice@cipango.org>
    CSeq: 601 INVITE
    P-Charging-Vector: icid-value=AyretyU0dm+6O2IrT5tAFrbHLso=023551024
    Record-Route: <sip:aid!8c3b3f57@s-cscf.cipango.voip:5070;lr>,<sip:aid!984b34f3@p-cscf.cipango.voip:5060;lr>
    
    v=0
    o=- 3344 3344 IN IP4 127.0.0.1
    s=Mercuro IMS Client Session
    t=0 0
    m=audio 34500 RTP/AVP 0 8 101
    c=IN IP4 127.0.0.1
    a=rtpmap:0 PCMU/8000/1
    a=rtpmap:8 PCMA/8000/1
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    a=silenceSupp:off - - - -
    
    2009-08-17 12:08:16 OUT UDP 192.168.2.10:5080 > 192.168.2.10:5070
    
    SIP/2.0 100 Trying
    Via: SIP/2.0/UDP 192.168.2.10:5070;branch=z9hG4bK6c75491079e7
    Via: SIP/2.0/UDP 192.168.2.10:5060;branch=z9hG4bK0f38f2c3c824
    Via: SIP/2.0/UDP 127.0.0.1:3023;received=192.168.2.10;branch=z9hG4bK4966;rport=3023
    From: <sip:alice@cipango.org>;tag=14526
    To: <sip:carol@cipango.org>
    Call-ID: 1250501801910@127.0.0.1
    CSeq: 601 INVITE
    Record-Route: <sip:aid!8c3b3f57@s-cscf.cipango.voip:5070;lr>,<sip:aid!984b34f3@p-cscf.cipango.voip:5060;lr>
    Content-Length: 0
    
    
    2009-08-17 12:08:16 OUT UDP 192.168.2.10:5080 > 192.168.2.10:5070
    
    SIP/2.0 480 Temporarily Unavailable
    Via: SIP/2.0/UDP 192.168.2.10:5070;branch=z9hG4bK6c75491079e7
    Via: SIP/2.0/UDP 192.168.2.10:5060;branch=z9hG4bK0f38f2c3c824
    Via: SIP/2.0/UDP 127.0.0.1:3023;received=192.168.2.10;branch=z9hG4bK4966;rport=3023
    From: <sip:alice@cipango.org>;tag=14526
    To: <sip:carol@cipango.org>;tag=f6407148
    Call-ID: 1250501801910@127.0.0.1
    CSeq: 601 INVITE
    Content-Length: 0
    

If there was no debug session and the user is already registered, then the user must deregister and reregister in order to get debug configuration

Messages generated by the SIP stacks like ACK for negative responses are not logged

The user phone does not require to support the debug extension as the subscription is managed by the P-CSCF