Sorry pour le double post mais voici les logs:



[Aug 16 15:59:50] DEBUG[29588] pbx.c: Result of 'MEXTEN' is '5035'
[Aug 16 15:59:50] DEBUG[29588] pbx.c: Result of 'VMCONTEXT' is 'default'
[Aug 16 15:59:50] DEBUG[29588] pbx.c: Result of 'VM_OPTS' is ''
[Aug 16 15:59:50] DEBUG[29588] pbx.c: Result of 'VMGAIN' is '""'
[Aug 16 15:59:50] DEBUG[29588] pbx.c: Launching 'VoiceMail'
[Aug 16 15:59:50] VERBOSE[29588] pbx.c: -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/TRUNK_PRD_IMAP-xxxxxxxx", "5035@default,u""") in new stack
[Aug 16 15:59:50] DEBUG[25191] manager.c: Examining event:
Event: Newexten^M
Privilege: dialplan,all^M
Channel: SIP/TRUNK_PRD_IMAP-xxxxxxxx^M
Context: macro-vm^M
Extension: s-NOANSWER^M
Priority: 2^M
Application: VoiceMail^M
AppData: 5035@default,u""^M
Uniqueid: 1345125515.1030^M
^M

[Aug 16 15:59:50] DEBUG[29588] app_voicemail.c: Before find_user
[Aug 16 15:59:50] DEBUG[29588] app_voicemail.c: /var/spool/asterisk/voicemail/default/5035/unavail doesn't exist, doing what we can
[Aug 16 15:59:50] WARNING[29588] channel.c: Unable to find a codec translation path from 0x100 (g729) to 0x2 (gsm)
[Aug 16 15:59:50] WARNING[29588] file.c: Unable to open vm-theperson (format 0x100 (g729)): No such file or directory
[Aug 16 15:59:50] DEBUG[29588] app_voicemail.c: Hang up during prefile playback
[Aug 16 15:59:50] DEBUG[25191] manager.c: Examining event:

............

[Aug 16 15:59:50] DEBUG[29588] cdr_mysql.c: Inserting a CDR record.
[Aug 16 15:59:50] DEBUG[29588] cdr_mysql.c: SQL command as follows: INSERT INTO cdr (`calldate`,`clid`,`src`,`dst`,`dcontext`,`channel `,`dstchannel`,`lastapp`,`lastdata`,`duration`,`bi llsec`,`disposition`,`amaflags`,`uniqueid`) VALUES ('2012-08-16 15:58:35','\"06xxxxxxxx\" <06xxxxxxxx>','06xxxxxxxx','vmu5035','ext-local','SIP/TRUNK_PRD_IMAP-xxxxxxxx','SIP/5035-xxxxxxxx','VoiceMail','5035@default,u\"\"','75','6 0','ANSWERED','3','1345125515.1030')
[Aug 16 15:59:50] DEBUG[3425] chan_sip.c: = Looking for Call ID: 25119f4f1130eae02a5b31035d184c55@xx.x.xx.x:5060 (Checking To) --From tag as07534fe7 --To-tag 3bff002fa15beff2i0

...........

[Aug 16 15:59:50] DEBUG[29588] pbx.c: Function result is '2012-08-16 15:58:35'
[Aug 16 15:59:50] DEBUG[29588] pbx.c: Function result is '"06xxxxxxxx" <06xxxxxxxx>'
[Aug 16 15:59:50] DEBUG[29588] pbx.c: Function result is 'ext-local'
[Aug 16 15:59:50] DEBUG[29588] pbx.c: Function result is 'SIP/TRUNK_PRD_IMAP-xxxxxxxx'
[Aug 16 15:59:50] DEBUG[29588] pbx.c: Function result is 'SIP/5035-xxxxxxxx'
[Aug 16 15:59:50] DEBUG[29588] pbx.c: Function result is 'VoiceMail'

...........

[Aug 16 15:59:50] DEBUG[29588] cdr_sqlite3_custom.c: About to log: INSERT INTO cdr (calldate,clid,dcontext,channel,dstchannel,lastapp ,lastdata,duration,billsec,disposition,amaflags,ac countcode,uniqueid,userfield,test,src,dst) VALUES ('2012-08-16 15:58:35','"06xxxxxxxx" <06xxxxxxxx>','ext-local','SIP/TRUNK_PRD_IMAP-xxxxxxxx','SIP/5035-xxxxxxxx','VoiceMail','5035@default,u""','75','60' ,'ANSWERED','DOCUMENTATION','','1345125515.1030',' ','','06xxxxxxxx','vmu5035')