[OpenSIPS-Users] opensips 1.6.4-2 and dlg_end_dlg

dpa denis7979 at mail.ru
Thu Dec 20 07:34:13 CET 2012


Bogdan, as I understand when I am doing fifo dlg_end_dlg through FIFO
command from console the config of  local route is activated? 

 

 

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] 
Sent: Thursday, December 20, 2012 9:57 AM
To: dpa; users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] opensips 1.6.4-2 and dlg_end_dlg

 

Hi,

You are doing something wrong there - based on the script, it seems you do
"dlg_end_dlg", which triggers sending BYE -> local route -> you do an exec
there to do again dlg_end_dlg. So you try to do nested FIFO commands which
does not work - FIFO engine will not read a new command until the current is
not finished.

Regards,




Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/20/2012 07:36 AM, dpa wrote: 

Hello Bogdan

 

The gdb  information in attachment.

Unfortunately for some unknown reason I cannot see logs. I will check the
problem and write later.

 

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] 
Sent: Wednesday, December 19, 2012 11:17 AM
To: dpa
Cc: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] opensips 1.6.4-2 and dlg_end_dlg

 

Try to set debug=4 and see the logs from the MI fifo process when running
the dlg_end_dlg command.

Also, try the get a backtrace from the MO FIFO proc after blocking. For
that, before the dlg command, do "opensipsctl fifo ps" to find out the PID
of the FIFO process.
After running the dlg command and blocking, use "gdb /path/to/opensips
FIFO_PID" and run "bt" inside - these will give some ideas on where the
process blocked.

Regards,





Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/19/2012 10:07 AM, dpa wrote: 

< So only the MI fifo part blocks?>

As I understand, yes.

 

"do you see any errors in the logs?"

 

I see only "INFO:core:buf_init: initializing..." in log file

 

"also, does it recover after some time (like minutes) ?"

To speak the truth I didn`t wait recovering. I used Ctrl+Z to stop process
of dlg_end_dlg and tried another fifo command. ps -A show me that
opensipsctl process appears.

 

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] 
Sent: Wednesday, December 19, 2012 9:44 AM
To: dpa
Cc: 'OpenSIPS users mailling list'
Subject: Re: [OpenSIPS-Users] opensips 1.6.4-2 and dlg_end_dlg

 

So only the MI fifo part blocks ? do you see any errors in the logs? also,
does it recover after some time (like minutes) ?

Regards,





Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/19/2012 09:42 AM, dpa wrote: 

Hello Bogdan

 

"it simply blocks and does not answer"

I can make calls. But no fifo command available.

 

From: Bogdan-Andrei Iancu [mailto:bogdan at opensips.org] 
Sent: Wednesday, December 19, 2012 9:39 AM
To: OpenSIPS users mailling list
Cc: dpa
Subject: Re: [OpenSIPS-Users] opensips 1.6.4-2 and dlg_end_dlg

 

Hi,

Does your opensips actually crashes when you run the dlg_end_dlg command ?
or it simply blocks and does not answer ?

Regards,






Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 12/19/2012 07:37 AM, dpa wrote: 



Hello!

 

I discovered a problem with using dlg_end_dlg fifo command.

When I try to make it, dialog hasn't been ended and I cannot see in console
that command has been finished success. In /tmp directory (where
opensips_fifo is located) I found some new files "opensips_receiver_xxxxx",
where xxxxx - some numbers. Ls -la shows that files were generated when I
make dlg_end_dlg command.

Moreover after this I cannot make any fifo command. 

After opensips restart I can make any fifo command but until dlg_end_dlg.

 

There were no problems with it but recently I decided to make opensips
generates core file if it crashes.

I use this documentation http://www.opensips.org/Resources/DocsTsCrash. 

I used  "-w" option and make changes in "/proc/sys/kernel/core_pattern". May
be some problems with it?

 

Thank you for any help! 

 

 

 
 
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121220/595be9d0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 906 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20121220/595be9d0/attachment-0001.gif>


More information about the Users mailing list