Hello all,
When I dial Voicemail or park a call etc… I cannot hear the prompts … I have tried it from both a soft phone and a SIP phone… I can see that they are playing in the * CLI> …
I can however make calls and hear and speak to the other person fine…
Im using * 1.4.9
tell me what file to post up if it will help u help me trouble shoot…
Thank you !
Working all weekend
Brian !
this is the CLI output
-- Executing [6999@numberplan-custom-1:1] Answer("SIP/3872-b7bf8ef0", "") in new stack
-- Executing [6999@numberplan-custom-1:2] VoiceMailMain("SIP/3872-b7bf8ef0", "@default") in new stack
-- <SIP/3872-b7bf8ef0> Playing 'vm-login' (language 'en')
[Aug 10 16:37:17]
WARNING[6163]: app_voicemail.c:6194 vm_authenticate: Couldn’t read username
[quote=“Decompression”]
[Aug 10 16:37:17]
WARNING[6163]: app_voicemail.c:6194 vm_authenticate: Couldn’t read username[/quote]
If you can’t hear the vm prompts you may have a problem selecting the correct codec. What codecs are allowed in sip.conf? What codecs are enabled on you SIP & softphone?
dallas
disallow = all
allow = g729
allow = gsm
allow = ulaw
allow = alaw
Hmmm…
Make a call and post the full log for that call. The error you posted is vm saying it couldn’t read the username. The error may be occuring before this.
If you dial *97 you should get to voicemail without a username and you just need the password to authenticate. The log is at /var/log/asterisk/full.
mysteriously …or not so… i had been editing the files all day… they re appeared… solution set …
hi,
i have the same problem with voice from the PBX. phone calls are okay, moh is okay, just speaking clock, voicemail and what ever is trying to talk to me fails. any idea where to look for the problem ?
thanks a lot
Jan
sip.conf
disallow=all
allow = gsm
allow = ulaw
allow = alaw
log from calling the voicemail system *97
Sep 3 17:32:43 DEBUG[6156] chan_sip.c: Setting NAT on RTP to 524288
Sep 3 17:32:44 DEBUG[6156] chan_sip.c: Stopping retransmission on ‘6d42f354-ccc015d9@10.200.0.2’ of Response 101: Match Found
Sep 3 17:32:44 DEBUG[6156] chan_sip.c: Setting NAT on RTP to 524288
Sep 3 17:32:44 DEBUG[6156] chan_sip.c: Checking SIP call limits for device 121
Sep 3 17:32:44 DEBUG[6156] chan_sip.c: build_route: Contact hop: Jan Home sip:121@10.200.0.2:5060
Sep 3 17:32:44 VERBOSE[6226] logger.c: – Executing Answer(“SIP/121-b7000470”, “”) in new stack
Sep 3 17:32:44 DEBUG[6148] channel.c: Avoiding initial deadlock for 'SIP/121-b7000470’
Sep 3 17:32:44 VERBOSE[6226] logger.c: – Executing Wait(“SIP/121-b7000470”, “1”) in new stack
Sep 3 17:32:44 DEBUG[6156] chan_sip.c: Stopping retransmission on ‘6d42f354-ccc015d9@10.200.0.2’ of Response 102: Match Found
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing Macro(“SIP/121-b7000470”, “user-callerid|”) in new stack
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is 'device’
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is '121’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing NoOp(“SIP/121-b7000470”, “user-callerid: device 121”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: Noop
Sep 3 17:32:45 DEBUG[6226] pbx.c: Expression result is '0’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing GotoIf(“SIP/121-b7000470”, “0?report”) in new stack
Sep 3 17:32:45 DEBUG[6226] pbx.c: Not taking any branch
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: GotoIf
Sep 3 17:32:45 DEBUG[6226] pbx.c: Expression result is '0’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing GotoIf(“SIP/121-b7000470”, “0?start”) in new stack
Sep 3 17:32:45 DEBUG[6226] pbx.c: Not taking any branch
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: GotoIf
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is '121’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing Set(“SIP/121-b7000470”, “REALCALLERIDNUM=121”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: Set
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing NoOp(“SIP/121-b7000470”, “REALCALLERIDNUM is 121”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: NoOp
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is '121’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing Set(“SIP/121-b7000470”, “AMPUSER=121”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: Set
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is 'Jan Home’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing Set(“SIP/121-b7000470”, “AMPUSERCIDNAME=Jan Home”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: Set
Sep 3 17:32:45 DEBUG[6226] pbx.c: Expression result is '0’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing GotoIf(“SIP/121-b7000470”, “0?report”) in new stack
Sep 3 17:32:45 DEBUG[6226] pbx.c: Not taking any branch
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: GotoIf
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing Set(“SIP/121-b7000470”, “CALLERID(all)=Jan Home <121>”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: Set
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is '121’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing Set(“SIP/121-b7000470”, “REALCALLERIDNUM=121”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: Set
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing NoOp(“SIP/121-b7000470”, "TTL: ARG1: ") in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: Noop
Sep 3 17:32:45 DEBUG[6226] pbx.c: Expression result is '0’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing GotoIf(“SIP/121-b7000470”, “0?continue”) in new stack
Sep 3 17:32:45 DEBUG[6226] pbx.c: Not taking any branch
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: GotoIf
Sep 3 17:32:45 DEBUG[6226] pbx.c: Expression result is '1’
Sep 3 17:32:45 DEBUG[6226] pbx.c: Expression result is '-1’
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is '64’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing Set(“SIP/121-b7000470”, “__TTL=64”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: Set
Sep 3 17:32:45 DEBUG[6226] pbx.c: Expression result is ‘1’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing GotoIf(“SIP/121-b7000470”, “1?continue”) in new stack
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Goto (macro-user-callerid,s,21)
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: GotoIf
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is ‘“Jan Home” <121>‘
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing NoOp(“SIP/121-b7000470”, “Using CallerID “Jan Home” <121>”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: NoOp
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is ‘121’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing Macro(“SIP/121-b7000470”, “get-vmcontext|121”) in new stack
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is ‘default’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing Set(“SIP/121-b7000470”, “VMCONTEXT=default”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: Set
Sep 3 17:32:45 DEBUG[6226] pbx.c: Expression result is ‘0’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing GotoIf(“SIP/121-b7000470”, “0?200:300”) in new stack
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Goto (macro-get-vmcontext,s,300)
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: GotoIf
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing NoOp(“SIP/121-b7000470”, “”) in new stack
Sep 3 17:32:45 DEBUG[6226] app_macro.c: Executed application: NoOp
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is ‘121’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing MailboxExists(“SIP/121-b7000470”, “121@default”) in new stack
Sep 3 17:32:45 DEBUG[6226] pbx.c: Function result is ‘121’
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Executing VoiceMailMain(“SIP/121-b7000470”, “121@default”) in new stack
Sep 3 17:32:45 DEBUG[6226] channel.c: Scheduling timer at 160 sample intervals
Sep 3 17:32:45 VERBOSE[6226] logger.c: – Playing ‘vm-password’ (language ‘en’)
Sep 3 17:32:49 DEBUG[6156] chan_sip.c: Stopping retransmission on ‘7424b507580e9e3d42a4cdae48389023@10.27.99.10’ of Request 102: Match Found
Sep 3 17:32:50 DEBUG[6226] channel.c: Scheduling timer at 0 sample intervals
Sep 3 17:32:50 WARNING[6226] app_voicemail.c: Unable to read password
Sep 3 17:32:50 DEBUG[6226] pbx.c: Extension *97, priority 106 returned normally even though call was hung up
Sep 3 17:32:50 VERBOSE[6226] logger.c: – Executing Macro(“SIP/121-b7000470”, “hangupcall”) in new stack
Sep 3 17:32:50 VERBOSE[6226] logger.c: – Executing ResetCDR(“SIP/121-b7000470”, “w”) in new stack
Sep 3 17:32:50 DEBUG[6226] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Sep 3 17:32:50 DEBUG[6226] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES (‘2007-09-03 17:32:44’,’“Jan Home” <121>’,‘121’,’*97’,‘from-internal’, ‘SIP/121-b7000470’,’’,‘VoiceMailMain’,‘121@default’,6,6,‘ANSWERED’,3,’’,‘1188837164.2’)
Sep 3 17:32:50 DEBUG[6226] app_macro.c: Executed application: ResetCDR
Sep 3 17:32:50 VERBOSE[6226] logger.c: – Executing NoCDR(“SIP/121-b7000470”, “”) in new stack
Sep 3 17:32:50 NOTICE[6226] cdr.c: CDR on channel ‘SIP/121-b7000470’ not posted
Sep 3 17:32:50 NOTICE[6226] cdr.c: CDR on channel ‘SIP/121-b7000470’ lacks end
Sep 3 17:32:50 DEBUG[6226] app_macro.c: Executed application: NoCDR
Sep 3 17:32:50 DEBUG[6226] pbx.c: Expression result is '1’
Sep 3 17:32:50 VERBOSE[6226] logger.c: – Executing GotoIf(“SIP/121-b7000470”, “1?skiprg”) in new stack
Sep 3 17:32:50 VERBOSE[6226] logger.c: – Goto (macro-hangupcall,s,6)
Sep 3 17:32:50 DEBUG[6226] app_macro.c: Executed application: GotoIf
Sep 3 17:32:50 DEBUG[6226] pbx.c: Expression result is '1’
Sep 3 17:32:50 VERBOSE[6226] logger.c: – Executing GotoIf(“SIP/121-b7000470”, “1?theend”) in new stack
Sep 3 17:32:50 VERBOSE[6226] logger.c: – Goto (macro-hangupcall,s,9)
Sep 3 17:32:50 DEBUG[6226] app_macro.c: Executed application: GotoIf
Sep 3 17:32:50 VERBOSE[6226] logger.c: – Executing Wait(“SIP/121-b7000470”, “5”) in new stack
Sep 3 17:32:50 VERBOSE[6226] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/121-b7000470’ in macro 'hangupcall’
Sep 3 17:32:50 VERBOSE[6226] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/121-b7000470’
Sep 3 17:32:50 DEBUG[6226] chan_sip.c: update_call_counter(121) - decrement call limit counter
Hi .
This seems to be to do with unconfigured zaptel cards. There is mention on the digium knowledge base, as well as personal experiance.
I had a server that had this issue till the card was configured
Ian
the only connection to the outside world is via an iax accout with a voip provider and with an ISDN card. i have no non digital telephony interface at all. do you actually mean aptel or zaptel ? in case i do need that configuration, how can i do so without having a kernel module loaded, the hardware is just not present.
Jan
I dod mean aptel.
What isdn card do you have ? I assume its a BRI card.
Ian
its a Fritz! card, yes basic rate interface. but that can’t be the problem, for testing i used trixbox with the BRI card and i had no problems with any voice from the phone system.
Jan
Hi
I agree with IanPlain. But the problem also appears with ztdummy and i cannot explain it.
Have you any idea ?
Thanks
i have some zaptel modules loadad, here part of the output of lsmod:
ztdummy 3688 0
rtc 12372 1 ztdummy
zaptel 177316 4 zttranscode,ztdummy
crc_ccitt 2240 1 zaptel
i have also loaded the the chan_zap.so module in the /etc/asterisk/modules.conf:
load => chan_zap.so
in the global section of the modules.conf file i have only this:
[global]
chan_capi.so=yes
still no success. is there maybe something in the file /etc/asterisk/zapata.conf which i need to change ? here the config:
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
[channels]
language=en
context=from-zaptel
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
;Include genzaptelconf configs
#include zapata-auto.conf
group=1
;Include AMP configs
#include zapata_additional.conf
and again, i have no zaptel card at all, i am using the BRI card.
regards
Jan