<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-7"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hello Panagiotis,<br>
<br>
getting the at least the call-ind in headers of sip reply would be
good, do it by chunks (I do not know other option), in gdb:<br>
<br>
$ frame 7<br>
$ print *(buf+100)<br>
$ print *(buf+200)<br>
$ print *(buf+300)<br>
$ print *(buf+400)<br>
<br>
Then more or less same to get the request:<br>
<br>
$ frame 2<br>
$ print *(req-&gt;buf)<br>
$ print *(req-&gt;buf+100)<br>
$ print *(req-&gt;buf+200)<br>
$ print *(req-&gt;buf+300)<br>
$ print *(req-&gt;buf+400)<br>
<br>
$ frame 1<br>
$ print *hf<br>
<br>
Make sure you pick a core that gives a backtrace like:<br>
(gdb) backtrace
<br>
#0  free_to (tb=0x775c00) at parser/parse_to.c:79
<br>
#1  0x000000000047fd42 in clean_hdr_field (hf=0x2ad2432de100) at
parser/hf.c:187
<br>
#2  0x00002ad23fe3e525 in run_trans_callbacks (type=&lt;value optimized
out&gt;, trans=&lt;value optimized out&gt;, req=0x2ad2432dcf58,
<br>
   rpl=0x772d28, code=&lt;value optimized out&gt;) at sip_msg.h:54
<br>
#3  0x00002ad23fe47b46 in t_reply_matching (p_msg=0x772d28,
p_branch=&lt;value optimized out&gt;) at t_lookup.c:888
<br>
#4  0x00002ad23fe47fa2 in t_check (p_msg=0x772d28,
param_branch=0x7ffff9c016bc) at t_lookup.c:964
<br>
#5  0x00002ad23fe58ac2 in reply_received (p_msg=0x73a040) at
t_reply.c:1395
<br>
#6  0x000000000041eebc in forward_reply (msg=0x772d28) at forward.c:521
<br>
#7  0x0000000000445313 in receive_msg (
<br>
   buf=0x718dc0 "SIP/2.0 200 OK\r\nVia: SIP/2.0/UDP
77.247.97.11;branch=z9hG4bK45f7.70f91294.0;received=77.247.97.11\r\nV",
<br>
   len=920, rcv_info=0x7ffff9c017a0) at receive.c:212
<br>
#8  0x00000000004794ae in udp_rcv_loop () at udp_server.c:449
<br>
#9  0x000000000042760e in main (argc=3, argv=0x7ffff9c019b8) at
main.c:774
<br>
<br>
Would be good if we get on irc together, if you have time, to do a more
realtime debugging -- will be faster. Let me know if you can do it
today. I am on #kamailio or #sip-router channels on irc.freenode.net
with id miconda.<br>
<br>
Thanks,<br>
Daniel<br>
<br>
On 03/17/2010 11:56 AM, Panagiotis Skoulikaritis wrote:
<blockquote cite="mid:4BA0B560.1080802@algonet.gr" type="cite">
  <meta content="text/html; charset=ISO-8859-7"
 http-equiv="Content-Type">
Hello Daniel<br>
  <br>
I do have quite a few core files, please send me the gdb commands.<br>
  <br>
Regards<br>
  <br>
Panagiotis.</blockquote>
<br>
</body>
</html>