Hi guys,
on a test server with kamailio 4.3.7 statefull configuration with dialog I see a lot of messages like this..
Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 media-dispatcher[31555]: error: failed to end dialog: 500 Operation failed
I'm not find the issue and the way for fix..
Any idea ?
Regards
Laura
Hello,
do you use an external call controller that tries to terminate dialogs using rpc commands? Or do you set a dialog lifetime (call timeout)?
Cheers, Daniel
On 16.07.18 17:23, Laura wrote:
Hi guys,
on a test server with kamailio 4.3.7 statefull configuration with dialog I see a lot of messages like this..
Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 media-dispatcher[31555]: error: failed to end dialog: 500 Operation failed
I'm not find the issue and the way for fix..
Any idea ?
Regards
Laura
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
I have an external program that query RPC for the list of active calls "kamctl dialog show" and kill calls only when the system decide to close a customer.. but this cannot be the situation becuase i have these errors every few seconds...
Also I'm using dialog timeout parameters too..
modparam("dialog", "default_timeout", 7200)
Cheers,
Laura
Il 16/07/18 19:07, Daniel-Constantin Mierla ha scritto:
Hello,
do you use an external call controller that tries to terminate dialogs using rpc commands? Or do you set a dialog lifetime (call timeout)?
Cheers, Daniel
On 16.07.18 17:23, Laura wrote:
Hi guys,
on a test server with kamailio 4.3.7 statefull configuration with dialog I see a lot of messages like this..
Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 media-dispatcher[31555]: error: failed to end dialog: 500 Operation failed
I'm not find the issue and the way for fix..
Any idea ?
Regards
Laura
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
based on the log messages it appears that the rpc command to end the dialog is received before 200ok/ACK for initial INVITE or after the call was ended already. Can you watch the network for these rpc commands and compare with what happens for sip packets traffic?
Cheers, Daniel
On 17.07.18 09:42, Laura wrote:
Hello,
I have an external program that query RPC for the list of active calls "kamctl dialog show" and kill calls only when the system decide to close a customer.. but this cannot be the situation becuase i have these errors every few seconds...
Also I'm using dialog timeout parameters too..
modparam("dialog", "default_timeout", 7200)
Cheers,
Laura
Il 16/07/18 19:07, Daniel-Constantin Mierla ha scritto:
Hello,
do you use an external call controller that tries to terminate dialogs using rpc commands? Or do you set a dialog lifetime (call timeout)?
Cheers, Daniel
On 16.07.18 17:23, Laura wrote:
Hi guys,
on a test server with kamailio 4.3.7 statefull configuration with dialog I see a lot of messages like this..
Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 media-dispatcher[31555]: error: failed to end dialog: 500 Operation failed
I'm not find the issue and the way for fix..
Any idea ?
Regards
Laura
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
i just log all the traffic inside this system on 5060, so that i can control sip signaling, but, how can i trace the rpc command ?
Cheers, Laura
Il 17/07/18 10:17, Daniel-Constantin Mierla ha scritto:
Hello,
based on the log messages it appears that the rpc command to end the dialog is received before 200ok/ACK for initial INVITE or after the call was ended already. Can you watch the network for these rpc commands and compare with what happens for sip packets traffic?
Cheers, Daniel
On 17.07.18 09:42, Laura wrote:
Hello,
I have an external program that query RPC for the list of active calls "kamctl dialog show" and kill calls only when the system decide to close a customer.. but this cannot be the situation becuase i have these errors every few seconds...
Also I'm using dialog timeout parameters too..
modparam("dialog", "default_timeout", 7200)
Cheers,
Laura
Il 16/07/18 19:07, Daniel-Constantin Mierla ha scritto:
Hello,
do you use an external call controller that tries to terminate dialogs using rpc commands? Or do you set a dialog lifetime (call timeout)?
Cheers, Daniel
On 16.07.18 17:23, Laura wrote:
Hi guys,
on a test server with kamailio 4.3.7 statefull configuration with dialog I see a lot of messages like this..
Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 media-dispatcher[31555]: error: failed to end dialog: 500 Operation failed
I'm not find the issue and the way for fix..
Any idea ?
Regards
Laura
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
what do you use for sending the rpc command? Is via kamctl/kamcmd or you have your own implementation?
Cheers, Daniel
On 17.07.18 10:24, Laura wrote:
Hello,
i just log all the traffic inside this system on 5060, so that i can control sip signaling, but, how can i trace the rpc command ?
Cheers, Laura
Il 17/07/18 10:17, Daniel-Constantin Mierla ha scritto:
Hello,
based on the log messages it appears that the rpc command to end the dialog is received before 200ok/ACK for initial INVITE or after the call was ended already. Can you watch the network for these rpc commands and compare with what happens for sip packets traffic?
Cheers, Daniel
On 17.07.18 09:42, Laura wrote:
Hello,
I have an external program that query RPC for the list of active calls "kamctl dialog show" and kill calls only when the system decide to close a customer.. but this cannot be the situation becuase i have these errors every few seconds...
Also I'm using dialog timeout parameters too..
modparam("dialog", "default_timeout", 7200)
Cheers,
Laura
Il 16/07/18 19:07, Daniel-Constantin Mierla ha scritto:
Hello,
do you use an external call controller that tries to terminate dialogs using rpc commands? Or do you set a dialog lifetime (call timeout)?
Cheers, Daniel
On 16.07.18 17:23, Laura wrote:
Hi guys,
on a test server with kamailio 4.3.7 statefull configuration with dialog I see a lot of messages like this..
Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 media-dispatcher[31555]: error: failed to end dialog: 500 Operation failed
I'm not find the issue and the way for fix..
Any idea ?
Regards
Laura
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi,
via kamctl/kamcmd only..
Regards
Il 17/07/18 10:51, Daniel-Constantin Mierla ha scritto:
Hello,
what do you use for sending the rpc command? Is via kamctl/kamcmd or you have your own implementation?
Cheers, Daniel
On 17.07.18 10:24, Laura wrote:
Hello,
i just log all the traffic inside this system on 5060, so that i can control sip signaling, but, how can i trace the rpc command ?
Cheers, Laura
Il 17/07/18 10:17, Daniel-Constantin Mierla ha scritto:
Hello,
based on the log messages it appears that the rpc command to end the dialog is received before 200ok/ACK for initial INVITE or after the call was ended already. Can you watch the network for these rpc commands and compare with what happens for sip packets traffic?
Cheers, Daniel
On 17.07.18 09:42, Laura wrote:
Hello,
I have an external program that query RPC for the list of active calls "kamctl dialog show" and kill calls only when the system decide to close a customer.. but this cannot be the situation becuase i have these errors every few seconds...
Also I'm using dialog timeout parameters too..
modparam("dialog", "default_timeout", 7200)
Cheers,
Laura
Il 16/07/18 19:07, Daniel-Constantin Mierla ha scritto:
Hello,
do you use an external call controller that tries to terminate dialogs using rpc commands? Or do you set a dialog lifetime (call timeout)?
Cheers, Daniel
On 16.07.18 17:23, Laura wrote:
Hi guys,
on a test server with kamailio 4.3.7 statefull configuration with dialog I see a lot of messages like this..
Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: dialog [dlg_req_within.c:340]: send_bye(): terminating non-confirmed dialogs not supported Jul 16 15:20:26 vm-nextaitz-01 media-dispatcher[31555]: error: failed to end dialog: 500 Operation failed
I'm not find the issue and the way for fix..
Any idea ?
Regards
Laura
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello,
that is not easy if using fifo or unix socket files, only if using a proxy for commands (e.g., via socat), but probably doesn't worth the trouble.
What you can do is to compare the time stamps of the log messages with the timestamps of the sip traffic to see if the log message is after or before 200ok/ACK or CANCEL/BYE. Ending the call should be done after 200ok/ACK.
Cheers, Daniel
On 17.07.18 12:30, Laura wrote:
Hi,
via kamctl/kamcmd only..
Regards
Il 17/07/18 10:51, Daniel-Constantin Mierla ha scritto:
Hello,
what do you use for sending the rpc command? Is via kamctl/kamcmd or you have your own implementation?
Cheers, Daniel
On 17.07.18 10:24, Laura wrote:
Hello,
i just log all the traffic inside this system on 5060, so that i can control sip signaling, but, how can i trace the rpc command ?
Cheers, Laura
Il 17/07/18 10:17, Daniel-Constantin Mierla ha scritto:
Hello,
based on the log messages it appears that the rpc command to end the dialog is received before 200ok/ACK for initial INVITE or after the call was ended already. Can you watch the network for these rpc commands and compare with what happens for sip packets traffic?
Cheers, Daniel
On 17.07.18 09:42, Laura wrote:
Hello,
I have an external program that query RPC for the list of active calls "kamctl dialog show" and kill calls only when the system decide to close a customer.. but this cannot be the situation becuase i have these errors every few seconds...
Also I'm using dialog timeout parameters too..
modparam("dialog", "default_timeout", 7200)
Cheers,
Laura
Il 16/07/18 19:07, Daniel-Constantin Mierla ha scritto:
Hello,
do you use an external call controller that tries to terminate dialogs using rpc commands? Or do you set a dialog lifetime (call timeout)?
Cheers, Daniel
On 16.07.18 17:23, Laura wrote: > Hi guys, > > on a test server with kamailio 4.3.7 statefull configuration with > dialog I see a lot of messages like this.. > > > Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: > dialog [dlg_req_within.c:340]: send_bye(): terminating > non-confirmed > dialogs not supported > Jul 16 15:20:26 vm-nextaitz-01 /usr/sbin/kamailio[31288]: ERROR: > dialog [dlg_req_within.c:340]: send_bye(): terminating > non-confirmed > dialogs not supported > Jul 16 15:20:26 vm-nextaitz-01 media-dispatcher[31555]: error: > failed > to end dialog: 500 Operation failed > > > I'm not find the issue and the way for fix.. > > Any idea ? > > Regards > > Laura > > > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hello. I want that all dialog- and acc- related stuff were saved on kamailio restart and then on Kamailio startup was loaded from SQL tables.
dialog settings:
modparam("dialog", "db_url", DBURL) modparam("dialog", "db_mode", 1) modparam("dialog", "dlg_flag", 4) modparam("dialog", "dlg_match_mode", 1) modparam("dialog", "profiles_with_value", "limithash ; caller") modparam("dialog", "ka_timer", 10) modparam("dialog", "ka_interval", 30) modparam("dialog", "send_bye", 1) modparam("dialog", "wait_ack", 1)
1. I dial from one number to another. There are records in dialog and dialog_var tables. OK
2. "kamctl restart". Call keeps staying online, OK.
3. Related dialog and dialog_var data are all in place in SQL. OK
4. Finally I drop a call.
5. And there is no CDR record at all!!!
What's wrong? What can it be? Maybe there's some special fuction to load dialog data back from SQL to memory to continue dialog tracking?
Thanks.