<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
It seems that the Dialog module thinks that the dialog expired,
because it has been ongoing for longer than the configured dialog
timeout . <br>
<br>
What value have you configured for the <code class="varname">default_timeout</code>
parameter in the dialog module ? Or maybe you are using the
timeout_avp param ?<br>
<br>
<br>
Regards,<br>
<pre class="moz-signature" cols="72">--
Vlad Paiu
OpenSIPS Developer</pre>
<br>
<br>
On 08/18/2011 11:18 PM, Mike Tesliuk wrote:
<blockquote
cite="mid:CAKNtoCGnZ2f-2tS=Yt_mHG2Esc=njw5102SPHywZFV6BBOHtBg@mail.gmail.com"
type="cite">Ok, this problem is about the dialog module, the time
of the hangup is defined by my dialog module, but why ? i think
that the dialog is ok and the call was stablished, why is dialog
assuming the hangup ?<br>
<br>
<div class="gmail_quote">
2011/8/18 Mike Tesliuk <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:mike@ultra.net.br">mike@ultra.net.br</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div class="im">Its me again!<br>
<br>
hehehe<br>
<br>
<br>
Well, i remove the configuration from proxy on freeradius
based on this post ( <a moz-do-not-send="true"
href="http://www.openser.org/pipermail/users/2009-November/009489.html"
target="_blank">http://www.openser.org/pipermail/users/2009-November/009489.html</a>
) , this solve my issue about the tm module and no reply
from freeradius, but i stay with the 1 minute call problem.<br>
<br>
But now i have some new messages<br>
<br>
<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:db_mysql:db_mysql_do_
<div>prepared_query: doing BIND_PARAM in...<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:get_expired_dlgs: start with tl=0xb3392aec
tl->prev=0xb3372f08 tl->next=0xb3372f08 (5296) at
5296 and end with end=0xb3372f08 end->prev=0xb3392aec
end->next=0xb3392aec<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:get_expired_dlgs: getting tl=0xb3392aec
tl->prev=0xb3372f08 tl->next=0xb3372f08 with 5296<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:get_expired_dlgs: end with tl=0xb3372f08
tl->prev=0xb3392aec tl->next=0xb3392aec and
d_timer->first.next->prev=(nil)<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:dlg_timer_routine: tl=0xb3392aec next=(nil)<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:next_state_dlg: dialog 0xb3392ac0 changed from
state 4 to state 5, due event 7<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:dlg_ontimeout: timeout for dlg with CallID '<a
moz-do-not-send="true"
href="mailto:1852647490@192.168.0.14" target="_blank">1852647490@192.168.0.14</a>'
and tags '1198656166' 'as14e120f4'<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:run_dlg_callbacks: dialog=0xb3392ac0, type=64<br>
Aug 18 16:45:39 ser1-vm media-dispatcher[24931]: debug:
Issuing "remove" command to relay at 204.16.3.27<br>
Aug 18 16:45:39 ser1-vm media-relay[24950]: debug:
removing session <a moz-do-not-send="true"
href="mailto:1852647490@192.168.0.14" target="_blank">1852647490@192.168.0.14</a>:
pruonckk@MY____DOMAIN (1198656166) -->
21069743@MY____DOMAIN<br>
Aug 18 16:45:39 ser1-vm media-relay[24950]: (Port 50024
Closed)<br>
Aug 18 16:45:39 ser1-vm media-relay[24950]: (Port 50025
Closed)<br>
Aug 18 16:45:39 ser1-vm media-relay[24950]: (Port 50026
Closed)<br>
Aug 18 16:45:39 ser1-vm media-relay[24950]: (Port 50027
Closed)<br>
<br>
<br>
<br>
my opensips mysql connection is fine, i get on the log the
update execute<br>
<br>
145223 Execute update dialog set
state=4,timeout=1313696739,caller_cseq='2',callee_cseq='2',vars=NULL,profiles=NULL,script_flags=0
where hash_entry=1274 AND hash_id=1549020372<br>
<br>
<br>
some idea ?</div>
<br>
<br>
</div>
<div>
<div class="h5">
<div class="gmail_quote">2011/8/18 Mike Tesliuk <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:mike.tesliuk@ultra.net.br"
target="_blank">mike.tesliuk@ultra.net.br</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Its me again!<br>
<br>
hehehe<br>
<br>
<br>
Well, i remove the configuration from proxy on
freeradius based on this post ( <a
moz-do-not-send="true"
href="http://www.openser.org/pipermail/users/2009-November/009489.html"
target="_blank">http://www.openser.org/pipermail/users/2009-November/009489.html</a>
) , this solve my issue about the tm module and no
reply from freeradius, but i stay with the 1 minute
call problem.<br>
<br>
But now i have some new messages<br>
<br>
<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:db_mysql:db_mysql_do_prepared_query: doing
BIND_PARAM in...<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:get_expired_dlgs: start with tl=0xb3392aec
tl->prev=0xb3372f08 tl->next=0xb3372f08 (5296)
at 5296 and end with end=0xb3372f08
end->prev=0xb3392aec end->next=0xb3392aec<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:get_expired_dlgs: getting tl=0xb3392aec
tl->prev=0xb3372f08 tl->next=0xb3372f08 with
5296<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:get_expired_dlgs: end with tl=0xb3372f08
tl->prev=0xb3392aec tl->next=0xb3392aec and
d_timer->first.next->prev=(nil)<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:dlg_timer_routine: tl=0xb3392aec next=(nil)<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:next_state_dlg: dialog 0xb3392ac0 changed
from state 4 to state 5, due event 7<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:dlg_ontimeout: timeout for dlg with CallID
'<a moz-do-not-send="true"
href="mailto:1852647490@192.168.0.14"
target="_blank">1852647490@192.168.0.14</a>' and
tags '1198656166' 'as14e120f4'<br>
Aug 18 16:45:39 ser1-vm /sbin/opensips[25261]:
DBG:dialog:run_dlg_callbacks: dialog=0xb3392ac0,
type=64<br>
Aug 18 16:45:39 ser1-vm media-dispatcher[24931]:
debug: Issuing "remove" command to relay at
204.16.3.27<br>
Aug 18 16:45:39 ser1-vm media-relay[24950]: debug:
removing session <a moz-do-not-send="true"
href="mailto:1852647490@192.168.0.14"
target="_blank">1852647490@192.168.0.14</a>:
pruonckk@MY____DOMAIN (1198656166) -->
21069743@MY____DOMAIN<br>
Aug 18 16:45:39 ser1-vm media-relay[24950]: (Port
50024 Closed)<br>
Aug 18 16:45:39 ser1-vm media-relay[24950]: (Port
50025 Closed)<br>
Aug 18 16:45:39 ser1-vm media-relay[24950]: (Port
50026 Closed)<br>
Aug 18 16:45:39 ser1-vm media-relay[24950]: (Port
50027 Closed)<br>
<br>
<br>
<br>
my opensips mysql connection is fine, i get on the log
the update execute<br>
<br>
145223 Execute update dialog set
state=4,timeout=1313696739,caller_cseq='2',callee_cseq='2',vars=NULL,profiles=NULL,script_flags=0
where hash_entry=1274 AND hash_id=1549020372<br>
<br>
<br>
some idea ?
<div>
<div><br>
<br>
<br>
<div class="gmail_quote">2011/8/18 Mike Tesliuk <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:mike@ultra.net.br"
target="_blank">mike@ultra.net.br</a>></span><br>
<blockquote class="gmail_quote" style="margin:
0pt 0pt 0pt 0.8ex; border-left: 1px solid
rgb(204, 204, 204); padding-left: 1ex;">
<div>
<div>Almost :)<br>
<br>
<br>
Im getting two issues yet.<br>
<br>
<br>
1). When i do a call im getting a good
call but with 1 minute the call is
finished on mediaproxy, i don know how
solve this, i read on list the same kind
of issue but was a problem with iptables,
i dont have any iptables rule on my
server from now.<br>
<br>
<br>
Below i put a small part of my log<br>
<br>
Aug 18 15:17:36 ser1-vm
/sbin/opensips[25255]:
DBG:core:forward_request: orig. len=701,
new_len=751, proto=1<br>
Aug 18 15:17:36 ser1-vm
/sbin/opensips[25255]:
DBG:core:run_fwd_callbacks: FWD callback
entered<br>
Aug 18 15:17:36 ser1-vm
/sbin/opensips[25255]:
DBG:siptrace:trace_msg_out: trace off...<br>
Aug 18 15:17:36 ser1-vm
/sbin/opensips[25255]:
DBG:tm:t_unref_cell: UNREF_UNSAFE:
[0xb33932ec] after is 1<br>
Aug 18 15:17:36 ser1-vm
/sbin/opensips[25255]:
DBG:dialog:unref_dlg: unref dlg 0xb3392ac0
with 1 -> 3<br>
Aug 18 15:17:36 ser1-vm
/sbin/opensips[25255]:
DBG:core:destroy_avp_list: destroying list
(nil)<br>
Aug 18 15:17:36 ser1-vm
/sbin/opensips[25255]:
DBG:core:receive_msg: cleaning up<br>
Aug 18 15:17:36 ser1-vm
media-relay[24950]: debug: Got traffic
information for stream: (audio)
XXX.XXX.XXX.162:11798 (RTP:
XXX.XXX.XXX.162:1024, RTCP: Unknown)
<-> XXX.XXX.XXX.26:50008 <->
XXX.XXX.XXX.26:50010 <->
XXX.XXX.XXX.101:14992 (RTP:
XXX.XXX.XXX.101:14992, RTCP: Unknown)<br>
Aug 18 15:17:40 ser1-vm
/sbin/opensips[25261]:
DBG:tm:timer_routine: timer
routine:2,tl=0xb3393334 next=(nil),
timeout=24<br>
Aug 18 15:17:40 ser1-vm
/sbin/opensips[25261]:
DBG:tm:wait_handler: removing 0xb33932ec
from table<br>
Aug 18 15:17:40 ser1-vm
/sbin/opensips[25261]: DBG:tm:delete_cell:
delete_cell 0xb33932ec: can't delete --
still reffed (1)<br>
Aug 18 15:17:40 ser1-vm
/sbin/opensips[25261]: DBG:tm:set_timer:
relative timeout is 2<br>
Aug 18 15:17:40 ser1-vm
/sbin/opensips[25261]:
DBG:tm:insert_timer_unsafe: [3]:
0xb3393350 (26)<br>
Aug 18 15:17:40 ser1-vm
/sbin/opensips[25261]:
DBG:tm:wait_handler: done<br>
Aug 18 15:17:41 ser1-vm
media-relay[24950]: debug: Got traffic
information for stream: (audio)
XXX.XXX.XXX.162:11798 (RTP:
XXX.XXX.XXX.162:1024, RTCP: Unknown)
<-> XXX.XXX.XXX.26:50008 <->
XXX.XXX.XXX.26:50010 <->
XXX.XXX.XXX.101:14992 (RTP:
XXX.XXX.XXX.101:14992, RTCP:
XXX.XXX.XXX.101:14993)<br>
Aug 18 15:17:42 ser1-vm
/sbin/opensips[25261]:
DBG:tm:timer_routine: timer
routine:3,tl=0xb3393350 next=(nil),
timeout=26<br>
Aug 18 15:17:42 ser1-vm
/sbin/opensips[25261]:
DBG:tm:delete_handler: removing 0xb33932ec<br>
Aug 18 15:17:42 ser1-vm
/sbin/opensips[25261]: DBG:tm:delete_cell:
delete_cell 0xb33932ec: can't delete --
still reffed (1)<br>
Aug 18 15:17:42 ser1-vm
/sbin/opensips[25261]: DBG:tm:set_timer:
relative timeout is 2<br>
Aug 18 15:17:42 ser1-vm
/sbin/opensips[25261]:
DBG:tm:insert_timer_unsafe: [3]:
0xb3393350 (28)<br>
<br>
<br>
i get a lot of this message about tm
module, but i dont know how to solve, and
with 1 minute i get a port close from
mediaproxy<br>
<br>
i verify on my debug (ngrep) and i dont
have any message when i get no sound
anymore.<br>
<br>
<br>
The second question is about aaa_radius<br>
<br>
im getting this message from opensips on
syslog<br>
<br>
Aug 18 15:18:17 ser1-vm
media-dispatcher[24931]: error: failed to
send radius accounting record:<br>
Aug 18 15:18:21 ser1-vm
/sbin/opensips[25258]: rc_send_server: no
reply from RADIUS server localhost:1813<br>
Aug 18 15:18:21 ser1-vm
/sbin/opensips[25258]:
ERROR:acc:acc_aaa_request: Radius
accounting request failed for status:
'Stop' Call-Id: '<a moz-do-not-send="true"
href="mailto:1050509697@192.168.0.14"
target="_blank">1050509697@192.168.0.14</a>'<br>
<br>
but i have radius working<br>
<br>
udp 0 0 <a
moz-do-not-send="true"
href="http://0.0.0.0:1812/"
target="_blank">0.0.0.0:1812</a>
0.0.0.0:*
<div> 23865/freeradius<br>
udp 0 0 <a
moz-do-not-send="true"
href="http://0.0.0.0:1813/"
target="_blank">0.0.0.0:1813</a>
0.0.0.0:*
23865/freeradius<br>
<br>
<br>
and when i do a freeradius -X to verify
the question i dont receive on my radius
any request<br>
<br>
i configure my
opensips/radius/client.conf with
localhost and opensips send me other
request's (below a sample)<br>
<br>
rlm_detail:
/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d
expands to /var/log/freeradius/radacct/<a
moz-do-not-send="true"
href="http://127.0.0.1/detail-20110818"
target="_blank">127.0.0.1/detail-20110818</a><br>
rlm_detail: Freeradius-Proxied-To set to
127.0.0.1<br>
modcall[accounting]: module "detail"
returns ok for request 0<br>
WARNING: Attempt to use unknown xlat
function, or non-existent attribute in
string %{Sip-Application-Type}<br>
radius_xlat: ' CALL
insert_radacct_record(
'radius', '<a
moz-do-not-send="true"
href="mailto:97004099@192.168.0.14"
target="_blank">97004099@192.168.0.14</a>',
'54998168f16b36de',
'', '',
'',
'5060', '2011-08-18
15:26:09',
'0',
'0',
'0',
'0',
'sip:21069743@MY____DOMAIN',
'sip:pruonckk@MY____DOMAIN',
'200',
'Sip-Session',
'', '',
'0',
'0',
'200', 'Invite',
?
'<a class="moz-txt-link-abbreviated" href="mailto:sip:551121069743@XXX.XXX.XXX.101">sip:551121069743@XXX.XXX.XXX.101</a>',
'as2d79d6b6',
'1986300728',
'', '',
'',
'sip:21069743@MY____DOMAIN',
'', '',
'', 'Yealink SIP-T20P
9.51.0.10',
'' )'<br>
<br>
<br>
<br>
Somebody have an idea about this ?</div>
<br>
<br>
</div>
</div>
<div>
<div>
<div class="gmail_quote">2011/8/18 Saúl
Ibarra Corretgé <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:saul@ag-projects.com"
target="_blank">saul@ag-projects.com</a>></span><br>
<blockquote class="gmail_quote"
style="margin: 0pt 0pt 0pt 0.8ex;
border-left: 1px solid rgb(204, 204,
204); padding-left: 1ex;">
<div><br>
On Aug 10, 2011, at 12:55 PM, Mike
Tesliuk wrote:<br>
<br>
> Hello guys, i remove the nat
variable but the problem was another
module declaration .<br>
><br>
> modparam("mediaproxy",
"disable", 0) ( i put 1 instead 0 )<br>
><br>
><br>
> im sorry my mistake and thanks
for the help<br>
><br>
<br>
</div>
I'm glad it now works for you :-)<br>
<div>
<div><br>
--<br>
Saúl Ibarra Corretgé<br>
AG Projects<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@lists.opensips.org"
target="_blank">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>