Hi, I’ve configured voicemail. I can post a message, then listen to it, but if I leave old message and try to login to voicemailmain i have smth like this:
In phone:
You’ve 2 new and …here the connection is lost
in console:
– Executing [999@mojsip:1] VoiceMailMain(“SIP/101-081c3510”, “9100@poczta|s”) in new stack
– Playing ‘vm-youhave’ (language ‘de’)
– Playing ‘digits/2’ (language ‘de’)
– Playing ‘vm-INBOX’ (language ‘de’)
– Playing ‘vm-and’ (language ‘de’)
Aug 14 14:37:44 WARNING[6631]: file.c:557 ast_openstream_full: File digits/1F does not exist in any format
Aug 14 14:37:44 WARNING[6631]: file.c:810 ast_streamfile: Unable to open digits/1F (format 0x4 (ulaw)): No such file or directory
== Spawn extension (mojsip, 999, 1) exited non-zero on ‘SIP/101-081c3510’
conf files :
voicemail.conf:
[poczta]
;The intro can be customized on a per-context basis
;directoryintro=dir-company2
1234 => 5678,Company2 User,root@localhost
9100 => 997,Imie,imie@a.aa
101 => 101, Imie2, imie2@a.aa
extensions.conf:
[mojsip]
exten => 100,1,dial(sip/xlite1|20)
exten => 100,2,voicemail(9100@poczta)
;exten => 100,3,voicemail(b100)
exten => 100,3,HangUp
exten => 101,1,dial(sip/101|20)
exten => 101,2,voicemail(101@poczta)
;exten => 101,3,voicemail(b100)
exten => 101,3,HangUp
;exten => 999,1,VoiceMailMain(${CALLERID(num)}@poczta|s)
exten => 999,1,VoiceMailMain(9100@poczta|s)
exten => 999,2,HangUp
sip.conf:
[xlite1]
; Turn off silence suppression in X-Lite (“Transmit Silence”=YES)!
; Note that Xlite sends NAT keep-alive packets, so qualify=yes is not needed
type=friend
secret=password ; haslo userka
;regexten=1234 ; When they register, create extension 1234
callerid=“SoftPhone” <100>
host=dynamic ; This device needs to register
;defaultip=127.0.0.1 ; hmmm moze zadziala
;nat=yes ; X-Lite is behind a NAT router
;canreinvite=no ; Typically set to NO if behind NAT
disallow=all
allow=gsm ; GSM consumes far less bandwidth than ulaw
allow=ulaw
;allow=alaw
;mailbox=1234@default,1233@default ; Subscribe to status of multiple mailboxes
context=mojsip ; moze bedzie dobry
[101]
type=friend ; Friends place calls and receive calls
context=mojsip ;zmienilem z from-sip Context for incoming calls from this user
secret=blah
callerid=“HardPhone” <101>
subscribecontext=localextensions ; Only allow SUBSCRIBE for local extensions
language=de ; Use German prompts for this user
host=dynamic ; This peer register with us
dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info
;defaultip=127.0.0.1 ; IP used until peer registers
mailbox=1234@context,2345 ; Mailbox(-es) for message waiting indicator
subscribemwi=yes ; Only send notifications if this phone
; subscribes for mailbox notification
vmexten=voicemail ; dialplan extension to reach mailbox
; sets the Message-Account in the MWI notify message
; defaults to global vmexten which defaults to "asterisk"
disallow=all
allow=ulaw ; dtmfmode=inband only works with ulaw or alaw!
Thx for help