|Summary:||ASTERISK-01735: voicemail with USE_MYSQL_VM_INTERFACE=1 does ignore context definition|
|Date Opened:||2004-06-01 08:35:22||Date Closed:||2004-09-25 02:15:31|
|Environment:||Attachments:||( 0) mysqlvm.diff.txt|
( 1) mysqlvm.diff.txt
|Description:||when working with a database as scource app_voicemail does not mention the saved context from database so that it will not look for voicemail files in /var/spool/asterisk/voicemail/<CONTEXT>/<EXTEN> but in /var/spool/asterisk/voicemail//<EXTEN>|
in consequence app_voicemail does not differ between any contexts.
|Comments:||By: Brian West (bkw918) 2004-06-01 12:48:07|
Also update your asterisk-addons I fixed the above problem but here are two other issues I wanted to fix also that bugged the hell out of me.
By: Brian West (bkw918) 2004-06-01 12:51:04
Hrm looks like my changes didn't make it into cvs.
By: Brian West (bkw918) 2004-06-01 12:52:18
I see where the problem is.. if you put mailbox=blah@default it would work correctly. I'll get a diff to fix all this.
By: Brian West (bkw918) 2004-06-01 12:57:46
Please test that.. its not the best way to fix it.. but test it first to see if that fixes your issue then I'll get a better fix done.
By: jp (jp) 2004-06-01 13:28:12
Just tried your patch and it applied successfully to the actual CVS version of mysql-vm-routines.h.
Unfortunately it does not work. When I try to access the application my complete asterisk service just crashes even without any messages (of course I ran asterisk -vvvvvr).
after getting this message, the server stops:
-- Accepting call from '2110' to '992110' on channel 2, span 1
-- Executing VoiceMail2("Zap/2-1", "us2110") in new stack
Disconnected from Asterisk server
Executing last minute cleanups
By: Brian West (bkw918) 2004-06-01 13:45:01
get me a backtrace
By: Brian West (bkw918) 2004-06-01 13:45:31
also try the first patch.. not the second.. I have to ask someone about something on that second one.
By: jp (jp) 2004-06-01 17:43:24
just tried the first but it ends nearly the same:
-- Accepting call from '2110' to '99599' on channel 2, span 1
-- Executing VoiceMailMain("Zap/2-1", "s2110") in new stack
Ouch ... error while writing audio data: : Broken pipe
zion:~ # Found old ID3 Header
I'm not very familiar with doing backtraces so could you give me a short advise please? I think I would use ltrace or strace but I'm not sure how exactly the command line has to look like...
By: Brian West (bkw918) 2004-06-01 17:46:43
By: jp (jp) 2004-06-01 19:02:52
sorry but your guide seems not to be very clear for beginners level.
I could not find out which file exacly has to be entered instead of just core.XXXX. the second point even didn't help me out.
hm maybe I will try to find the failure myself as I think it is only something in the query itself or with the variable handling of its content.
By: Mark Spencer (markster) 2004-06-01 23:06:36
Segfault should be fixed in CVS now.
By: jp (jp) 2004-06-03 02:12:22
new cvs version works correctly now :-)
By: Mark Spencer (markster) 2004-06-03 08:37:22
Fixed in CVS