Summary:ASTERISK-06770: Crash on Dial(xxx,xxx,m(xxx)) when 2nd call arrives
Reporter:kokoskarokoska (kokoskarokoska)Labels:
Date Opened:2006-04-13 03:05:35Date Closed:2011-06-07 14:00:37
Versions:Frequency of
Environment:Attachments:( 0) sip_debug_peer_226210120.txt
( 1) sip_debug_peer_2351.txt
( 2) verbose4.txt
Description:My setup is Asterisk behind NAT (in DMZ), local phones on the same network and also outside on public internet and SIP trunks to my providers. I use in my universal macro Dial(xxx,xxx,m(xxx)). When localy connected phone on public internet (outside my NATed network) is "on the phone" and 2nd calls arrives there are four cases:
1. both calls are from localy conected phones - everything works fine
2. both calls are from SIP trunks - everything works fine
3. first call is from localy connected phone, 2nd call is from SIP trunk - Asterisk try to start MOH and immediatly crashes
4. first call is from SIP trunk, 2nd call is from localy connected phone - Asterisk try to start MOH and immediatly crashes

When localy connected phone is on my NATed network and 2nd call arrives everything work fine.

Crash is codec independant and type of MOH (files, mp3) independat also.
Comments:By: Olle Johansson (oej) 2006-04-13 06:49:24

If asterisk crashes, we need a backtrace of the crash. Please follow the bug guidelines and provide us with a backtrace so we can see what happens. Since SIP is involved, we will need SIP call logs as well, this is also covered in the bug guidelines. Thanks.

By: Olle Johansson (oej) 2006-04-13 06:50:29

Please also describe what modules you use that does not come from the standard asterisk distribution, like format_mp3 and mysql realtime drivers.

By: kokoskarokoska (kokoskarokoska) 2006-04-13 09:28:14

I found that if I "comment out" MixMonitor command Asterisk doesn't crash. (if I remove "m" option from Dial, MixMonitor works fine)

By: kokoskarokoska (kokoskarokoska) 2006-04-13 09:30:39

Nonstandard modules I'm using are only format_mp3 and mysql realtime.

By: Olle Johansson (oej) 2006-04-13 10:05:48

Diable those two modules and try again with mixmonitor. Thanks.

By: kokoskarokoska (kokoskarokoska) 2006-04-13 10:35:32

It is a lot of work - I have nearly nothing outside MySQL :-) And my Asterisk is in production use...
I do it on Saturday, maybe Sunday. Thanx for your patience.

By: Olle Johansson (oej) 2006-04-14 01:17:33

I appreciate your work. The reason I am asking you to do this, is that there's been a lot of strange issues caused by exactly those two modules, so I want to make sure that the bug still exists even if we unload those.

By: Serge Vecher (serge-v) 2006-05-04 11:04:53

kokoskarokoska: any new information revealed in the testing? Still an issue in latest stable?

By: BJ Weschke (bweschke) 2006-05-08 09:37:28

closed - no new information available after testing w/o format_mp3.