I can't check the voicemail for the switchboard. Asterisk hangs up for some
unknown reason...

----- s n i p -----
    -- Executing [EMAIL PROTECTED]:1] Wait("SIP/597-00f0c410", "1") in new stack
    -- Executing [EMAIL PROTECTED]:2] VMAuthenticate("SIP/597-00f0c410", 
"[EMAIL PROTECTED]|s") in new stack
    -- <SIP/597-00f0c410> Playing 'vm-password' (language 'se')
    -- <SIP/597-00f0c410> Playing 'auth-thankyou' (language 'se')
    -- Executing [EMAIL PROTECTED]:3] VoiceMailMain("SIP/597-00f0c410", 
"500|s") in new stack
    [... you have 15 new and two old messages ...]
    -- <SIP/597-00f0c410> Playing 'vm-meddelandet' (language 'se')
  == Parsing '/var/spool/asterisk/voicemail/default/500/INBOX/msg0000.txt': 
Found
    [... received bla, bla from number bla, bla ...]
    -- <SIP/597-00f0c410> Playing 
'/var/spool/asterisk/voicemail/default/500/INBOX/msg0000' (language 'se')
  == Spawn extension (default, *500, 3) exited non-zero on 'SIP/597-00f0c410'
----- s n i p -----

And the msg0000.txt file look like this:

----- s n i p -----
;
; Message Information file
;
[message]
origmailbox=500
context=macro-switchboard-number
macrocontext=default
exten=s
priority=26
callerchan=IAX2/alexander-1
callerid=XXXXXXXXX
origdate=Thu Nov  1 12:43:38 PM UTC 2007
origtime=1193921018
category=
duration=17
----- s n i p -----

Alexander is the PRI Asterisk that IAX2 forwards all calls to
Graham (where the log above is from). And the call to '*500'
was made from 597. I have a *xxx extension because the 500
voicebox is a switchboard voicemail and can/should be checked
by the whole switchboard (using Queue()'s).

File modes:

----- s n i p -----
graham:/usr/share/asterisk/sounds/se# ll 
/var/spool/asterisk/voicemail/default/500/INBOX/msg0000*
-rwxr-xr-x 1 asterisk asterisk  28660 Nov  1 13:43 
/var/spool/asterisk/voicemail/default/500/INBOX/msg0000.WAV*
-rwxr-xr-x 1 asterisk asterisk  29040 Nov  1 13:43 
/var/spool/asterisk/voicemail/default/500/INBOX/msg0000.gsm*
-rw-r--r-- 1 asterisk asterisk    261 Nov  1 13:43 
/var/spool/asterisk/voicemail/default/500/INBOX/msg0000.txt
-rwxr-xr-x 1 asterisk asterisk 281644 Nov  1 13:43 
/var/spool/asterisk/voicemail/default/500/INBOX/msg0000.wav*
----- s n i p -----

I just can't see anything wrong with it...

Playing the gsm file with Playback() manually, works great...

----- s n i p -----
exten => 123,1,Playback(/var/spool/asterisk/voicemail/default/500/INBOX/msg0000)
----- s n i p -----


And the exten lines for extension '*500' (just for completeness):

----- s n i p -----
exten => *500,1,Wait(1)
exten => *500,n,VMAuthenticate([EMAIL PROTECTED],s)
exten => *500,n,VoicemailMain(500,s)
----- s n i p -----


Anything I've missed? Any idea why it fails?


PS. Removing the *.{WAV,wav} files didn't help...

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to