Hi:
I configured asterisk for voicemail service.My main configuration files are:
extensions.conf
[from-pstn]
exten => 9711315,1,Dial(SIP/3000,30)
exten => 9711315,2,VoiceMail(555 at ff_tutorial)
exten => 9711315,3,PlayBack(vm-goodbye)
exten => 9711315,4,HangUp()
voicemail.conf
[ff_tutorial]
555 => 1234567,3000,fatemefatah2000 at yahoo.com
sip.conf
[3000]
type=friend
username=3000
secret=1234567
host=dynamic
context=from-pstn
mailbox=555 at ff_tutorial
But when I dial 9711315, after 30s I hear goodbye and call hangups.
in console:
-- Accepting call from '3322000' to '9711315' on channel 0/2,
span 1
-- Executing Dial("Zap/2-1", "SIP/3000|30") in new stack
-- Called 3000
-- SIP/3000-08f18698 is ringing
Jun 24 11:55:32 WARNING[4112]: chan_zap.c:8093 zt_pri_error: Call Reference
Length not supported: 0
Jun 24 11:55:42 WARNING[4112]: chan_zap.c:8093 zt_pri_error: Call Reference
Length not supported: 0
Jun 24 11:55:52 WARNING[4112]: chan_zap.c:8093 zt_pri_error: Call Reference
Length not supported: 0
-- Nobody picked up in 30000 ms
-- Executing VoiceMail("Zap/2-1", "555 at ff_tutorial")
in new stack
Jun 24 11:55:53 WARNING[5188]: app_voicemail.c:2461 leave_voicemail: No entry in
voicemail config file for '555'
-- Executing Playback("Zap/2-1", "vm-goodbye") in new
stack
-- Playing 'vm-goodbye' (language 'en')
-- Executing Hangup("Zap/2-1", "") in new stack
== Spawn extension (from-pstn, 9711315, 4) exited non-zero on
'Zap/2-1'
-- Hungup 'Zap/2-1'
Jun 24 11:56:02 WARNING[4112]: chan_zap.c:8093 zt_pri_error: Call Reference
Length not supported: 0
what's problem?
should I do something in sip phone for voicemail?
I'd appreciate any help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20080617/8de3d53d/attachment.htm