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

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

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

спросил 2015-09-16 17:40:54 +0400

Maikl Gravatar Maikl

7 кругов ада, или как подружить asterisk 11 с google voice

Добрый день коллеги!

Решил подключить Google Voice к Asterisk 11, прошел все круги Ада, пока наконец то получил такое сообщение:

xmpp show connections

Jabber Users and their status:

[google] мойлогин@gmail.com - Connected

Number of clients: 1

радостно потирая руки попробовал позвонить в Ночную Пиццу (работают в Лас Вегасе 24 часа) и.....

      == Using SIP RTP CoS mark 5
    -- Executing [17028739333@internal:1] Dial("SIP/100-00000002", "Motif/google/17028739333@voice.google.com,,r") in new stack
    -- Called Motif/google/17028739333@voice.google.com
[Sep 16 13:28:36] ERROR[13105][C-00000002]: chan_motif.c:821 jingle_add_google_candidates_to_transport: Unable to add Google ICE candidates as ICE support not available or no candidates available
    -- Motif/17028739333@voice.google.com-62b8 is proceeding passing it to SIP/100-00000002
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Auto fallthrough, channel 'SIP/100-00000002' status is 'CHANUNAVAIL'

протираю глаза, лезу в rtp.conf

вижу что ICESUPPORT включил

[general]

icesupport=yes

rtpstart=10000

rtpend=20000

лезу в оригинал rtp.conf и вижу что там указан icesupport=true вместо icesupport=yes меняю в rtp.conf на icesupport=true делаю полный рестарт астериска (на всяк пожарный) и нихрена не работает ругается что

Unable to add Google ICE candidates as ICE support not available or no candidates available

что делать?

7 кругов ада, или как подружить asterisk 11 с google voice

Добрый день коллеги!

Решил подключить Google Voice к Asterisk 11, прошел все круги Ада, пока наконец то получил такое сообщение:

xmpp show connections

Jabber Users and their status:

[google] мойлогин@gmail.com - Connected

Number of clients: 1

радостно потирая руки попробовал позвонить в Ночную Пиццу (работают в Лас Вегасе 24 часа) и.....

      == Using SIP RTP CoS mark 5
    -- Executing [17028739333@internal:1] Dial("SIP/100-00000002", "Motif/google/17028739333@voice.google.com,,r") in new stack
    -- Called Motif/google/17028739333@voice.google.com
[Sep 16 13:28:36] ERROR[13105][C-00000002]: chan_motif.c:821 jingle_add_google_candidates_to_transport: jingle_add_google_candidates_to_transport:

Unable to add Google ICE candidates as ICE support not available or no candidates available -- Motif/17028739333@voice.google.com-62b8 is proceeding passing it to SIP/100-00000002 == Everyone is busy/congested at this time (1:0/0/1) -- Auto fallthrough, channel 'SIP/100-00000002' status is 'CHANUNAVAIL' 'CHANUNAVAIL'

протираю глаза, лезу в rtp.conf

вижу что ICESUPPORT включил

[general]

icesupport=yes

rtpstart=10000

rtpend=20000

лезу в оригинал rtp.conf и вижу что там указан icesupport=true вместо icesupport=yes меняю в rtp.conf на icesupport=true делаю полный рестарт астериска (на всяк пожарный) и нихрена не работает ругается что

Unable to add Google ICE candidates as ICE support not available or no candidates available

что делать?

7 кругов ада, или как подружить asterisk 11 с google voice

Добрый день коллеги!

Решил подключить Google Voice к Asterisk 11, прошел все круги Ада, пока наконец то получил такое сообщение:

 xmpp show connections

Jabber Users and their status:

status: [google] мойлогин@gmail.com - Connected

Connected

Number of clients: 1

радостно потирая руки попробовал позвонить в Ночную Пиццу (работают в Лас Вегасе 24 часа) и.....

       == Using SIP RTP CoS mark 5
     -- Executing [17028739333@internal:1] Dial("SIP/100-00000002", "Motif/google/17028739333@voice.google.com,,r") in new stack
     -- Called Motif/google/17028739333@voice.google.com
 [Sep 16 13:28:36] ERROR[13105][C-00000002]: chan_motif.c:821 jingle_add_google_candidates_to_transport:

jingle_add_google_candidates_to_transport: Unable to add Google ICE candidates as ICE support not available or no candidates available -- Motif/17028739333@voice.google.com-62b8 is proceeding passing it to SIP/100-00000002 == Everyone is busy/congested at this time (1:0/0/1) -- Auto fallthrough, channel 'SIP/100-00000002' status is 'CHANUNAVAIL'

'CHANUNAVAIL'

протираю глаза, лезу в rtp.conf

вижу что ICESUPPORT включил

[general]
icesupport=yes
rtpstart=10000
rtpend=20000

icesupport=yes

rtpstart=10000

rtpend=20000

лезу в оригинал rtp.conf и вижу что там указан icesupport=true вместо icesupport=yes меняю в rtp.conf на icesupport=true делаю полный рестарт астериска (на всяк пожарный) и нихрена не работает ругается что

Unable to add Google ICE candidates as ICE support not available or no candidates available

available

что делать?

7 кругов ада, или как подружить asterisk 11 с google voicevoice [решено]

Добрый день коллеги!

Решил подключить Google Voice к Asterisk 11, прошел все круги Ада, пока наконец то получил такое сообщение:

 xmpp show connections

Jabber Users and their status:
       [google] мойлогин@gmail.com     - Connected

Number of clients: 1

радостно потирая руки попробовал позвонить в Ночную Пиццу (работают в Лас Вегасе 24 часа) и.....

          == Using SIP RTP CoS mark 5
        -- Executing [17028739333@internal:1] Dial("SIP/100-00000002", "Motif/google/17028739333@voice.google.com,,r") in new stack
        -- Called Motif/google/17028739333@voice.google.com
    [Sep 16 13:28:36] ERROR[13105][C-00000002]: chan_motif.c:821 jingle_add_google_candidates_to_transport: 

Unable to add Google ICE candidates as ICE support not available or no candidates available
        -- Motif/17028739333@voice.google.com-62b8 is proceeding passing it to SIP/100-00000002
      == Everyone is busy/congested at this time (1:0/0/1)
        -- Auto fallthrough, channel 'SIP/100-00000002' status is 'CHANUNAVAIL'

протираю глаза, лезу в rtp.conf

вижу что ICESUPPORT включил

[general]
icesupport=yes
rtpstart=10000
rtpend=20000

лезу в оригинал rtp.conf и вижу что там указан icesupport=true вместо icesupport=yes меняю в rtp.conf на icesupport=true делаю полный рестарт астериска (на всяк пожарный) и нихрена не работает ругается что

Unable to add Google ICE candidates as ICE support not available or no candidates available

что делать?


решение простое, пересобрать asterisk 11 предварительно установив пакет uuid-dev он нужен для ICE, установка по этому мануалу https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google информация про uuid-dev взята отсюда https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support а именно строчка "When building Asterisk 11, to get ICE support you'll need the UUID development library (uuid-dev for Debian, libuuid-devel for CentOS) library. If you don't have ICE support, then you'll likely run into audio issues in several scenarios, specifically when attempting to traverse NAT, as WebRTC uses ICE,STUN,TURN to do this." всем спасибо за помощь, и участие!

7 кругов ада, или как подружить asterisk 11 с google voice [решено]

Добрый день коллеги!

Решил подключить Google Voice к Asterisk 11, прошел все круги Ада, пока наконец то получил такое сообщение:

 xmpp show connections

Jabber Users and their status:
       [google] мойлогин@gmail.com     - Connected

Number of clients: 1

радостно потирая руки попробовал позвонить в Ночную Пиццу (работают в Лас Вегасе 24 часа) и.....

          == Using SIP RTP CoS mark 5
        -- Executing [17028739333@internal:1] Dial("SIP/100-00000002", "Motif/google/17028739333@voice.google.com,,r") in new stack
        -- Called Motif/google/17028739333@voice.google.com
    [Sep 16 13:28:36] ERROR[13105][C-00000002]: chan_motif.c:821 jingle_add_google_candidates_to_transport: 

Unable to add Google ICE candidates as ICE support not available or no candidates available
        -- Motif/17028739333@voice.google.com-62b8 is proceeding passing it to SIP/100-00000002
      == Everyone is busy/congested at this time (1:0/0/1)
        -- Auto fallthrough, channel 'SIP/100-00000002' status is 'CHANUNAVAIL'

протираю глаза, лезу в rtp.conf

вижу что ICESUPPORT включил

[general]
icesupport=yes
rtpstart=10000
rtpend=20000

лезу в оригинал rtp.conf и вижу что там указан icesupport=true вместо icesupport=yes меняю в rtp.conf на icesupport=true делаю полный рестарт астериска (на всяк пожарный) и нихрена не работает ругается что

Unable to add Google ICE candidates as ICE support not available or no candidates available

что делать?


решение простое, пересобрать asterisk 11 предварительно установив пакет пакет uuid-dev он нужен для ICE, установка по этому мануалу мануалу https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google информация про uuid-dev взята отсюда отсюда https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support а именно строчка "When building Asterisk 11, to get ICE support you'll you'll need the UUID development library (uuid-dev for Debian, libuuid-devel libuuid-devel for CentOS) library. If you don't have ICE support, then you'll likely run run into audio issues in several scenarios, specifically when when attempting to traverse NAT, as WebRTC uses ICE,STUN,TURN to do this." this."

не забываем сделать module load chan_motif.so

всем спасибо за помощь, и участие!

7 кругов ада, или как подружить asterisk 11 с google voice [решено]

Добрый день коллеги!

Решил подключить Google Voice к Asterisk 11, прошел все круги Ада, пока наконец то получил такое сообщение:

 xmpp show connections

Jabber Users and their status:
       [google] мойлогин@gmail.com     - Connected

Number of clients: 1

радостно потирая руки попробовал позвонить в Ночную Пиццу (работают в Лас Вегасе 24 часа) и.....

          == Using SIP RTP CoS mark 5
        -- Executing [17028739333@internal:1] Dial("SIP/100-00000002", "Motif/google/17028739333@voice.google.com,,r") in new stack
        -- Called Motif/google/17028739333@voice.google.com
    [Sep 16 13:28:36] ERROR[13105][C-00000002]: chan_motif.c:821 jingle_add_google_candidates_to_transport: 

Unable to add Google ICE candidates as ICE support not available or no candidates available
        -- Motif/17028739333@voice.google.com-62b8 is proceeding passing it to SIP/100-00000002
      == Everyone is busy/congested at this time (1:0/0/1)
        -- Auto fallthrough, channel 'SIP/100-00000002' status is 'CHANUNAVAIL'

протираю глаза, лезу в rtp.conf

вижу что ICESUPPORT включил

[general]
icesupport=yes
rtpstart=10000
rtpend=20000

лезу в оригинал rtp.conf и вижу что там указан icesupport=true вместо icesupport=yes меняю в rtp.conf на icesupport=true делаю полный рестарт астериска (на всяк пожарный) и нихрена не работает ругается что

Unable to add Google ICE candidates as ICE support not available or no candidates available

что делать?


решение простое, пересобрать asterisk 11 предварительно установив пакет uuid-dev он нужен для ICE, установка по этому мануалу https://wiki.asterisk.org/wiki/display/AST/Calling+using+Google информация про uuid-dev взята отсюда https://wiki.asterisk.org/wiki/display/AST/Asterisk+WebRTC+Support а именно строчка "When building Asterisk 11, to get ICE support you'll need the UUID development library (uuid-dev for Debian, libuuid-devel for CentOS) library. If you don't have ICE support, then you'll likely run into audio issues in several scenarios, specifically when attempting to traverse NAT, as WebRTC uses ICE,STUN,TURN to do this."

не забываем сделать module load chan_motif.so

всем спасибо за помощь, и участие!

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