[Asterisk-Users] Having Trouble Creating an IVR
Tim P
panterafreak at gmail.com
Wed Jul 13 08:22:36 MST 2005
Ok it seems that the sipura ata was causing part of the problem (not
being able to call the extension). I am now able to call the
extension and get the beep prompt to begin recording but it immediatly
hangs up. I would suspect a write permissions issue but everyone has
full write permissions to /tmp (IVR temporary storage) and
asterisk:asterisk (user:group) has full permissions to
/var/lib/asterisk/sounds which according to the wiki is where the
permanent files are stored.
CLI gives the following when using the *77
obstructor:~# asterisk -rcvvvvv
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Not found (No such file
or directory)
Asterisk 1.0.5, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster at digium.com>
=========================================================================
Connected to Asterisk 1.0.5 currently running on obstructor (pid = 702)
Verbosity was 0 and is now 5
-- Executing Wait("SIP/102-d087", "2") in new stack
-- Executing Record("SIP/102-d087", "102ivrrecording:wav") in new stack
-- Playing 'beep' (language 'en')
-- Executing Wait("SIP/102-d087", "2") in new stack
-- Executing Hangup("SIP/102-d087", "") in new stack
== Spawn extension (from-internal, *77, 4) exited non-zero on 'SIP/102-d087'
-- Executing Macro("SIP/102-d087", "hangupcall") in new stack
-- Executing ResetCDR("SIP/102-d087", "w") in new stack
-- Executing NoCDR("SIP/102-d087", "") in new stack
-- Executing Wait("SIP/102-d087", "5") in new stack
-- Executing Hangup("SIP/102-d087", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on
'SIP/102-d087' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/102-d087'
obstructor*CLI>
As for the system setup I boot from a compact flash card that is
read-only and have a hard drive that I write voicemails and database
files to for AMP. I installed via apt-get. This allows for the user
to reboot teh machine at will and saves me the trouble of a corrupted
system when it is unexpectedly shutdown.
any thoughts on that output?
On 7/12/05, Tzafrir Cohen <tzafrir at cohens.org.il> wrote:
> On Tue, Jul 12, 2005 at 02:23:39PM -0400, Tim P wrote:
> > I have asterisk 1.0.5 installed via apt on a debian system. It's a
> > custom distrobution called Voyage Linux that runs from a flash card
> > and I have a hard drive installed with mysql installed on it as well
> > as apache.
>
> /me wonders if a simple debian install wouldn't have been better for a
> hard-disk install.
>
> Looking that that Voyage...
>
> > I have been though the AMP install guide (asterisk
> > management portal) and in the interface it has a place for me to
> > record new IVR menus. I have to dial *77 to begin recording but it
> > just gives me a beep-beep-beep like I have an invalid line when
> > attemping to dial it. *77 exists in my extensions.conf and I am able
> > to make and recieve calls from the extension I am using. I didn't
> > think this sounded like an AMP problem as the conf files has the
> > entries in there.
> >
> > I looked in the astrisk "full" logfile but saw no errors pertaining to
> > this nor did I see anything in the console when I connected with
> > asterisk -rvvvvv and did a sip debug ip 192.168.5.114:5060 (my
> > extensions's ip and port).
> >
> > Where should I begin with troubleshooting?
>
> What do you see on the asterisk CLI (asterisk -r) when you try recording?
>
> Turn off sip debug unless you have a sip issue: it generates plenty of
> irrelevant output.
>
> Use that and http://voip-info.org/ to debug the issue. If that still
> doesn't help, follow-up here with that trace, and with the relevant
> configuration files (e.g: extensions.conf) .
>
> --
> Tzafrir Cohen | tzafrir at jbr.cohens.org.il | VIM is
> http://tzafrir.org.il | | a Mutt's
> tzafrir at cohens.org.il | | best
> ICQ# 16849755 | | friend
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list