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

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

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

спросил 2014-01-10 12:13:09 +0400

Avanege Gravatar Avanege

SIP Транк + Исход.маршрутизация (префикс набора)

Надеюсь на вашу помощь. Elastix-FreePBX

Проблема такая, провайдер WestCall дал настройки SIP (IP, Login, Passwd, кодек) - правила набора 089853637423 (то есть стоит выходной 0 вначале).

Из этого всего я слепил транк: Скриншот1 (Файл на хостинге изображений)

Так же настройки исходящей маршрутизации: Скриншот2 (Файл на хостинге изображений)

При звонке Asterisk пишет лог:

== Using SIP RTP TOS bits 184 == Using SIP RTP CoS mark 5 -- Executing [89263899155@from-internal:1] ResetCDR("SIP/302-00000011", "") in new stack -- Executing [89263899155@from-internal:2] NoCDR("SIP/302-00000011", "") in new stack -- Executing [89263899155@from-internal:3] Progress("SIP/302-00000011", "") in new stack -- Executing [89263899155@from-internal:4] Wait("SIP/302-00000011", "1") in new stack

0x2b485c256210 -- Probation passed - setting RTP source address to 192.168.0.249:18042 -- Executing [89263899155@from-internal:5] Progress("SIP/302-00000011", "") in new stack -- Executing [89263899155@from-internal:6] Playback("SIP/302-00000011", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack -- <sip 302-00000011=""> Playing 'silence/1.slin' (language 'ru') -- <sip 302-00000011=""> Playing 'cannot-complete-as-dialed.slin' (language 'ru') -- <sip 302-00000011=""> Playing 'check-number-dial-again.slin' (language 'ru') -- Executing [89263899155@from-internal:7] Wait("SIP/302-00000011", "1") in new stack -- Executing [89263899155@from-internal:8] Congestion("SIP/302-00000011", "20") in new stack == Spawn extension (from-internal, 89263899155, 8) exited non-zero on 'SIP/302-00000011' -- Executing [h@from-internal:1] Macro("SIP/302-00000011", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("SIP/302-00000011", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] NoOp("SIP/302-00000011", "End of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("SIP/302-00000011", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,28) -- Executing [s@macro-hangupcall:28] NoOp("SIP/302-00000011", "End of MEETME check") in new stack -- Executing [s@macro-hangupcall:29] GotoIf("SIP/302-00000011", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] NoOp("SIP/302-00000011", "TOUCHMONITOROUTPUT=") in new stack -- Executing [s@macro-hangupcall:35] GotoIf("SIP/302-00000011", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,41) -- Executing [s@macro-hangupcall:41] NoOp("SIP/302-00000011", "MONITOR_FILENAME=") in new stack -- Executing [s@macro-hangupcall:42] GotoIf("SIP/302-00000011", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,45) -- Executing [s@macro-hangupcall:45] GotoIf("SIP/302-00000011", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,48) -- Executing [s@macro-hangupcall:48] GotoIf("SIP/302-00000011", "1?theend") in new stack -- Goto (macro-hangupcall,s,50) -- Executing [s@macro-hangupcall:50] AGI("SIP/302-00000011", "hangup.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi -- <sip 302-00000011="">AGI Script hangup.agi completed, returning 0 -- Executing [s@macro-hangupcall:51] Hangup("SIP/302-00000011", "") in new stack == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/302-00000011' in macro 'hangupcall' == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/302-00000011'

SIP Транк + Исход.маршрутизация (префикс набора)

Надеюсь на вашу помощь. Elastix-FreePBX

Проблема такая, провайдер WestCall дал настройки SIP (IP, Login, Passwd, кодек) - правила набора 089853637423 (то есть стоит выходной 0 вначале).

Из этого всего я слепил транк: Скриншот1 (Файл на хостинге изображений)

Так же настройки исходящей маршрутизации: Скриншот2 (Файл на хостинге изображений)

При звонке Asterisk пишет лог:

 == Using SIP RTP TOS bits 184   ==
  == Using SIP RTP CoS mark 5
      -- Executing [89263899155@from-internal:1]
  -- Executing [89263899155@from-internal:1] ResetCDR("SIP/302-00000011", "") in
  new stack
      -- Executing [89263899155@from-internal:2]
  in new stack
    -- Executing [89263899155@from-internal:2] NoCDR("SIP/302-00000011", "") in new
  stack
      -- Executing [89263899155@from-internal:3]
  new stack
    -- Executing [89263899155@from-internal:3] Progress("SIP/302-00000011", "") in
  new stack
      -- Executing [89263899155@from-internal:4]
  in new stack
    -- Executing [89263899155@from-internal:4] Wait("SIP/302-00000011", "1") in new
  stack

new stack > 0x2b485c256210 -- Probation passed - setting RTP source address to 192.168.0.249:18042 -- Executing [89263899155@from-internal:5] -- Executing [89263899155@from-internal:5] Progress("SIP/302-00000011", "") in new stack -- Executing [89263899155@from-internal:6] Playback("SIP/302-00000011", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack -- <sip 302-00000011=""> in new stack -- Executing [89263899155@from-internal:6] Playback("SIP/302-00000011", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack -- <SIP/302-00000011> Playing 'silence/1.slin' (language 'ru') -- <sip 302-00000011=""> -- <SIP/302-00000011> Playing 'cannot-complete-as-dialed.slin' 'cannot-complete-as-dialed.slin' (language 'ru') -- <sip 302-00000011=""> -- <SIP/302-00000011> Playing 'check-number-dial-again.slin' 'check-number-dial-again.slin' (language 'ru') -- Executing [89263899155@from-internal:7] -- Executing [89263899155@from-internal:7] Wait("SIP/302-00000011", "1") in new stack -- Executing [89263899155@from-internal:8] new stack -- Executing [89263899155@from-internal:8] Congestion("SIP/302-00000011", "20") "20") in new stack == Spawn extension extension (from-internal, 89263899155, 8) exited exited non-zero on 'SIP/302-00000011' -- Executing [h@from-internal:1] Macro("SIP/302-00000011", Macro("SIP/302-00000011", "hangupcall") in new stack -- Executing [s@macro-hangupcall:1] GotoIf("SIP/302-00000011", -- Executing [s@macro-hangupcall:1] GotoIf("SIP/302-00000011", "1?endmixmoncheck") in new stack -- Goto (macro-hangupcall,s,9) -- Executing [s@macro-hangupcall:9] -- Executing [s@macro-hangupcall:9] NoOp("SIP/302-00000011", "End of of MIXMON check") in new stack -- Executing [s@macro-hangupcall:10] GotoIf("SIP/302-00000011", -- Executing [s@macro-hangupcall:10] GotoIf("SIP/302-00000011", "1?nomeetmemon") in new stack -- Goto (macro-hangupcall,s,28) -- Executing [s@macro-hangupcall:28] -- Executing [s@macro-hangupcall:28] NoOp("SIP/302-00000011", "End of of MEETME check") in new stack -- Executing [s@macro-hangupcall:29] GotoIf("SIP/302-00000011", -- Executing [s@macro-hangupcall:29] GotoIf("SIP/302-00000011", "1?noautomon") in new stack -- Goto (macro-hangupcall,s,34) -- Executing [s@macro-hangupcall:34] NoOp("SIP/302-00000011", "TOUCHMONITOROUTPUT=") in new stack -- Executing [s@macro-hangupcall:35] GotoIf("SIP/302-00000011", -- Executing [s@macro-hangupcall:34] NoOp("SIP/302-00000011", "TOUCH_MONITOR_OUTPUT=") in new stack -- Executing [s@macro-hangupcall:35] GotoIf("SIP/302-00000011", "1?noautomon2") in new stack -- Goto (macro-hangupcall,s,41) -- Executing [s@macro-hangupcall:41] NoOp("SIP/302-00000011", -- Executing [s@macro-hangupcall:41] NoOp("SIP/302-00000011", "MONITOR_FILENAME=") in new stack -- Executing [s@macro-hangupcall:42] GotoIf("SIP/302-00000011", "1?skiprg") in new stack -- Executing [s@macro-hangupcall:42] GotoIf("SIP/302-00000011", "1?skiprg") in new stack -- Goto (macro-hangupcall,s,45) -- Executing [s@macro-hangupcall:45] GotoIf("SIP/302-00000011", -- Executing [s@macro-hangupcall:45] GotoIf("SIP/302-00000011", "1?skipblkvm") in new stack -- Goto (macro-hangupcall,s,48) -- Executing [s@macro-hangupcall:48] GotoIf("SIP/302-00000011", "1?theend") in new stack -- Executing [s@macro-hangupcall:48] GotoIf("SIP/302-00000011", "1?theend") in new stack -- Goto (macro-hangupcall,s,50) -- Executing [s@macro-hangupcall:50] -- Executing [s@macro-hangupcall:50] AGI("SIP/302-00000011", "hangup.agi") in new stack "hangup.agi") in new stack -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi -- <sip 302-00000011="">AGI -- <SIP/302-00000011>AGI Script hangup.agi completed, returning 0 -- Executing [s@macro-hangupcall:51] -- Executing [s@macro-hangupcall:51] Hangup("SIP/302-00000011", "") in new new stack == Spawn extension extension (macro-hangupcall, s, 51) exited exited non-zero on 'SIP/302-00000011' in in macro 'hangupcall' == Spawn Spawn extension (from-internal, h, 1) exited exited non-zero on 'SIP/302-00000011'

'SIP/302-00000011'

SIP Транк + Исход.маршрутизация (префикс набора)

Надеюсь на вашу помощь. Elastix-FreePBX

Проблема такая, провайдер WestCall дал настройки SIP (IP, Login, Passwd, кодек) - правила набора 089853637423 (то есть стоит выходной 0 вначале).

Из этого всего я слепил транк: Скриншот1 (Файл на хостинге изображений)

Так же настройки исходящей маршрутизации: Скриншот2 (Файл на хостинге изображений)

При звонке Asterisk пишет лог:

  == Using SIP RTP TOS bits 184   == Using SIP RTP CoS mark 5
    -- Executing [89263899155@from-internal:1] ResetCDR("SIP/302-00000011", "") in new stack
    -- Executing [89263899155@from-internal:2] NoCDR("SIP/302-00000011", "") in new stack
    -- Executing [89263899155@from-internal:3] Progress("SIP/302-00000011", "") in new stack
    -- Executing [89263899155@from-internal:4] Wait("SIP/302-00000011", "1") in new stack
       > 0x2b485c256210 -- Probation passed - setting RTP source address to
to 192.168.0.249:18042
    -- Executing [89263899155@from-internal:5] Progress("SIP/302-00000011", "") in new stack
    -- Executing [89263899155@from-internal:6] Playback("SIP/302-00000011", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- <SIP/302-00000011> Playing 'silence/1.slin' (language 'ru')
    -- <SIP/302-00000011> Playing 'cannot-complete-as-dialed.slin' (language 'ru')
    -- <SIP/302-00000011> Playing 'check-number-dial-again.slin' (language 'ru')
    -- Executing [89263899155@from-internal:7] Wait("SIP/302-00000011", "1") in new stack
    -- Executing [89263899155@from-internal:8] Congestion("SIP/302-00000011", "20") in new stack   == Spawn extension (from-internal, 89263899155, 8) exited non-zero on 'SIP/302-00000011'
    -- Executing [h@from-internal:1] Macro("SIP/302-00000011", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/302-00000011", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/302-00000011", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/302-00000011", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("SIP/302-00000011", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/302-00000011", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("SIP/302-00000011", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("SIP/302-00000011", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("SIP/302-00000011", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("SIP/302-00000011", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("SIP/302-00000011", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("SIP/302-00000011", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("SIP/302-00000011", "hangup.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <SIP/302-00000011>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("SIP/302-00000011", "") in new stack   == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/302-00000011' in macro 'hangupcall'   == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/302-00000011'

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