<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I'm using latest CVS version of asterisk and I have 
one problem - I start ser this way:</FONT></DIV>
<DIV><FONT face=Arial size=2>ser -dddddddddddddddddddddddddd</FONT></DIV>
<DIV><FONT face=Arial size=2>So when user is calling another user there is 
INVITE - everything is ok. But when user hang up call is </FONT></DIV>
<DIV><FONT face=Arial size=2>finished but I don't see BYE... So this way I can't 
use acc module to calculate call time.</FONT></DIV>
<DIV><FONT face=Arial size=2>Somebody can help me?</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>P.S.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><A 
href="mailto:root@sip:/var/www/sw">root@sip:/var/www/sw</A>#&nbsp; 9(12166) SIP 
Request:<BR>&nbsp;9(12166)&nbsp; method:&nbsp; 
&lt;INVITE&gt;<BR>&nbsp;9(12166)&nbsp; uri:&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;sip:piem@192.168.2.14&gt;<BR>&nbsp;9(12166)&nbsp; version: 
&lt;SIP/2.0&gt;<BR>&nbsp;9(12166) parse_headers: flags=1<BR>&nbsp;9(12166) Found 
param type 235, &lt;rport&gt; = &lt;n/a&gt;; state=6<BR>&nbsp;9(12166) Found 
param type 232, &lt;branch&gt; = 
&lt;z9hG4bK05DA6E2E759C4BFEBA57195FC350EE17&gt;; state=16<BR>&nbsp;9(12166) end 
of header reached, state=5<BR>&nbsp;9(12166) parse_headers: Via found, 
flags=1<BR>&nbsp;9(12166) parse_headers: this is the first via<BR>&nbsp;9(12166) 
After parse_msg...<BR>&nbsp;9(12166) preparing to run routing 
scripts...<BR>&nbsp;9(12166) parse_headers: flags=128<BR>&nbsp;9(12166) end of 
header reached, state=9<BR>&nbsp;9(12166) DEBUG: get_hdr_field: &lt;To&gt; [25]; 
uri=[sip:piem@192.168.2.14]<BR>&nbsp;9(12166) DEBUG: to body 
[&lt;sip:piem@192.168.2.14&gt;<BR>]<BR>&nbsp;9(12166) get_hdr_field: cseq 
&lt;CSeq&gt;: &lt;45242&gt; &lt;INVITE&gt;<BR>&nbsp;9(12166) 
DEBUG:maxfwd:is_maxfwd_present: value = 70<BR>&nbsp;9(12166) 
DBG:maxfwd:process_maxfwd_header: value 70 decreased to 16<BR>&nbsp;9(12166) 
parse_headers: flags=256<BR>&nbsp;9(12166) DEBUG: get_hdr_body : 
content_length=295<BR>&nbsp;9(12166) found end of header<BR>&nbsp;9(12166) 
find_first_route(): No Route headers found<BR>&nbsp;9(12166) loose_route(): 
There is no Route HF<BR>&nbsp;9(12166) check_self - checking if host==us: 12==12 
&amp;&amp;&nbsp; [192.168.2.14] == [192.168.2.14]<BR>&nbsp;9(12166) check_self - 
checking if port 5060 matches port 5060<BR>&nbsp;9(12166) rewrite(): Rewriting 
Request-URI with 'sip:piem@192.168.2.2:5060'<BR>&nbsp;9(12166) DEBUG: t_newtran: 
msg id=5 , global msg id=3 , T on entrance=0xffffffff<BR>&nbsp;9(12166) 
parse_headers: flags=-1<BR>&nbsp;9(12166) parse_headers: 
flags=60<BR>&nbsp;9(12166) t_lookup_request: start searching: hash=23406, 
isACK=0<BR>&nbsp;9(12166) DEBUG: RFC3261 transaction matching 
failed<BR>&nbsp;9(12166) DEBUG: t_lookup_request: no transaction 
found<BR>&nbsp;9(12166) DEBUG: add_param: tag=4060601702<BR>&nbsp;9(12166) end 
of header reached, state=29<BR>&nbsp;9(12166) DBG: trans=0x4043e0f8, callback 
type 1, id 0 entered<BR>&nbsp;9(12166) SER: new INVITE<BR>&nbsp;9(12166) 
parse_headers: flags=-1<BR>&nbsp;9(12166) check_via_address(192.168.2.111, 
192.168.2.111, 3)<BR>&nbsp;9(12166) WARNING:vqm_resize: resize(0) 
called<BR>&nbsp;9(12166) DEBUG: reply sent out. buf=0x80ff2a0: SIP/2.0 1..., 
shmem=0x4043f9f0: SIP/2.0 1<BR>&nbsp;9(12166) DEBUG: _reply_light: 
finished<BR>&nbsp;9(12166) DEBUG: mk_proxy: doing DNS 
lookup...<BR>&nbsp;9(12166) check_via_address(192.168.2.111, 192.168.2.111, 
3)<BR>&nbsp;9(12166) DEBUG: add_timer_unsafe[4]: 0x4043e210<BR>&nbsp;9(12166) 
DEBUG: add_timer_unsafe[0]: 0x4043e220<BR>&nbsp;9(12166) SER: new transaction 
fwd'ed<BR>&nbsp;9(12166) parse_headers: flags=44<BR>&nbsp;9(12166) 
DEBUG:destroy_avp_list: destroying list (nil)<BR>&nbsp;9(12166) receive_msg: 
cleaning up<BR>&nbsp;4(12158) SIP Reply&nbsp; (status):<BR>&nbsp;4(12158)&nbsp; 
version: &lt;SIP/2.0&gt;<BR>&nbsp;4(12158)&nbsp; status:&nbsp; 
&lt;100&gt;<BR>&nbsp;4(12158)&nbsp; reason:&nbsp; 
&lt;Trying&gt;<BR>&nbsp;4(12158) parse_headers: flags=1<BR>&nbsp;4(12158) Found 
param type 232, &lt;branch&gt; = &lt;z9hG4bKe6b5.2905a5f7.0&gt;; 
state=16<BR>&nbsp;4(12158) end of header reached, state=5<BR>&nbsp;4(12158) 
parse_headers: Via found, flags=1<BR>&nbsp;4(12158) parse_headers: this is the 
first via<BR>&nbsp;4(12158) After parse_msg...<BR>&nbsp;4(12158) forward_reply: 
found module tm, passing reply to it<BR>&nbsp;4(12158) DEBUG: t_check: msg id=2 
global id=0 T start=0xffffffff<BR>&nbsp;4(12158) parse_headers: 
flags=17<BR>&nbsp;4(12158) Found param type 235, &lt;rport&gt; = &lt;5060&gt;; 
state=6<BR>&nbsp;4(12158) Found param type 232, &lt;branch&gt; = 
&lt;z9hG4bK05DA6E2E759C4BFEBA57195FC350EE17&gt;; state=16<BR>&nbsp;4(12158) end 
of header reached, state=5<BR>&nbsp;4(12158) parse_headers: Via found, 
flags=17<BR>&nbsp;4(12158) parse_headers: this is the second 
via<BR>&nbsp;4(12158) DEBUG: add_param: tag=2313100209<BR>&nbsp;4(12158) end of 
header reached, state=29<BR>&nbsp;4(12158) DEBUG: get_hdr_field: &lt;To&gt; 
[40]; uri=[sip:piem@192.168.2.14]<BR>&nbsp;4(12158) DEBUG: to body 
[&lt;sip:piem@192.168.2.14&gt;]<BR>&nbsp;4(12158) get_hdr_field: cseq 
&lt;CSeq&gt;: &lt;45242&gt; &lt;INVITE&gt;<BR>&nbsp;4(12158) parse_headers: 
flags=4<BR>&nbsp;4(12158) DEBUG: t_reply_matching: hash 23406 label 2136625298 
branch 0<BR>&nbsp;4(12158) DEBUG: t_reply_matching: reply matched 
(T=0x4043e0f8)!<BR>&nbsp;4(12158) DEBUG: t_check: msg id=2 global id=2 T 
end=0x4043e0f8<BR>&nbsp;4(12158) DEBUG: reply_received: org. status uas=100, 
uac[0]=0 local=0 is_invite=1)<BR>&nbsp;4(12158) 
-&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; T_code=100, new_code=100<BR>&nbsp;4(12158) 
DEBUG: relay_reply: branch=0, save=0, relay=-1<BR>&nbsp;4(12158) DEBUG: 
add_timer_unsafe[1]: 0x4043e220<BR>&nbsp;4(12158) DEBUG:destroy_avp_list: 
destroying list (nil)<BR>&nbsp;4(12158) receive_msg: cleaning 
up<BR>&nbsp;4(12158) SIP Reply&nbsp; (status):<BR>&nbsp;4(12158)&nbsp; version: 
&lt;SIP/2.0&gt;<BR>&nbsp;4(12158)&nbsp; status:&nbsp; 
&lt;180&gt;<BR>&nbsp;4(12158)&nbsp; reason:&nbsp; 
&lt;Ringing&gt;<BR>&nbsp;4(12158) parse_headers: flags=1<BR>&nbsp;4(12158) Found 
param type 232, &lt;branch&gt; = &lt;z9hG4bKe6b5.2905a5f7.0&gt;; 
state=16<BR>&nbsp;4(12158) end of header reached, state=5<BR>&nbsp;4(12158) 
parse_headers: Via found, flags=1<BR>&nbsp;4(12158) parse_headers: this is the 
first via<BR>&nbsp;4(12158) After parse_msg...<BR>&nbsp;4(12158) forward_reply: 
found module tm, passing reply to it<BR>&nbsp;4(12158) DEBUG: t_check: msg id=3 
global id=2 T start=0xffffffff<BR>&nbsp;4(12158) parse_headers: 
flags=17<BR>&nbsp;4(12158) Found param type 235, &lt;rport&gt; = &lt;5060&gt;; 
state=6<BR>&nbsp;4(12158) Found param type 232, &lt;branch&gt; = 
&lt;z9hG4bK05DA6E2E759C4BFEBA57195FC350EE17&gt;; state=16<BR>&nbsp;4(12158) end 
of header reached, state=5<BR>&nbsp;4(12158) parse_headers: Via found, 
flags=17<BR>&nbsp;4(12158) parse_headers: this is the second 
via<BR>&nbsp;4(12158) DEBUG: add_param: tag=2313100209<BR>&nbsp;4(12158) end of 
header reached, state=29<BR>&nbsp;4(12158) DEBUG: get_hdr_field: &lt;To&gt; 
[40]; uri=[sip:piem@192.168.2.14]<BR>&nbsp;4(12158) DEBUG: to body 
[&lt;sip:piem@192.168.2.14&gt;]<BR>&nbsp;4(12158) get_hdr_field: cseq 
&lt;CSeq&gt;: &lt;45242&gt; &lt;INVITE&gt;<BR>&nbsp;4(12158) parse_headers: 
flags=4<BR>&nbsp;4(12158) DEBUG: t_reply_matching: hash 23406 label 2136625298 
branch 0<BR>&nbsp;4(12158) DEBUG: t_reply_matching: reply matched 
(T=0x4043e0f8)!<BR>&nbsp;4(12158) DEBUG: t_check: msg id=3 global id=3 T 
end=0x4043e0f8<BR>&nbsp;4(12158) DEBUG: reply_received: org. status uas=100, 
uac[0]=100 local=0 is_invite=1)<BR>&nbsp;4(12158) 
-&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; T_code=100, new_code=180<BR>&nbsp;4(12158) 
DEBUG: relay_reply: branch=0, save=0, relay=0<BR>&nbsp;4(12158)&nbsp; old size: 
438, new size: 377<BR>&nbsp;4(12158) build_res_from_sip_res: copied size: 
orig:82, new: 21, rest: 356 msg=<BR>SIP/2.0 180 Ringing<BR>Via: SIP/2.0/UDP 
192.168.2.111:5060;rport=5060;branch=z9hG4bK05DA6E2E759C4BFEBA57195FC350EE17<BR>From: 
pi &lt;sip:pi@192.168.2.14&gt;;tag=4060601702<BR>To: 
&lt;sip:piem@192.168.2.14&gt;;tag=2313100209<BR>Contact: 
&lt;sip:piem@192.168.2.2:5060&gt;<BR>Call-ID: <A 
href="mailto:B6387609-0B3E-4F5E-A9C2-BFFF87EF4F86@192.168.2.111">B6387609-0B3E-4F5E-A9C2-BFFF87EF4F86@192.168.2.111</A><BR>CSeq: 
45242 INVITE<BR>Server: X-Lite release 1103m<BR>Content-Length: 0</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>&nbsp;4(12158) DEBUG: reply relayed. buf=0x80ff088: SIP/2.0 1..., 
shmem=0x4043f410: SIP/2.0 1<BR>&nbsp;4(12158) DEBUG: add_timer_unsafe[1]: 
0x4043e220<BR>&nbsp;4(12158) DEBUG:destroy_avp_list: destroying list 
(nil)<BR>&nbsp;4(12158) receive_msg: cleaning up<BR>10(12171) DEBUG: timer 
routine:4,tl=0x4043e210 next=(nil)<BR>&nbsp;8(12165) SIP Reply&nbsp; 
(status):<BR>&nbsp;8(12165)&nbsp; version: 
&lt;SIP/2.0&gt;<BR>&nbsp;8(12165)&nbsp; status:&nbsp; 
&lt;200&gt;<BR>&nbsp;8(12165)&nbsp; reason:&nbsp; &lt;Ok&gt;<BR>&nbsp;8(12165) 
parse_headers: flags=1<BR>&nbsp;8(12165) Found param type 232, &lt;branch&gt; = 
&lt;z9hG4bKe6b5.2905a5f7.0&gt;; state=16<BR>&nbsp;8(12165) end of header 
reached, state=5<BR>&nbsp;8(12165) parse_headers: Via found, 
flags=1<BR>&nbsp;8(12165) parse_headers: this is the first via<BR>&nbsp;8(12165) 
After parse_msg...<BR>&nbsp;8(12165) forward_reply: found module tm, passing 
reply to it<BR>&nbsp;8(12165) DEBUG: t_check: msg id=4 global id=0 T 
start=0xffffffff<BR>&nbsp;8(12165) parse_headers: flags=17<BR>&nbsp;8(12165) 
Found param type 235, &lt;rport&gt; = &lt;5060&gt;; state=6<BR>&nbsp;8(12165) 
Found param type 232, &lt;branch&gt; = 
&lt;z9hG4bK05DA6E2E759C4BFEBA57195FC350EE17&gt;; state=16<BR>&nbsp;8(12165) end 
of header reached, state=5<BR>&nbsp;8(12165) parse_headers: Via found, 
flags=17<BR>&nbsp;8(12165) parse_headers: this is the second 
via<BR>&nbsp;8(12165) DEBUG: add_param: tag=2313100209<BR>&nbsp;8(12165) end of 
header reached, state=29<BR>&nbsp;8(12165) DEBUG: get_hdr_field: &lt;To&gt; 
[40]; uri=[sip:piem@192.168.2.14]<BR>&nbsp;8(12165) DEBUG: to body 
[&lt;sip:piem@192.168.2.14&gt;]<BR>&nbsp;8(12165) get_hdr_field: cseq 
&lt;CSeq&gt;: &lt;45242&gt; &lt;INVITE&gt;<BR>&nbsp;8(12165) parse_headers: 
flags=4<BR>&nbsp;8(12165) DEBUG: t_reply_matching: hash 23406 label 2136625298 
branch 0<BR>&nbsp;8(12165) DEBUG: t_reply_matching: reply matched 
(T=0x4043e0f8)!<BR>&nbsp;8(12165) parse_headers: flags=4<BR>&nbsp;8(12165) 
DEBUG: t_check: msg id=4 global id=4 T end=0x4043e0f8<BR>&nbsp;8(12165) DEBUG: 
reply_received: org. status uas=180, uac[0]=180 local=0 
is_invite=1)<BR>&nbsp;8(12165) -&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; T_code=180, 
new_code=200<BR>&nbsp;8(12165) DEBUG: relay_reply: branch=0, save=0, 
relay=0<BR>&nbsp;8(12165)&nbsp; old size: 735, new size: 674<BR>&nbsp;8(12165) 
build_res_from_sip_res: copied size: orig:77, new: 16, rest: 658 msg=<BR>SIP/2.0 
200 Ok<BR>Via: SIP/2.0/UDP 
192.168.2.111:5060;rport=5060;branch=z9hG4bK05DA6E2E759C4BFEBA57195FC350EE17<BR>From: 
pi &lt;sip:pi@192.168.2.14&gt;;tag=4060601702<BR>To: 
&lt;sip:piem@192.168.2.14&gt;;tag=2313100209<BR>Contact: 
&lt;sip:piem@192.168.2.2:5060&gt;<BR>Call-ID: <A 
href="mailto:B6387609-0B3E-4F5E-A9C2-BFFF87EF4F86@192.168.2.111">B6387609-0B3E-4F5E-A9C2-BFFF87EF4F86@192.168.2.111</A><BR>CSeq: 
45242 INVITE<BR>Content-Type: application/sdp<BR>Server: X-Lite release 
1103m<BR>Content-Length: 269</DIV>
<DIV>&nbsp;</DIV>
<DIV>v=0<BR>o=piem 101970734 101978031 IN IP4 192.168.2.2<BR>s=X-Lite<BR>c=IN 
IP4 192.168.2.2<BR>t=0 0<BR>m=audio 8000 RTP/AVP 8 3 98 97 101<BR>a=rtpmap:8 
pcma/8000<BR>a=rtpmap:3 gsm/8000<BR>a=rtpmap:98 iLBC/8000<BR>a=rtpmap:97 
speex/8000<BR>a=rtpmap:101 telephone-event/8000<BR>a=fmtp:101 0-15</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;8(12165) DEBUG: update_totag_set: new totag<BR>&nbsp;8(12165) DEBUG: 
reply relayed. buf=0x80ff110: SIP/2.0 2..., shmem=0x4043f410: SIP/2.0 
2<BR>&nbsp;8(12165) DEBUG: cleanup_uac_timers: RETR/FR timers 
reset<BR>&nbsp;8(12165) DEBUG: add_timer_unsafe[2]: 0x4043e140<BR>&nbsp;8(12165) 
DEBUG:destroy_avp_list: destroying list (nil)<BR>&nbsp;8(12165) receive_msg: 
cleaning up<BR>10(12171) DEBUG: timer routine:1,tl=0x4043e220 
next=(nil)<BR>10(12171) DEBUG: timer routine:2,tl=0x4043e140 
next=(nil)<BR>10(12171) DEBUG: wait_handler : removing 0x4043e0f8 from 
table<BR>10(12171) DEBUG: delete transaction 0x4043e0f8<BR>10(12171) DEBUG: 
wait_handler : done</DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT>&nbsp;</DIV></BODY></HTML>