Cannot record voicemail greeting

when I try to record greetings it beeps like some thing is wrong.
I Press 0 for mailbox options then
Press 1/2/3 to record a greeting
then it beeps.
I tried to find the answer in many forums yet I can’t figure out what’s wrong.

Press 0 for mailbox options, then press 1, 2 or 3 to record. When it beeps, start talking and press the # key to finish.

it beeps like an busy line (hangs me out)

check which user your copy of asterisk is running as. If it is root that could be the issue. Use the command “amportal stop” and “amportal start” to get it started properly.

Next it’s possible that just the user rights for the voicemail spool are wrong. To reset them properly do “amportal chown”.

Also check that the mailbox exists (if the user rights/permissions were wrong it might not), you’ll find that they are stored at /var/spool/asterisk/voicemail/default (if you used the default settings).

when I am using
amportal stop
amportal start

it’s stop and start over

I have mailboxes so I guess there is permision issue.

  1. How can I check which user your copy of asterisk is running as?
  2. How can I ckeck if user rights for the voicemail spool are wrong?
  3. What Value should I use with “amportal chown” command?

Thank,
Eyal

AMPENGINE: the telephony backend engine to use

AMPENGINE=asterisk

AMPMGRUSER: the user to access the Asterisk manager interface

AMPMGRUSER=admin

AMPMGRPASS: the password for AMPMGRUSER

AMPMGRPASS=XXX

should I write AMPMGRUSER=asterisk ?

No do not change that. that’s the user name that most applications using the management interface are expecting to use.

#1. If you did a amportal start then it is running as the correct user. To check type ps -ef | grep asterisk
you will get a output like this

root 19412 1 0 2008 ? 00:00:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk asterisk 19413 19412 0 2008 ? 07:00:51 /usr/sbin/asterisk -f -U asterisk -G asterisk -v -g -p
the second line is the important one, safe_asterisk is called by the amportal command as root and switches the user to asterisk. That’s why as root you should not do /etc/init.d/asterisk start

#2. If you use amportal chown it will set them properly.
#3. amportal chown is the whole command you don’t tell it a value it knows what values each thing need to be.

root 11578 1 0 Jan20 ? 00:00:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk
asterisk 11584 11578 0 Jan20 ? 00:01:51 /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c

“amportal chown” does not resolve the problem

any idea?

how about some logs please…

go into the asterisk cli and set the verbose level to 5, start capturing the asterisk cli output, make a call into voicemail and duplicate the issue, then post those so we can see what is going on. The logs are pretty good at saying why once you learn to read them (yes that part takes time).

I’ve installed cli
managed to set verbose level, yet unable to find commands to start capture, or how display the captured data.

I called the voice mail and here are the asterisk log lines:

Jan 22 11:24:52 DEBUG[18314] chan_zap.c: Message status for [email protected] changed from -1 to 0 on 4
Jan 22 11:24:57 NOTICE[18311] chan_iax2.c: No registration for peer ‘iaxmodem’ (from 127.0.0.1)
Jan 22 11:24:57 NOTICE[18311] chan_iax2.c: No registration for peer ‘1100’ (from 127.0.0.1)
Jan 22 11:24:58 DEBUG[25720] chan_zap.c: DTMF digit: 2 on Zap/4-1
Jan 22 11:24:58 DEBUG[25720] chan_zap.c: DTMF digit: 3 on Zap/4-1
Jan 22 11:24:58 DEBUG[25720] chan_zap.c: DTMF digit: 3 on Zap/4-1
Jan 22 11:25:01 DEBUG[25720] chan_zap.c: Enabled echo cancellation on channel 4
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Not taking any branch
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: ExecIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is 'Eyal Levy’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Not taking any branch
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233/language’ in family 'AMPUSER’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: AMPUSER/233/language not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233/language’ in family 'AMPUSER’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: AMPUSER/233/language not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: ExecIf
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233/language’ in family 'AMPUSER’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: AMPUSER/233/language not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233/language’ in family 'AMPUSER’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: AMPUSER/233/language not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Not taking any branch
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '-1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '64’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '“Eyal Levy” <233>'
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Noop
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Macro
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233’ in family 'CFU’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: CFU/233 not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233’ in family 'CFB’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: CFB/233 not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '15’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '20090122-112501’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: AGI
Jan 22 11:25:01 DEBUG[25720] channel.c: Spy MixMonitor added to channel Zap/4-1
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: MixMonitor
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Macro
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] channel.c: Building translator from ulaw to SLINEAR for spies on channel Zap/4-1
Jan 22 11:25:01 DEBUG[25726] manager.c: Manager received command 'login’
Jan 22 11:25:01 DEBUG[25726] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl for peer
Jan 22 11:25:01 DEBUG[25726] acl.c: 127.0.0.1/255.255.255.0/255.255.255.0 appended to acl for peer
Jan 22 11:25:01 DEBUG[25726] acl.c: ##### Testing 127.0.0.1 with 0.0.0.0
Jan 22 11:25:01 DEBUG[25726] acl.c: ##### Testing 127.0.0.1 with 127.0.0.0
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233’ in family 'CF’
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233’ in family 'DND’
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233’ in family 'CW’
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233’ in family 'CFB’
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233’ in family 'CFU’
Jan 22 11:25:01 DEBUG[25726] manager.c: Manager received command 'ExtensionState’
Jan 22 11:25:01 DEBUG[25726] manager.c: Manager received command 'Logoff’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: AGI
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: NoOp
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Macro
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Not taking any branch
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GosubIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GosubIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: NoOp
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Not taking any branch
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: NoOp
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Not taking any branch
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: ExecIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is 'Eyal Levy’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Not taking any branch
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '233’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233/language’ in family 'AMPUSER’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: AMPUSER/233/language not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233/language’ in family 'AMPUSER’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: AMPUSER/233/language not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: ExecIf
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233/language’ in family 'AMPUSER’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: AMPUSER/233/language not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233/language’ in family 'AMPUSER’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: AMPUSER/233/language not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is '“Eyal Levy” <233>'
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Noop
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Macro
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 WARNING[25720] func_db.c: DB requires an argument, DB(/)
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '0’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Not taking any branch
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is 'busy’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is '1’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233/vmx/busy/state’ in family 'AMPUSER’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: AMPUSER/233/vmx/busy/state not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ''
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Noop
Jan 22 11:25:01 DEBUG[25720] db.c: Unable to find key ‘233/vmx/busy/state’ in family 'AMPUSER’
Jan 22 11:25:01 DEBUG[25720] func_db.c: DB: AMPUSER/233/vmx/busy/state not found in database.
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ‘‘
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is ‘1’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: NoOp
Jan 22 11:25:01 DEBUG[25720] pbx.c: Function result is ‘default’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Set
Jan 22 11:25:01 DEBUG[25720] pbx.c: Expression result is ‘0’
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: GotoIf
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: NoOp
Jan 22 11:25:01 DEBUG[25720] app_macro.c: Executed application: Macro
Jan 22 11:25:01 DEBUG[18306] channel.c: Avoiding initial deadlock for ‘Zap/4-1’
Jan 22 11:25:01 DEBUG[25720] chan_zap.c: Took Zap/4-1 off hook
Jan 22 11:25:01 WARNING[25720] app_voicemail.c: mkdir ‘/var/spool/asterisk/voicemail/default//’ failed: No such file or directory
Jan 22 11:25:01 WARNING[25720] app_voicemail.c: mkdir ‘/var/spool/asterisk/voicemail/default//’ failed: No such file or directory
Jan 22 11:25:01 WARNING[25720] app_voicemail.c: Failed to make directory (/var/spool/asterisk/voicemail/default/233/temp)
Jan 22 11:25:01 DEBUG[25720] channel.c: Spy MixMonitor removed from channel Zap/4-1
Jan 22 11:25:01 DEBUG[25720] chan_zap.c: Hangup: channel: 4 index = 0, normal = 19, callwait = -1, thirdcall = -1
Jan 22 11:25:01 DEBUG[25720] chan_zap.c: disabled echo cancellation on channel 4
Jan 22 11:25:01 DEBUG[25720] chan_zap.c: Set option TDD MODE, value: OFF(0) on Zap/4-1
Jan 22 11:25:01 DEBUG[25720] chan_zap.c: Updated conferencing on 4, with 0 conference users
Jan 22 11:25:01 DEBUG[25720] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
Jan 22 11:25:01 DEBUG[25720] 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 (‘2009-01-22 11:25:01’,’“Eyal Levy” <233>’,‘233’,‘233’,‘from-internal’, ‘Zap/4-1’,’’,‘VoiceMail’,‘[email protected]|b’,0,0,‘ANSWERED’,3,’’,‘1232616295.836’)
Jan 22 11:25:04 DEBUG[18314] chan_zap.c: disabled echo cancellation on channel 4
Jan 22 11:25:09 DEBUG[25729] manager.c: Manager received command 'login’
Jan 22 11:25:09 DEBUG[25729] acl.c: 0.0.0.0/0.0.0.0/0.0.0.0 appended to acl for peer
Jan 22 11:25:09 DEBUG[25729] acl.c: 127.0.0.1/255.255.255.0/255.255.255.0 appended to acl for peer
Jan 22 11:25:09 DEBUG[25729] acl.c: ##### Testing 127.0.0.1 with 0.0.0.0
Jan 22 11:25:09 DEBUG[25729] acl.c: ##### Testing 127.0.0.1 with 127.0.0.0

Three is not a capture command. when you SSH into the box you can use that program to capture the text or if the buffer is big enough once it has happened scroll back and cut and paste it.

Which command should I write using ssh?
To capture cli text?
To get it’s data?

That is going way beyond the intent of this forum.

I don’t know what program you are using to talk to the box so I can’t answer it.

You need to learn to use google and go searching here. Also do some quick skills learning here on how to use a linux box, the commands available, etc. There are hundreds of Linux for Dummies type pages out and available that can help you here. That’s not to say you are a dummy but these types of pages are well written and can get you up to speed faster then I can ask questions and you can answer them in an attempt to help you.

Some basic understanding of the operating system, how to use it and connect to it are assumed here otherwise we are doing things in this forum that are not it’s intent.

That is the downfall of distro’s, people think it’s cool to go download a ISO image, inert it into a drive and boot it, answer a few questions and look it works.

It’s like driving. My 8 year old thinks cars are way cool and would love to go out right now, get one and go driving around. If he could I’d not let him as he has no true understanding of how to use it (which side of the street to drive on, what are one way streets and why can’t you go the other way, etc), maintain it, or be safe with it.

Connected to Asterisk 1.2.24 svn rev 62362 currently running on CentPBX (pid = 18297)
Verbosity is at least 5
– Remote UNIX connection
– Starting simple switch on ‘Zap/4-1’
– Executing Macro(“Zap/4-1”, “vm|233|DIRECTDIAL|”) in new stack
– Executing Macro(“Zap/4-1”, “user-callerid|SKIPTTL”) in new stack
– Executing Set(“Zap/4-1”, “AMPUSER=233”) in new stack
– Executing GotoIf(“Zap/4-1”, “0?report”) in new stack
– Executing ExecIf(“Zap/4-1”, “1|Set|REALCALLERIDNUM=233”) in new stack
– Executing Set(“Zap/4-1”, “AMPUSER=233”) in new stack
– Executing Set(“Zap/4-1”, “AMPUSERCIDNAME=Eyal Levy”) in new stack
– Executing GotoIf(“Zap/4-1”, “0?report”) in new stack
– Executing Set(“Zap/4-1”, “AMPUSERCID=233”) in new stack
– Executing Set(“Zap/4-1”, “CALLERID(all)=“Eyal Levy” <233>”) in new stack
– Executing Set(“Zap/4-1”, “REALCALLERIDNUM=233”) in new stack
– Executing ExecIf(“Zap/4-1”, “0|Set|LANGUAGE()=”) in new stack
– Executing GotoIf(“Zap/4-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,20)
– Executing NoOp(“Zap/4-1”, “Using CallerID “Eyal Levy” <233>”) in new stack
– Executing Set(“Zap/4-1”, “VMGAIN=”) in new stack
– Executing GotoIf(“Zap/4-1”, “1?vmx|1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing GotoIf(“Zap/4-1”, “0?s-DIRECTDIAL|1”) in new stack
– Executing Set(“Zap/4-1”, “MODE=unavail”) in new stack
– Executing GotoIf(“Zap/4-1”, “0?notdirect”) in new stack
– Executing Set(“Zap/4-1”, “MODE=unavail”) in new stack
– Executing NoOp(“Zap/4-1”, "Checking if ext 233 is enabled: ") in new stack
– Executing GotoIf(“Zap/4-1”, “1?s-DIRECTDIAL|1”) in new stack
– Goto (macro-vm,s-DIRECTDIAL,1)
– Executing NoOp(“Zap/4-1”, “DIRECTDIAL voicemail”) in new stack
– Executing Macro(“Zap/4-1”, “get-vmcontext|233”) in new stack
– Executing Set(“Zap/4-1”, “VMCONTEXT=default”) in new stack
– Executing GotoIf(“Zap/4-1”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing NoOp(“Zap/4-1”, “”) in new stack
– Executing VoiceMail(“Zap/4-1”, “[email protected]|u”) in new stack
== Spawn extension (macro-vm, s-DIRECTDIAL, 3) exited non-zero on ‘Zap/4-1’ in macro ‘vm’
== Spawn extension (macro-vm, s-DIRECTDIAL, 3) exited non-zero on ‘Zap/4-1’
– Hungup ‘Zap/4-1’
– Starting simple switch on ‘Zap/4-1’
– Executing Macro(“Zap/4-1”, “vm|233|DIRECTDIAL|”) in new stack
– Executing Macro(“Zap/4-1”, “user-callerid|SKIPTTL”) in new stack
– Executing Set(“Zap/4-1”, “AMPUSER=233”) in new stack
– Executing GotoIf(“Zap/4-1”, “0?report”) in new stack
– Executing ExecIf(“Zap/4-1”, “1|Set|REALCALLERIDNUM=233”) in new stack
– Executing Set(“Zap/4-1”, “AMPUSER=233”) in new stack
– Executing Set(“Zap/4-1”, “AMPUSERCIDNAME=Eyal Levy”) in new stack
– Executing GotoIf(“Zap/4-1”, “0?report”) in new stack
– Executing Set(“Zap/4-1”, “AMPUSERCID=233”) in new stack
– Executing Set(“Zap/4-1”, “CALLERID(all)=“Eyal Levy” <233>”) in new stack
– Executing Set(“Zap/4-1”, “REALCALLERIDNUM=233”) in new stack
– Executing ExecIf(“Zap/4-1”, “0|Set|LANGUAGE()=”) in new stack
– Executing GotoIf(“Zap/4-1”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,20)
– Executing NoOp(“Zap/4-1”, “Using CallerID “Eyal Levy” <233>”) in new stack
– Executing Set(“Zap/4-1”, “VMGAIN=”) in new stack
– Executing GotoIf(“Zap/4-1”, “1?vmx|1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing GotoIf(“Zap/4-1”, “0?s-DIRECTDIAL|1”) in new stack
– Executing Set(“Zap/4-1”, “MODE=unavail”) in new stack
– Executing GotoIf(“Zap/4-1”, “0?notdirect”) in new stack
– Executing Set(“Zap/4-1”, “MODE=unavail”) in new stack
– Executing NoOp(“Zap/4-1”, "Checking if ext 233 is enabled: ") in new stack
– Executing GotoIf(“Zap/4-1”, “1?s-DIRECTDIAL|1”) in new stack
– Goto (macro-vm,s-DIRECTDIAL,1)
– Executing NoOp(“Zap/4-1”, “DIRECTDIAL voicemail”) in new stack
– Executing Macro(“Zap/4-1”, “get-vmcontext|233”) in new stack
– Executing Set(“Zap/4-1”, “VMCONTEXT=default”) in new stack
– Executing GotoIf(“Zap/4-1”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing NoOp(“Zap/4-1”, “”) in new stack
– Executing VoiceMail(“Zap/4-1”, “[email protected]|u”) in new stack
== Spawn extension (macro-vm, s-DIRECTDIAL, 3) exited non-zero on ‘Zap/4-1’ in macro ‘vm’
== Spawn extension (macro-vm, s-DIRECTDIAL, 3) exited non-zero on ‘Zap/4-1’
– Hungup ‘Zap/4-1’