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

  • *
  • 403
  • +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,839
  • +2/-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,839
  • +2/-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

  • *
  • 403
  • +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.

Offline ldkeen

  • *
  • 403
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #15 on: August 25, 2010, 07:51:43 AM »
You've posted the output of *60*5000 which is the recording of the message. I was after *61*5000 which is playback.
Lloyd

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #16 on: August 25, 2010, 07:53:56 AM »
Sorry. I didn't read what you posted correctly. Work is hecktic today

Code: [Select]
sail*CLI>
    -- Executing [*61*5000@internal:1] AGI("SIP/401-0a099d50", "selintra|*61*5000") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Wait) Options: (1)
    -- AGI Script Executing Application: (Playback) Options: (invalid)
    -- <SIP/401-0a099d50> Playing 'invalid' (language 'en')
    -- AGI Script selintra completed, returning 0
  == Auto fallthrough, channel 'SIP/401-0a099d50' status is 'UNKNOWN'
    -- Executing [h@internal:1] Hangup("SIP/401-0a099d50", "") in new stack
  == Spawn extension (internal, h, 1) exited non-zero on 'SIP/401-0a099d50'
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

  • *
  • 403
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #17 on: August 25, 2010, 08:05:52 AM »
Can you do an "updatedb" followed by:
Code: [Select]
locate usergreeting

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #18 on: August 25, 2010, 08:07:31 AM »
Code: [Select]
[root@sail ~]
[root@sail ~]# locate usergreeting
warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
warning: You need to run the 'updatedb' command (as root) to create the database.
Please have a look at /etc/updatedb.conf to enable the daily cron job.
[root@sail ~]# updatedb
[root@sail ~]# locate usergreeting
/var/lib/asterisk/sounds/usergreetingtemp.gsm
/var/lib/asterisk/sounds/usergreetingdummy
[root@sail ~]#
« Last Edit: August 25, 2010, 08:09:19 AM by teviot »
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

  • *
  • 403
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #19 on: August 25, 2010, 09:14:28 AM »
Hmm I'm running out of ideas, here's what I have after recording greeting 6000:
Code: [Select]
[root@server ~]# locate usergreeting
/usr/share/asterisk/sounds/usergreeting6000.gsm
/var/lib/asterisk/sounds/usergreetingdummy

The only thing I can think of is to change /etc/asterisk/asterisk.conf:
from
astdatadir => /var/lib/asterisk
to
astdatadir => /usr/share/asterisk
restart asterisk and test. Why don't you bite the bullet and move to Dahdi and asterisk14. I can't see any problems there :lol:
Regards, Lloyd



Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #20 on: August 25, 2010, 09:20:49 AM »
Made the change ... I noticed that the /usr/share/asterisk dir doesn't exsist. 

Should the system make create this dir or should I create it?

also
Code: [Select]
sail*CLI>
    -- Executing [*60*5000@internal:1] AGI("SIP/401-08f3c4f8", "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)
[Aug 25 17:23:25] WARNING[32063]: file.c:602 ast_openstream_full: File agent-pass does not exist in any format
[Aug 25 17:23:25] WARNING[32063]: file.c:912 ast_streamfile: Unable to open agent-pass (format 0x100 (g729)): No such file or directory
[Aug 25 17:23:25] WARNING[32063]: file.c:602 ast_openstream_full: File vm-goodbye does not exist in any format
[Aug 25 17:23:25] WARNING[32063]: file.c:912 ast_streamfile: Unable to open vm-goodbye (format 0x100 (g729)): No such file or directory
    -- AGI Script selintra completed, returning 0
  == Auto fallthrough, channel 'SIP/401-08f3c4f8' status is 'UNKNOWN'
    -- Executing [h@internal:1] Hangup("SIP/401-08f3c4f8", "") in new stack
  == Spawn extension (internal, h, 1) exited non-zero on 'SIP/401-08f3c4f8'
sail*CLI>

Is this because there are no files to play in the G729 format? The global setting are set to thurput.

I can however make call in the g729 format
« Last Edit: August 25, 2010, 09:27:11 AM by teviot »
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

  • *
  • 403
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #21 on: August 25, 2010, 09:28:08 AM »
I think asterisk should create the directory if it requires it. If it's not there then asterisk probably doesn't need it. Check permissions on /var/lib/asterisk:
Code: [Select]
[root@server ~]# ls -la /var/lib/asterisk/
total 84
drwxr-xr-x  5 root root  4096 Aug  9 03:43 .
drwxr-xr-x 32 root root  4096 Aug  9 03:43 ..
drwxr-xr-x  2 root root  4096 Aug 25 14:05 agi-bin
-rw-r--r--  1 root root  8192 Aug 25 17:22 astdb
drwxr-xr-x  2 root root  4096 Nov 10  2009 licenses
drwxr-xr-x  3 root root 57344 Aug 25 14:05 sounds

Try recording another greeting and watch what happens in /var/lib/asterisk directory. Check messages:

Code: [Select]
tail -n 100 /var/log/asterisk/messages

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #22 on: August 25, 2010, 09:32:31 AM »
Code: [Select]
[root@sail ~]# ls -la /var/lib/asterisk/
total 56
drwxr-xr-x  10 root     root      4096 Aug 25 13:24 .
drwxr-xr-x  23 root     root      4096 Aug 24 20:47 ..
drwxr-xr-x   2 root     root      4096 Aug 23 22:39 agi-bin
-rw-r--r--   1 root     root      8192 Aug 25 17:29 astdb
drwxr-xr-x   3 asterisk asterisk  4096 Aug 23 22:13 firmware
drwxr-xr-x   2 asterisk asterisk  4096 Aug 23 22:13 images
drwxr-xr-x   2 asterisk asterisk  4096 Aug 23 22:13 keys
drwxr-xr-x   2 root     root      4096 Aug 25 13:24 licenses
drwxr-xr-x   2 asterisk asterisk  4096 Aug 23 22:13 moh
drwxr-xr-x  14 root     root     12288 Aug 24 01:24 sounds
drwxr-xr-x   2 asterisk asterisk  4096 Aug 23 22:13 static-http
[root@sail ~]#

Code: [Select]
[Aug 25 17:32:09] WARNING[32594] file.c: File agent-pass does not exist in any format
[Aug 25 17:32:09] WARNING[32594] file.c: Unable to open agent-pass (format 0x100 (g729)): No such file or directory
[Aug 25 17:32:09] WARNING[32594] file.c: File vm-goodbye does not exist in any format
[Aug 25 17:32:09] WARNING[32594] file.c: Unable to open vm-goodbye (format 0x100 (g729)): No such file or directory
[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 SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #23 on: August 25, 2010, 11:41:13 AM »
I've just tested this using sail-2.2.4-47/asterisk-1.4.21 on the reference VM here and it works fine. Both record and playback work as advertised.

Kind Regards

S







 

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #24 on: August 25, 2010, 11:48:52 AM »
I've just tested this using sail-2.2.4-47/asterisk-1.4.21 on the reference VM here and it works fine. Both record and playback work as advertised.

Kind Regards

S

I'm using sail-2.2.4-49.  Would that make a difference???
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 SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #25 on: August 25, 2010, 11:56:32 AM »
regress to -47 and we will put it on the list as a possible bug.

Kind REgards

S

Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #26 on: August 25, 2010, 12:07:15 PM »
gone back to -47 and still get the same result

Code: [Select]
sail*CLI>
    -- Got SIP response 400 "Bad Request" back from 192.168.76.43
    -- Executing [*60*5000@internal:1] AGI("SIP/401-090140d8", "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)
[Aug 25 20:06:36] WARNING[9725]: file.c:602 ast_openstream_full: File agent-pass does not exist in any format
[Aug 25 20:06:36] WARNING[9725]: file.c:912 ast_streamfile: Unable to open agent-pass (format 0x100 (g729)): No such file or directory
[Aug 25 20:06:36] WARNING[9725]: file.c:602 ast_openstream_full: File vm-goodbye does not exist in any format
[Aug 25 20:06:36] WARNING[9725]: file.c:912 ast_streamfile: Unable to open vm-goodbye (format 0x100 (g729)): No such file or directory
    -- AGI Script selintra completed, returning 0
  == Auto fallthrough, channel 'SIP/401-090140d8' status is 'UNKNOWN'
    -- Executing [h@internal:1] Hangup("SIP/401-090140d8", "") in new stack
  == Spawn extension (internal, h, 1) exited non-zero on 'SIP/401-090140d8'

I'm no expert but I am thinking it's a codec problem (I think)
« Last Edit: August 25, 2010, 12:09:48 PM by teviot »
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 #27 on: August 25, 2010, 12:10:41 PM »
It looking like it might be a little more wide spread than first thought.  I can't get into voicemail either.

Code: [Select]
sail*CLI>
    -- Executing [*50*@internal:1] AGI("SIP/401-08f653c8", "selintra|*50*") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/selintra
    -- AGI Script Executing Application: (Wait) Options: (1)
    -- AGI Script Executing Application: (VoiceMailMain) Options: (321)
[Aug 25 20:25:27] WARNING[10970]: file.c:602 ast_openstream_full: File vm-password does not exist in any format
[Aug 25 20:25:27] WARNING[10970]: file.c:912 ast_streamfile: Unable to open vm-password (format 0x100 (g729)): No such file or directory
[Aug 25 20:25:27] WARNING[10970]: app_voicemail.c:6399 vm_authenticate: Unable to stream password file
    -- AGI Script selintra completed, returning 0
  == Auto fallthrough, channel 'SIP/401-08f653c8' status is 'UNKNOWN'
    -- Executing [h@internal:1] Hangup("SIP/401-08f653c8", "") in new stack
  == Spawn extension (internal, h, 1) exited non-zero on 'SIP/401-08f653c8'
« Last Edit: August 25, 2010, 12:25:47 PM by teviot »
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 SARK devs

  • ****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #28 on: August 25, 2010, 12:28:19 PM »
I can only repeat that it works at 2.2.4-47/asterisk 1.4.21 on our reference system here.  There is clearly something incorrect with your Asterisk setup, the sound files agent-pass and vm-goodbye are missing.  Why your phone has negotiated a G729 only session I don't know.  These are asterisk issues not sail issues.  Try running with G711 and install the missing sound files.

Kind REgards

S


Offline Teviot

  • *
  • 610
  • +0/-0
Re: Problems with recording the GREETINGS on sail-2.2.4-49
« Reply #29 on: August 25, 2010, 12:33:07 PM »
where would I look to see which files are missing and where would I get the missing files to install?

Set all internal phone to ulaw or alaw.

Please be patient... I'm and advanced beginner
« Last Edit: August 26, 2010, 06:48:38 PM by teviot »
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 #30 on: August 26, 2010, 06:54:39 PM »
S

Have done a complete rebuild from the ground up.  Formatted the HD and reinstalled SME / SAIL/PBX from the ISO "sark-sme-7.4-2.2.1-701.iso"

Upgraded sail to version "sail-2.2.4-44" and let yum installlocal install anything else that it needed.

The problem with the recording of greetings still remains. Below is the console that shows what happens when attempting to record a greeting.

Code: [Select]
saint*CLI>
    -- Executing [*60*5000@internal:1] AGI("SIP/401-083665f8", "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-083665f8> Playing 'agent-pass' (language 'en')
    -- <SIP/401-083665f8> Playing 'auth-thankyou' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (pm-announcement-number)
    -- <SIP/401-083665f8> Playing 'pm-announcement-number' (language 'en')
    -- AGI Script Executing Application: (SayDigits) Options: (5000)
    -- <SIP/401-083665f8> Playing 'digits/5' (language 'en')
    -- <SIP/401-083665f8> Playing 'digits/0' (language 'en')
    -- <SIP/401-083665f8> Playing 'digits/0' (language 'en')
    -- <SIP/401-083665f8> Playing 'digits/0' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (is-now-being-recorded)
    -- <SIP/401-083665f8> Playing 'is-now-being-recorded' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (press-pound-save-changes)
    -- <SIP/401-083665f8> Playing 'press-pound-save-changes' (language 'en')
    -- <SIP/401-083665f8> 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-083665f8> Playing 'your-msg-has-been-saved' (language 'en')
    -- AGI Script Executing Application: (Playback) Options: (goodbye)
    -- <SIP/401-083665f8> Playing 'goodbye' (language 'en')
    -- AGI Script selintra completed, returning 0
  == Auto fallthrough, channel 'SIP/401-083665f8' status is 'UNKNOWN'
    -- Executing [h@internal:1] Hangup("SIP/401-083665f8", "") in new stack
  == Spawn extension (internal, h, 1) exited non-zero on 'SIP/401-083665f8'
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-44
« Reply #31 on: August 28, 2010, 09:00:08 AM »
Changed the subject slightly due to a recommendation by S to use an eariler version of 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 #33 on: August 28, 2010, 07:43:08 PM »
http://forums.contribs.org/index.php/topic,46472.0.html

S

After reading your post carefully for the second time, the greetings are now appearing in the greeting tab.  Looked for version 2.2.4-50 but it was not available at the time I looked.

Thanks for your help and keep up the good work
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.