ok, work!
my dialog is storage in mysql ;-)
I'm trying make a prepaid system and my only problem is finish a call
when take end credits.
If the client have 20 min for make call, when call-time is 20 min, the
kamclt send a BYE for both.
Atenciosamente,
Igor Marques
celular: 55 21 7858 7499
nextel: 87*24074
e-mail: igor(a)carneiro.cc
web:
www.carneiro.cc
-------- Mensagem original --------
De: Daniel-Constantin Mierla <miconda(a)gmail.com>
Para: igor <igor(a)carneiro.cc>
Cc: users(a)lists.kamailio.org
Assunto: Re: [Kamailio-Users] I need termine a call then timeout.
Data: Thu, 08 Jan 2009 19:05:47 +0200
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:
http://kamailio.org/docs/modules/devel/dialog.html#id2507230
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: igor(a)carneiro.cc
web:
www.carneiro.cc <file:///home/igor/www.carneiro.cc>
-------- Mensagem original --------
*De*: Daniel-Constantin Mierla <miconda(a)gmail.com
<mailto:Daniel-Constantin%20Mierla%20%3cmiconda@gmail.com%3e>>
*Para*: Iñaki Baz Castillo <ibc(a)aliax.net
<mailto:%3d%3fISO-8859-1%3fQ%3fI%3dF1aki%3f%3d%20Baz%20Castillo%20%3cibc@aliax.net%3e>>
*Cc*: users(a)lists.kamailio.org <users(a)lists.kamailio.org
<mailto:%22users@lists.kamailio.org%22%20%3cusers@lists.kamailio.org%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 <igor(a)carneiro.cc
<mailto:igor@carneiro.cc>>:
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:
http://kamailio.org/docs/modules/devel/dialog.html#id2507334
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
http://www.asipto.com
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org <mailto:Users@lists.kamailio.org>
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
http://www.asipto.com
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.