<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
ok, work!<BR>
my dialog is storage in mysql ;-)<BR>
<BR>
I'm trying make a prepaid system and my only problem is finish a call when take end credits.<BR>
If the client have 20 min for make call, when call-time is 20 min, the kamclt send a BYE for both.<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<B>Atenciosamente,</B><BR>
Igor Marques<BR>
<BR>
celular: 55 21 7858 7499<BR>
nextel: 87*24074<BR>
e-mail: igor@carneiro.cc<BR>
web: <A HREF="file:///home/igor/www.carneiro.cc">www.carneiro.cc</A>
</TD>
</TR>
</TABLE>
<BR>
<BR>
-------- Mensagem original --------<BR>
<B>De</B>: Daniel-Constantin Mierla <<A HREF="mailto:Daniel-Constantin%20Mierla%20%3cmiconda@gmail.com%3e">miconda@gmail.com</A>><BR>
<B>Para</B>: igor <<A HREF="mailto:igor%20%3cigor@carneiro.cc%3e">igor@carneiro.cc</A>><BR>
<B>Cc</B>: <A HREF="mailto:users@lists.kamailio.org">users@lists.kamailio.org</A><BR>
<B>Assunto</B>: Re: [Kamailio-Users] I need termine a call then timeout.<BR>
<B>Data</B>: Thu, 08 Jan 2009 19:05:47 +0200<BR>
<BR>
<PRE>
On 01/08/2009 06:48 PM, igor wrote:
> Ok, via MI interface
> but howto make this
use the kamctl tool:
kamctl fifo dlg_list
And you should see these details for each active dialog:
<A HREF="http://kamailio.org/docs/modules/devel/dialog.html#id2507230">http://kamailio.org/docs/modules/devel/dialog.html#id2507230</A>
The do:
kamctl fifo dlg_end_dlg 342 56
Of course, replace the h_entry and h_id with the appropriate values.
Cheers,
Daniel
>
> :dlg_end_dlg:_reply_fifo_file_
>                 342
>                 56
>                 _empty_line_
>
>
> what is this /h_entry/ and /h_id/ ???????
>
> howto specified the call-id to termine?
>
>
>
>
> *Atenciosamente,*
> Igor Marques
>
> celular: 55 21 7858 7499
> nextel: 87*24074
> e-mail: <A HREF="mailto:igor@carneiro.cc">igor@carneiro.cc</A>
> web: <A HREF="http://www.carneiro.cc">www.carneiro.cc</A> <<A HREF="file:///home/igor/www.carneiro.cc">file:///home/igor/www.carneiro.cc</A>>
>
>
>
> -------- Mensagem original --------
> *De*: Daniel-Constantin Mierla <<A HREF="mailto:miconda@gmail.com">miconda@gmail.com</A>
> <<A HREF="mailto:Daniel-Constantin%20Mierla%20%3cmiconda@gmail.com">mailto:Daniel-Constantin%20Mierla%20%3cmiconda@gmail.com</A>%3e>>
> *Para*: Iñaki Baz Castillo <<A HREF="mailto:ibc@aliax.net">ibc@aliax.net</A>
> <<A HREF="mailto:%3d%3fISO-8859-1%3fQ%3fI%3dF1aki%3f%3d%20Baz%20Castillo%20%3cibc@aliax.net">mailto:%3d%3fISO-8859-1%3fQ%3fI%3dF1aki%3f%3d%20Baz%20Castillo%20%3cibc@aliax.net</A>%3e>>
> *Cc*: <A HREF="mailto:users@lists.kamailio.org">users@lists.kamailio.org</A> <<A HREF="mailto:users@lists.kamailio.org">users@lists.kamailio.org</A>
> <<A HREF="mailto:%22users@lists.kamailio.org">mailto:%22users@lists.kamailio.org</A><A HREF="mailto:%22%20%3cusers@lists.kamailio.org">%22%20%3cusers@lists.kamailio.org</A>%3e>>
> *Assunto*: Re: [Kamailio-Users] I need termine a call then timeout.
> *Data*: Thu, 08 Jan 2009 16:20:45 +0200
>
> Hello,
>
> On 01/08/2009 04:13 PM, Iñaki Baz Castillo wrote:
> > 2009/1/8 igor <<A HREF="mailto:igor@carneiro.cc">igor@carneiro.cc</A> <<A HREF="mailto:igor@carneiro.cc">mailto:igor@carneiro.cc</A>>>:
> >
> >> I need termine a call then timeout.
> >> but, return a message WARNING and do not Hangup!
> >>
> >> help me!
> >>
> >> WARNING:dialog:get_expired_dlgs: start with tl=0xb5a11a20
> >> tl->prev=0xb59cf550 tl->next=0xb59cf550 (101) at 101 and end with
> >> end=0xb59cf550 end->prev=0xb5a11a20 end->next=0xb5a11a20
> >> WARNING:dialog:get_expired_dlgs: getting tl=0xb5a11a20 tl->prev=0xb59cf550
> >> tl->next=0xb59cf550 with 101
> >> WARNING:dialog:get_expired_dlgs: end with tl=0xb59cf550 tl->prev=0xb5a11a20
> >> tl->next=0xb5a11a20 and d_timer->first.next->prev=(nil)
> >> WARNING:dialog:dlg_ontimeout: timeout for dlg with CallID
> >> 'T8x-xgYUoIe3707wDPg1qwq-AX4o3m' and tags '9697t1cm3thc6l2207g9'
> >> '7jju88u987'
> >>
> >
> > Where exactly have you read that Kamailio "dialog" module sends a BYE
> > when the dialog expires?
> > Such feature is not in Kamailio "dialog" module, and it doesn't appear
> > in the module documentation.
> >
> the functionality to terminate a dialog (send BYEs inside to both sides)
> is inside the module, but only exported via MI interface:
> <A HREF="http://kamailio.org/docs/modules/devel/dialog.html#id2507334">http://kamailio.org/docs/modules/devel/dialog.html#id2507334</A>
>
> I will enable it for usage at timeout and in other cases before freezing
> 1.5. Practically is one function call.
>
> Cheers,
> Daniel
>
> --
> Daniel-Constantin Mierla
> <A HREF="http://www.asipto.com">http://www.asipto.com</A>
>
>
> _______________________________________________
> Users mailing list
> <A HREF="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</A> <<A HREF="mailto:Users@lists.kamailio.org">mailto:Users@lists.kamailio.org</A>>
> <A HREF="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</A>
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <<A HREF="http://www.mailscanner.info/">http://www.mailscanner.info/</A>>, and is
> believed to be clean.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> <A HREF="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</A>
> <A HREF="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</A>
>
--
Daniel-Constantin Mierla
<A HREF="http://www.asipto.com">http://www.asipto.com</A>
</PRE>
</BODY>
<br />--
<br />This message has been scanned for viruses and
<br />dangerous content by
<a href="http://www.mailscanner.info/"><b>MailScanner</b></a>, and is
<br />believed to be clean.
</HTML>