<table cellspacing='0' cellpadding='0' border='0' background='none' style='font-family:arial;font-size:10pt;color:rgb(51, 51, 51);background-color:rgb(255, 255, 255);width:100%;'><tr><td valign='top' style='font: inherit;'><span class="postbody">Hi:
<br>
I configured asterisk for voicemail service.My main configuration files are:
<br>
extensions.conf
<br>
[from-pstn]
<br>
exten => 9711315,1,Dial(SIP/3000,30)
<br>
exten => 9711315,2,VoiceMail(555@ff_tutorial)
<br>
exten => 9711315,3,PlayBack(vm-goodbye)
<br>
exten => 9711315,4,HangUp()
<br>
<br>
voicemail.conf
<br>
[ff_tutorial]
<br>
555 => 1234567,3000,fatemefatah2000@yahoo.com
<br>
sip.conf
<br>
[3000]
<br>
type=friend
<br>
username=3000
<br>
secret=1234567
<br>
host=dynamic
<br>
context=from-pstn
<br>
mailbox=555@ff_tutorial
<br>
<br>
But when I dial 9711315, after 30s I hear goodbye and call hangups.
<br>
in console:
<br>
<br>
-- Accepting call from '3322000' to '9711315' on channel 0/2, span 1
<br>
-- Executing Dial("Zap/2-1", "SIP/3000|30") in new stack
<br>
-- Called 3000
<br>
-- SIP/3000-08f18698 is ringing
<br>
Jun 24 11:55:32 WARNING[4112]: chan_zap.c:8093 zt_pri_error: Call Reference Length not supported: 0
<br>
Jun 24 11:55:42 WARNING[4112]: chan_zap.c:8093 zt_pri_error: Call Reference Length not supported: 0
<br>
Jun 24 11:55:52 WARNING[4112]: chan_zap.c:8093 zt_pri_error: Call Reference Length not supported: 0
<br>
-- Nobody picked up in 30000 ms
<br>
-- Executing VoiceMail("Zap/2-1", "555@ff_tutorial") in new stack
<br>
Jun 24 11:55:53 WARNING[5188]: app_voicemail.c:2461 leave_voicemail: No entry in voicemail config file for '555'
<br>
-- Executing Playback("Zap/2-1", "vm-goodbye") in new stack
<br>
-- Playing 'vm-goodbye' (language 'en')
<br>
-- Executing Hangup("Zap/2-1", "") in new stack
<br>
== Spawn extension (from-pstn, 9711315, 4) exited non-zero on 'Zap/2-1'
<br>
-- Hungup 'Zap/2-1'
<br>
Jun 24 11:56:02 WARNING[4112]: chan_zap.c:8093 zt_pri_error: Call Reference Length not supported: 0
<br>
<br>
<br>
what's problem?
<br>
should I do something in sip phone for voicemail?
<br>
I'd appreciate any help.</span></td></tr></table><br>