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'
loadmodule "dialog.so" modparam("dialog", "enable_stats", 1) modparam("dialog", "db_url", "mysql://user:pass@localhost/openser") modparam("dialog", "db_mode", 1) modparam("dialog", "dlg_flag", 4) modparam("dialog", "timeout_avp", "$avp(s:dlgtimeout)") modparam("dialog", "dlg_extra_hdrs", "Hint: credit expired\r\n") modparam("dialog", "dlg_match_mode", 1) modparam("dialog", "default_timeout", 10)
if(is_method("INVITE")) { $avp(s:dlgtimeout)=5; $avp(s:ringtimeout)=10; setflag(4); route(4); }
Atenciosamente, Igor Marques
celular: 55 21 7858 7499 nextel: 87*24074 e-mail: igor@carneiro.cc web: www.carneiro.cc
2009/1/8 igor 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.
Hello,
On 01/08/2009 04:13 PM, Iñaki Baz Castillo wrote:
2009/1/8 igor 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
Ok, via MI interface but howto make this
: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@carneiro.cc web: www.carneiro.cc
-------- Mensagem original -------- De: Daniel-Constantin Mierla miconda@gmail.com Para: Iñaki Baz Castillo ibc@aliax.net Cc: users@lists.kamailio.org users@lists.kamailio.org 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@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
2009/1/8 igor igor@carneiro.cc:
Ok, via MI interface but howto make this
:dlg_end_dlg:_reply_fifo_file_
342 56 _empty_line_
what is this h_entry and h_id ???????
Those fields appear in the DB "dialog" table for each active dialog: - hash_entry - hash_id
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@carneiro.cc web: www.carneiro.cc file:///home/igor/www.carneiro.cc
-------- Mensagem original -------- *De*: Daniel-Constantin Mierla <miconda@gmail.com mailto:Daniel-Constantin%20Mierla%20%3cmiconda@gmail.com%3e> *Para*: Iñaki Baz Castillo <ibc@aliax.net mailto:%3d%3fISO-8859-1%3fQ%3fI%3dF1aki%3f%3d%20Baz%20Castillo%20%3cibc@aliax.net%3e> *Cc*: users@lists.kamailio.org <users@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@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@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@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
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@carneiro.cc web: www.carneiro.cc
-------- Mensagem original -------- De: Daniel-Constantin Mierla miconda@gmail.com Para: igor igor@carneiro.cc Cc: users@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@carneiro.cc web: www.carneiro.cc file:///home/igor/www.carneiro.cc
-------- Mensagem original -------- *De*: Daniel-Constantin Mierla <miconda@gmail.com mailto:Daniel-Constantin%20Mierla%20%3cmiconda@gmail.com%3e> *Para*: Iñaki Baz Castillo <ibc@aliax.net mailto:%3d%3fISO-8859-1%3fQ%3fI%3dF1aki%3f%3d%20Baz%20Castillo%20%3cibc@aliax.net%3e> *Cc*: users@lists.kamailio.org <users@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@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@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@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
2009/1/8 igor igor@carneiro.cc:
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.
I hope you have read the long thread about spoofed BYE which causes a proxy to account a dialog as finished when in fact there is still RTP traffic. Very complex subject.