Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

История изменений [назад]

нажмите, чтобы скрыть/показать версии 1
изначальная версия
редактировать

спросил 2014-08-08 08:27:22 +0400

lioncub Gravatar lioncub

Не видит звуковые файлы

Ubuntu 14.04, Asterisk 11.11.0, Freepbx 12

Пытаюсь прикрутить новый астер, вместо 1.8, но Asterisk молчит:

[2014-08-08 10:11:31] VERBOSE[27103][C-00000000] file.c: -- <SIP/101-00000000> Playing 'silence/1.gsm' (language 'en')
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: File cannot-complete-as-dialed does not exist in any format
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: Unable to open cannot-complete-as-dialed (format (ulaw)): No such file or directory
[2014-08-08 10:11:32] WARNING[27103][C-00000000] app_playback.c: ast_streamfile failed on SIP/101-00000000 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: File check-number-dial-again does not exist in any format
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: Unable to open check-number-dial-again (format (ulaw)): No such file or directory
[2014-08-08 10:11:32] WARNING[27103][C-00000000] app_playback.c: ast_streamfile failed on SIP/101-00000000 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer

Часть конфига за звуки:

$ cat asterisk.conf
[directories]
astdatadir => /usr/share/asterisk
[options]
languageprefix = yes
defaultlanguage = en
documentation_language = en_US

Хотя:

$ ls -l /usr/share/asterisk/sounds/en/silence/1.gsm 
-rw-r--r-- 1 root root 1650 Oct  5  2011 /usr/share/asterisk/sounds/en/silence/1.gsm

Что еще проверить? Почему не воспроизводит?

Не видит звуковые файлы

Ubuntu 14.04, Asterisk 11.11.0, Freepbx 12

Пытаюсь прикрутить новый астер, вместо 1.8, но Asterisk молчит:

[2014-08-08 10:11:31] VERBOSE[27103][C-00000000] file.c: -- <SIP/101-00000000> Playing 'silence/1.gsm' (language 'en')
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: File cannot-complete-as-dialed does not exist in any format
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: Unable to open cannot-complete-as-dialed (format (ulaw)): No such file or directory
[2014-08-08 10:11:32] WARNING[27103][C-00000000] app_playback.c: ast_streamfile failed on SIP/101-00000000 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: File check-number-dial-again does not exist in any format
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: Unable to open check-number-dial-again (format (ulaw)): No such file or directory
[2014-08-08 10:11:32] WARNING[27103][C-00000000] app_playback.c: ast_streamfile failed on SIP/101-00000000 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer

Часть конфига за звуки:

$ cat asterisk.conf
[directories]
astdatadir => /usr/share/asterisk
[options]
languageprefix = yes
defaultlanguage = en
documentation_language = en_US

Хотя:

$ ls -l /usr/share/asterisk/sounds/en/silence/1.gsm 
-rw-r--r-- 1 root root 1650 Oct  5  2011 /usr/share/asterisk/sounds/en/silence/1.gsm

Что еще проверить? Почему не воспроизводит?

p.s. Сам звонок:

# asterisk -rx "core show channel SIP/101-00000005"
 -- General --
           Name: SIP/101-00000005
           Type: SIP
       UniqueID: 1407473139.5
       LinkedID: 1407473139.5
      Caller ID: 101
 Caller ID Name: 101
Connected Line ID: (N/A)
Connected Line ID Name: (N/A)
Eff. Connected Line ID: (N/A)
Eff. Connected Line ID Name: (N/A)
    DNID Digits: 103
       Language: en
          State: Ring (4)
          Rings: 0
  NativeFormats: (ulaw)
    WriteFormat: gsm
     ReadFormat: ulaw
 WriteTranscode: Yes (gsm)->(slin)->(ulaw)
  ReadTranscode: No 
1st File Descriptor: 27
      Frames in: 80
     Frames out: 31
 Time to Hangup: 0
   Elapsed Time: 0h0m2s
  Direct Bridge: <none>
Indirect Bridge: <none>
 --   PBX   --
        Context: from-internal
      Extension: 103
       Priority: 6
     Call Group: 0
   Pickup Group: 0
    Application: Playback
           Data: silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
    Blocking in: ast_waitfor_nandfds
 Call Identifer: [C-00000004]

Не видит звуковые файлы

Ubuntu 14.04, Asterisk 11.11.0, Freepbx 12

Пытаюсь прикрутить новый астер, вместо 1.8, но Asterisk молчит:

[2014-08-08 10:11:31] VERBOSE[27103][C-00000000] file.c: -- <SIP/101-00000000> Playing 'silence/1.gsm' (language 'en')
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: File cannot-complete-as-dialed does not exist in any format
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: Unable to open cannot-complete-as-dialed (format (ulaw)): No such file or directory
[2014-08-08 10:11:32] WARNING[27103][C-00000000] app_playback.c: ast_streamfile failed on SIP/101-00000000 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: File check-number-dial-again does not exist in any format
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: Unable to open check-number-dial-again (format (ulaw)): No such file or directory
[2014-08-08 10:11:32] WARNING[27103][C-00000000] app_playback.c: ast_streamfile failed on SIP/101-00000000 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer

Часть конфига за звуки:

$ cat asterisk.conf
[directories]
astdatadir => /usr/share/asterisk
[options]
languageprefix = yes
defaultlanguage = en
documentation_language = en_US

Хотя:

$ ls -l /usr/share/asterisk/sounds/en/silence/1.gsm 
-rw-r--r-- 1 root root 1650 Oct  5  2011 /usr/share/asterisk/sounds/en/silence/1.gsm

Что еще проверить? Почему не воспроизводит?

p.s. Сам звонок:

# asterisk -rx "core show channel SIP/101-00000005"
 -- General --
           Name: SIP/101-00000005
           Type: SIP
       UniqueID: 1407473139.5
       LinkedID: 1407473139.5
      Caller ID: 101
 Caller ID Name: 101
Connected Line ID: (N/A)
Connected Line ID Name: (N/A)
Eff. Connected Line ID: (N/A)
Eff. Connected Line ID Name: (N/A)
    DNID Digits: 103
       Language: en
          State: Ring (4)
          Rings: 0
  NativeFormats: (ulaw)
    WriteFormat: gsm
     ReadFormat: ulaw
 WriteTranscode: Yes (gsm)->(slin)->(ulaw)
  ReadTranscode: No 
1st File Descriptor: 27
      Frames in: 80
     Frames out: 31
 Time to Hangup: 0
   Elapsed Time: 0h0m2s
  Direct Bridge: <none>
Indirect Bridge: <none>
 --   PBX   --
        Context: from-internal
      Extension: 103
       Priority: 6
     Call Group: 0
   Pickup Group: 0
    Application: Playback
           Data: silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
    Blocking in: ast_waitfor_nandfds
 Call Identifer: [C-00000004]
      Variables:
SIPCALLID=idhuuzfapazbtyv@lioncub-ws
SIPDOMAIN=ats.dkb74.loc
SIPURI=sip:101@192.168.10.77

  CDR Variables:
level 1: clid="101" <101>
level 1: src=101
level 1: dst=103
level 1: dcontext=from-internal
level 1: channel=SIP/101-00000005
level 1: lastapp=Playback
level 1: lastdata=silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
level 1: start=2014-08-08 10:45:39
level 1: duration=1
level 1: billsec=0
level 1: disposition=NO ANSWER
level 1: amaflags=DOCUMENTATION
level 1: uniqueid=1407473139.5
level 1: linkedid=1407473139.5
level 1: sequence=5

Не видит звуковые файлы

Ubuntu 14.04, Asterisk 11.11.0, Freepbx 12

Пытаюсь прикрутить новый астер, вместо 1.8, но Asterisk молчит:

[2014-08-08 10:11:31] VERBOSE[27103][C-00000000] file.c: -- <SIP/101-00000000> Playing 'silence/1.gsm' (language 'en')
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: File cannot-complete-as-dialed does not exist in any format
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: Unable to open cannot-complete-as-dialed (format (ulaw)): No such file or directory
[2014-08-08 10:11:32] WARNING[27103][C-00000000] app_playback.c: ast_streamfile failed on SIP/101-00000000 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: File check-number-dial-again does not exist in any format
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: Unable to open check-number-dial-again (format (ulaw)): No such file or directory
[2014-08-08 10:11:32] WARNING[27103][C-00000000] app_playback.c: ast_streamfile failed on SIP/101-00000000 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer

Часть конфига за звуки:

$ cat asterisk.conf
[directories]
astdatadir => /usr/share/asterisk
[options]
languageprefix = yes
defaultlanguage = en
documentation_language = en_US

Хотя:

$ ls -l /usr/share/asterisk/sounds/en/silence/1.gsm 
-rw-r--r-- 1 root root 1650 Oct  5  2011 /usr/share/asterisk/sounds/en/silence/1.gsm

Что еще проверить? Почему не воспроизводит?

p.s. Сам звонок:

# asterisk -rx "core show channel SIP/101-00000005"
 -- General --
           Name: SIP/101-00000005
           Type: SIP
       UniqueID: 1407473139.5
       LinkedID: 1407473139.5
      Caller ID: 101
 Caller ID Name: 101
Connected Line ID: (N/A)
Connected Line ID Name: (N/A)
Eff. Connected Line ID: (N/A)
Eff. Connected Line ID Name: (N/A)
    DNID Digits: 103
       Language: en
          State: Ring (4)
          Rings: 0
  NativeFormats: (ulaw)
    WriteFormat: gsm
     ReadFormat: ulaw
 WriteTranscode: Yes (gsm)->(slin)->(ulaw)
  ReadTranscode: No 
1st File Descriptor: 27
      Frames in: 80
     Frames out: 31
 Time to Hangup: 0
   Elapsed Time: 0h0m2s
  Direct Bridge: <none>
Indirect Bridge: <none>
 --   PBX   --
        Context: from-internal
      Extension: 103
       Priority: 6
     Call Group: 0
   Pickup Group: 0
    Application: Playback
           Data: silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
    Blocking in: ast_waitfor_nandfds
 Call Identifer: [C-00000004]
      Variables:
SIPCALLID=idhuuzfapazbtyv@lioncub-ws
SIPDOMAIN=ats.dkb74.loc
SIPDOMAIN=ats.domain.loc
SIPURI=sip:101@192.168.10.77

  CDR Variables:
level 1: clid="101" <101>
level 1: src=101
level 1: dst=103
level 1: dcontext=from-internal
level 1: channel=SIP/101-00000005
level 1: lastapp=Playback
level 1: lastdata=silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
level 1: start=2014-08-08 10:45:39
level 1: duration=1
level 1: billsec=0
level 1: disposition=NO ANSWER
level 1: amaflags=DOCUMENTATION
level 1: uniqueid=1407473139.5
level 1: linkedid=1407473139.5
level 1: sequence=5

Не видит звуковые файлы

Ubuntu 14.04, Asterisk 11.11.0, Freepbx 12

Пытаюсь прикрутить новый астер, вместо 1.8, но Asterisk молчит:

[2014-08-08 10:11:31] VERBOSE[27103][C-00000000] file.c: -- <SIP/101-00000000> Playing 'silence/1.gsm' (language 'en')
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: File cannot-complete-as-dialed does not exist in any format
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: Unable to open cannot-complete-as-dialed (format (ulaw)): No such file or directory
[2014-08-08 10:11:32] WARNING[27103][C-00000000] app_playback.c: ast_streamfile failed on SIP/101-00000000 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: File check-number-dial-again does not exist in any format
[2014-08-08 10:11:32] WARNING[27103][C-00000000] file.c: Unable to open check-number-dial-again (format (ulaw)): No such file or directory
[2014-08-08 10:11:32] WARNING[27103][C-00000000] app_playback.c: ast_streamfile failed on SIP/101-00000000 for silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer

Часть конфига за звуки:

$ cat asterisk.conf
[directories]
astdatadir => /usr/share/asterisk
[options]
languageprefix = yes
defaultlanguage = en
documentation_language = en_US

Хотя:

$ ls -l /usr/share/asterisk/sounds/en/silence/1.gsm 
-rw-r--r-- 1 root root 1650 Oct  5  2011 /usr/share/asterisk/sounds/en/silence/1.gsm

Что еще проверить? Почему не воспроизводит?

p.s. Сам звонок:

# asterisk -rx "core show channel SIP/101-00000005"
 -- General --
           Name: SIP/101-00000005
           Type: SIP
       UniqueID: 1407473139.5
       LinkedID: 1407473139.5
      Caller ID: 101
 Caller ID Name: 101
Connected Line ID: (N/A)
Connected Line ID Name: (N/A)
Eff. Connected Line ID: (N/A)
Eff. Connected Line ID Name: (N/A)
    DNID Digits: 103
       Language: en
          State: Ring (4)
          Rings: 0
  NativeFormats: (ulaw)
    WriteFormat: gsm
     ReadFormat: ulaw
 WriteTranscode: Yes (gsm)->(slin)->(ulaw)
  ReadTranscode: No 
1st File Descriptor: 27
      Frames in: 80
     Frames out: 31
 Time to Hangup: 0
   Elapsed Time: 0h0m2s
  Direct Bridge: <none>
Indirect Bridge: <none>
 --   PBX   --
        Context: from-internal
      Extension: 103
       Priority: 6
     Call Group: 0
   Pickup Group: 0
    Application: Playback
           Data: silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
    Blocking in: ast_waitfor_nandfds
 Call Identifer: [C-00000004]
      Variables:
SIPCALLID=idhuuzfapazbtyv@lioncub-ws
SIPDOMAIN=ats.domain.loc
SIPURI=sip:101@192.168.10.77

  CDR Variables:
level 1: clid="101" <101>
level 1: src=101
level 1: dst=103
level 1: dcontext=from-internal
level 1: channel=SIP/101-00000005
level 1: lastapp=Playback
level 1: lastdata=silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer
level 1: start=2014-08-08 10:45:39
level 1: duration=1
level 1: billsec=0
level 1: disposition=NO ANSWER
level 1: amaflags=DOCUMENTATION
level 1: uniqueid=1407473139.5
level 1: linkedid=1407473139.5
level 1: sequence=5

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.