Skip to content

Commit

Permalink
where is the request header
Browse files Browse the repository at this point in the history
  • Loading branch information
Hajo.Thelen committed Dec 4, 2024
1 parent 14aad3c commit c3cf458
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*/
package org.mjsip.ua.registration;

import java.util.Arrays;
import java.util.Vector;
import java.util.concurrent.ScheduledFuture;

Expand Down Expand Up @@ -248,6 +249,9 @@ protected void register(int expire_time, String content_type, byte[] body) {
}
}

// where is the Accept header ?
System.out.printf("XX\nXX\nXX Allowed Methods: %s", req.getAcceptHeader() != null ? req.getAcceptHeader().getParameters() : "n/a" );

TransactionClient t=new TransactionClient(_sipProvider,req,this);
t.request();
}
Expand Down

1 comment on commit c3cf458

@haumacher
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change seems to be intended for local debugging only and should be reverted.

Please sign in to comment.