Koozali.org: home of the SME Server

Problems with recording the GREETINGS on sail-2.2.4-49

Offline Teviot

  • *
  • 610
  • +0/-0
Problems with recording the GREETINGS on sail-2.2.4-49
« on: August 16, 2010, 09:38:06 AM »
Hi

Have done a little searching about this and come up with nothing.  I'm trying to record a greeting for the IVR but have been unsuccessful in getting the system to record the greeting using the specified number.

Code: [Select]
sail*CLI>
    -- Executing [*60*5000@internal:1] AGI("SIP/403-08bcb310", "selintra|*60*5000") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Wait) Options: (1)
    -- AGI Script Executing Application: (Authenticate) Options: (9956)
    -- <SIP/403-08bcb310> Playing 'agent-pass' (language 'en')
    -- <SIP/403-08bcb310> Playing 'auth-thankyou' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (pm-announcement-number)
    -- <SIP/403-08bcb310> Playing 'pm-announcement-number' (language 'en')
    -- AGI Script Executing Application: (SayDigits) Options: (5000)
    -- <SIP/403-08bcb310> Playing 'digits/5' (language 'en')
    -- <SIP/403-08bcb310> Playing 'digits/0' (language 'en')
    -- <SIP/403-08bcb310> Playing 'digits/0' (language 'en')
    -- <SIP/403-08bcb310> Playing 'digits/0' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (is-now-being-recorded)
    -- <SIP/403-08bcb310> Playing 'is-now-being-recorded' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (press-pound-save-changes)
    -- <SIP/403-08bcb310> Playing 'press-pound-save-changes' (language 'en')
    -- <SIP/403-08bcb310> Playing 'beep' (language 'en')
    -- Playing 'usergreetingtemp' (escape_digits=) (sample_offset 0)
    -- Playing 'save-announce-press' (escape_digits=123) (sample_offset 0)
    -- AGI Script Executing Application: (Playback) Options: (your-msg-has-been-saved)
    -- <SIP/403-08bcb310> Playing 'your-msg-has-been-saved' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (goodbye)
    -- <SIP/403-08bcb310> Playing 'goodbye' (language 'en')
    -- AGI Script selintra completed, returning 0
  == Auto fallthrough, channel 'SIP/403-08bcb310' status is 'UNKNOWN'
    -- Executing [h@internal:1] Hangup("SIP/403-08bcb310", "") in new stack
  == Spawn extension (internal, h, 1) exited non-zero on 'SIP/403-08bcb310'
    -- Got SIP response 400 "Bad Request" back from 192.168.76.45
sail*CLI>

Can anyone help me sort this out?

I have located "usergreetingtemp.gsm" in the /var/lib/asterisk/sounds directory which is the recording of the announcement I recorded.  BUT, it doesn't show up in the grettings tab nor am I able to see it to be able to select it in the IVR menu creation tab.

Please help me?  This is an urgent problem needing a quick and successful fix
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline ldkeen

  • *
  • 405
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #1 on: August 16, 2010, 10:28:15 PM »
Is there anything in /usr/share/asterisk/sounds ??
Lloyd

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #2 on: August 17, 2010, 03:05:58 AM »

I have located "usergreetingtemp.gsm" in the directory which is the recording of the announcement I recorded.  BUT, it doesn't show up in the greetings tab nor am I able to see it to be able to select it in the IVR menu creation tab.

Is there anything in /usr/share/asterisk/sounds ??
Lloyd

The /usr/share/asterisk directory does not exist.  Should I manually create /usr/share/asterisk/sounds and what permissions should I set for it ?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #3 on: August 18, 2010, 11:41:32 AM »
In intrim while waiting for assistance, I have created the dir's /usr/share/asterisk/sounds .

This made no difference to the greetings

I really need help now!!!
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #4 on: August 22, 2010, 03:58:04 PM »
Anyone!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #5 on: August 22, 2010, 06:40:38 PM »
as it seems to me a Asterisk related problem, did you search with google elsewhere?

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #6 on: August 22, 2010, 06:59:12 PM »
as it seems to me a Asterisk related problem, did you search with google elsewhere?

Unfortunately I don't know enought about SAIL or ASTERISK to know where or what to look at.  Any help sorting the problem would be great
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #7 on: August 22, 2010, 07:05:14 PM »
Unfortunately I don't know enought about SAIL or ASTERISK to know where or what to look at.  Any help sorting the problem would be great

well, something like "asterisk greetings recording issue centos" could be a good start ;-)

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #8 on: August 22, 2010, 07:18:53 PM »
thank you

Will give that a go
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #9 on: August 23, 2010, 05:46:50 PM »
I'm still having trouble sorting this problem.  Any Idea people?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #10 on: August 24, 2010, 01:13:09 AM »
-what is asterisk version? check the forum for asterisk version and sail version
-where are other greetings stored?
-if you had to create /usr/share/asterisk/sounds, it's bad. look in /etc/asterisk/asterisk.conf for locations
-search for usergreetingdummy (find / -name usergreetingdummy) to see if folders match

goog luck...
Sophie from Montréal

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #11 on: August 24, 2010, 12:26:42 PM »
-what is asterisk version? check the forum for asterisk version and sail version
Asterisk 1.4.21.1 with sail-2.2.4-49

Quote
-where are other greetings stored?
-if you had to create /usr/share/asterisk/sounds,
The directory doesn't exsist ... Should I create it?

Quote
look in /etc/asterisk/asterisk.conf for locations
Found the following
Quote
[directories]
astetcdir => /etc/asterisk
astmoddir => /usr/lib/asterisk/modules
astvarlibdir => /var/lib/asterisk
astdatadir => /var/lib/asterisk
astagidir => /var/lib/asterisk/agi-bin
astspooldir => /var/spool/asterisk
astrundir => /var/run/asterisk
astlogdir => /var/log/asterisk

Quote
-search for usergreetingdummy (find / -name usergreetingdummy) to see if folders match
Found the following
Quote
[root@sail ~]# find / -name usergreetingdummy
/var/lib/asterisk/sounds/usergreetingdummy
[root@sail ~]#
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #12 on: August 25, 2010, 07:17:51 AM »
I have purchased a licenced copy of then codec G729 from digium.  The purchase and install made no change to the problem outlined above
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline ldkeen

  • *
  • 405
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #13 on: August 25, 2010, 07:43:42 AM »
What is the range of your handsets ie 2000 - 2005
Could you post the output of *61*5000

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #14 on: August 25, 2010, 07:47:06 AM »
What is the range of your handsets ie 2000 - 2005
Could you post the output of *61*5000

Extension are 400-406 currently being used.  The ext used for this attempted recording was ext401

Code: [Select]
sail*CLI>
    -- Executing [*60*5000@internal:1] AGI("SIP/401-0a08a940", "selintra|*60*5000") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Wait) Options: (1)
    -- AGI Script Executing Application: (Authenticate) Options: (9956)
    -- <SIP/401-0a08a940> Playing 'agent-pass' (language 'en')
    -- <SIP/401-0a08a940> Playing 'auth-thankyou' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (pm-announcement-number)
    -- <SIP/401-0a08a940> Playing 'pm-announcement-number' (language 'en')
    -- AGI Script Executing Application: (SayDigits) Options: (5000)
    -- <SIP/401-0a08a940> Playing 'digits/5' (language 'en')
    -- <SIP/401-0a08a940> Playing 'digits/0' (language 'en')
    -- <SIP/401-0a08a940> Playing 'digits/0' (language 'en')
    -- <SIP/401-0a08a940> Playing 'digits/0' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (is-now-being-recorded)
    -- <SIP/401-0a08a940> Playing 'is-now-being-recorded' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (press-pound-save-changes)
    -- <SIP/401-0a08a940> Playing 'press-pound-save-changes' (language 'en')
    -- <SIP/401-0a08a940> Playing 'beep' (language 'en')
    -- Playing 'usergreetingtemp' (escape_digits=) (sample_offset 0)
    -- Playing 'save-announce-press' (escape_digits=123) (sample_offset 0)
    -- Playing 'digits/1' (escape_digits=123) (sample_offset 0)
    -- Playing 'to-rerecord-announce' (escape_digits=123) (sample_offset 0)
    -- Playing 'digits/2' (escape_digits=123) (sample_offset 0)
    -- Playing 'to-cancel-this-msg' (escape_digits=123) (sample_offset 0)
    -- Playing 'press' (escape_digits=123) (sample_offset 0)
    -- Playing 'digits/3' (escape_digits=123) (sample_offset 0)
    -- Playing 'silence/5' (escape_digits=123) (sample_offset 0)
    -- AGI Script Executing Application: (Playback) Options: (your-msg-has-been-saved)
    -- <SIP/401-0a08a940> Playing 'your-msg-has-been-saved' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (goodbye)
    -- <SIP/401-0a08a940> Playing 'goodbye' (language 'en')
    -- AGI Script selintra completed, returning 0
  == Auto fallthrough, channel 'SIP/401-0a08a940' status is 'UNKNOWN'
    -- Executing [h@internal:1] Hangup("SIP/401-0a08a940", "") in new stack
  == Spawn extension (internal, h, 1) exited non-zero on 'SIP/401-0a08a940'
sail*CLI>
[root@sail ~]#
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.