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

Elastix+Mango Telecom не проходит звонок

0

Здравствуйте! Помогите, пожалуйста, разобраться с регистрацией транка в Манго Телеком. Дано: Elastix с настроенным по этому ману линией манго-телеком (http://www.voxlink.ru/kb/itsp-connection/mango-telecom/mango-telecom-to-asterisk/). Входящие звонки маршрутизируются на группу 111, а в группе 111 указан внешний мобильный номер. Исходящие вызовы тоже идут через этот транк. В манго телеком коннект от меня видят, но в момент звонка их сервер сообщает 603 ошибку и отказывается принимать звонок от меня из-за неверных данных. В саппорте сказали, что от меня приходит символ "s" перед логином. У меня это нигде не прописано. Все уже пересмотрел и транк заново создавал. В момент звонка в логах Астреска следующее:

  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [s@from-trunk:1] Set("SIP/Mango_test-00000001", "__FROM_DID=s") in new stack
    -- Executing [s@from-trunk:2] Gosub("SIP/Mango_test-00000001", "app-blacklist-check,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/Mango_test-00000001", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/Mango_test-00000001", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/Mango_test-00000001", "") in new stack
    -- Executing [s@from-trunk:3] ExecIf("SIP/Mango_test-00000001", "0 ?Set(CALLERID(name)=74959808070)") in new stack
    -- Executing [s@from-trunk:4] Set("SIP/Mango_test-00000001", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-trunk:5] Set("SIP/Mango_test-00000001", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [s@from-trunk:6] Goto("SIP/Mango_test-00000001", "ext-group,111,1") in new stack
    -- Goto (ext-group,111,1)
    -- Executing [111@ext-group:1] Macro("SIP/Mango_test-00000001", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/Mango_test-00000001", "AMPUSER=74959808070") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/Mango_test-00000001", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/Mango_test-00000001", "1?Set(REALCALLERIDNUM=74959808070)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/Mango_test-00000001", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/Mango_test-00000001", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/Mango_test-00000001", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/Mango_test-00000001", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/Mango_test-00000001", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/Mango_test-00000001", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] Set("SIP/Mango_test-00000001", "CALLERID(number)=74959808070") in new stack
    -- Executing [s@macro-user-callerid:20] Set("SIP/Mango_test-00000001", "CALLERID(name)=74959808070") in new stack
    -- Executing [s@macro-user-callerid:21] NoOp("SIP/Mango_test-00000001", "Using CallerID "74959808070" <74959808070>") in new stack
    -- Executing [111@ext-group:2] GotoIf("SIP/Mango_test-00000001", "1?skipdb") in new stack
    -- Goto (ext-group,111,4)
    -- Executing [111@ext-group:4] Set("SIP/Mango_test-00000001", "__NODEST=") in new stack
    -- Executing [111@ext-group:5] Set("SIP/Mango_test-00000001", "__BLKVM_OVERRIDE=BLKVM/111/SIP/Mango_test-00000001") in new stack
    -- Executing [111@ext-group:6] Set("SIP/Mango_test-00000001", "__BLKVM_BASE=111") in new stack
    -- Executing [111@ext-group:7] Set("SIP/Mango_test-00000001", "DB(BLKVM/111/SIP/Mango_test-00000001)=TRUE") in new stack
    -- Executing [111@ext-group:8] Set("SIP/Mango_test-00000001", "RRNODEST=") in new stack
    -- Executing [111@ext-group:9] Set("SIP/Mango_test-00000001", "__NODEST=111") in new stack
    -- Executing [111@ext-group:10] GosubIf("SIP/Mango_test-00000001", "0?sub-rgsetcid,s,1") in new stack
    -- Executing [111@ext-group:11] Set("SIP/Mango_test-00000001", "RecordMethod=Group") in new stack
    -- Executing [111@ext-group:12] Macro("SIP/Mango_test-00000001", "record-enable,79268008183#,Group") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/Mango_test-00000001", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/Mango_test-00000001", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/Mango_test-00000001", "1?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,6)
    -- Executing [s@macro-record-enable:6] Set("SIP/Mango_test-00000001", "LOOPCNT=1") in new stack
    -- Executing [s@macro-record-enable:7] Set("SIP/Mango_test-00000001", "ITER=1") in new stack
    -- Executing [s@macro-record-enable:8] GotoIf("SIP/Mango_test-00000001", "1?continue") in new stack
    -- Goto (macro-record-enable,s,13)
    -- Executing [s@macro-record-enable:13] Set("SIP/Mango_test-00000001", "ITER=2") in new stack
    -- Executing [s@macro-record-enable:14] GotoIf("SIP/Mango_test-00000001", "0?begin") in new stack
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/Mango_test-00000001", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/Mango_test-00000001", "1?MacroExit()") in new stack
    -- Executing [111@ext-group:13] Set("SIP/Mango_test-00000001", "RingGroupMethod=ringall") in new stack
    -- Executing [111@ext-group:14] Macro("SIP/Mango_test-00000001", "dial,20,m(default)t,79268008183#") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/Mango_test-00000001", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/Mango_test-00000001", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
 dialparties.agi: Starting New Dialparties.agi
 dialparties.agi: Caller ID name is '74959808070' number is '74959808070'
       > dialparties.agi: USE_CONFIRMATION:  'FALSE'
       > dialparties.agi: RINGGROUP_INDEX:   ''
 dialparties.agi: Methodology of ring is  'ringall'
    -- dialparties.agi: Added extension 79268008183# to extension map
    -- dialparties.agi: Extension 79268008183# cf is disabled
       > dialparties.agi: extnum 79268008183# has:  cw: 0; hascfb: 0 [] hascfu: 0 []
       > dialparties.agi: Built External dialstring component for 79268008183: Local/79268008183@from-internal/n
    -- dialparties.agi: Filtered ARG3: 79268008183
       > dialparties.agi: NODEST: 111 adding M(auto-blkvm) to dialopts: m(default)tM(auto-blkvm)
       > dialparties.agi: NODEST: 111 blkvm enabled macro already in dialopts: m(default)tM(auto-blkvm)
    -- <SIP/Mango_test-00000001>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:7] Dial("SIP/Mango_test-00000001", "Local/79268008183@from-internal/n,20,m(default)tM(auto-blkvm)") in new stack
    -- Called Local/79268008183@from-internal/n
    -- Started music on hold, class 'default', on SIP/Mango_test-00000001
    -- Executing [79268008183@from-internal:1] ResetCDR("Local/79268008183@from-internal-e66d;2", "") in new stack
    -- Executing [79268008183@from-internal:2] NoCDR("Local/79268008183@from-internal-e66d;2", "") in new stack
    -- Executing [79268008183@from-internal:3] Progress("Local/79268008183@from-internal-e66d;2", "") in new stack
    -- Local/79268008183@from-internal-e66d;1 is making progress passing it to SIP/Mango_test-00000001
    -- Executing [79268008183@from-internal:4] Wait("Local/79268008183@from-internal-e66d;2", "1") in new stack
    -- Stopped music on hold on SIP/Mango_test-00000001
    -- Executing [79268008183@from-internal:5] Progress("Local/79268008183@from-internal-e66d;2", "") in new stack
    -- Executing [79268008183@from-internal:6] Playback("Local/79268008183@from-internal-e66d;2", "silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer") in new stack
    -- Local/79268008183@from-internal-e66d;1 is making progress passing it to SIP/Mango_test-00000001
    -- Executing [79268008183@from-internal:7] Wait("Local/79268008183@from-internal-e66d;2", "1") in new stack
    -- Executing [79268008183@from-internal:8] Congestion("Local/79268008183@from-internal-e66d;2", "20") in new stack
    -- Local/79268008183@from-internal-e66d;1 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
  == Spawn extension (from-internal, 79268008183, 8) exited non-zero on 'Local/79268008183@from-internal-e66d;2'
    -- Executing [h@from-internal:1] Macro("Local/79268008183@from-internal-e66d;2", "hangupcall") in new stack
    -- Executing [s@macro-dial:8] Set("SIP/Mango_test-00000001", "DIALSTATUS=CONGESTION") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Local/79268008183@from-internal-e66d;2", "1?endmixmoncheck") in new stack
    -- Executing [s@macro-dial:9] GosubIf("SIP/Mango_test-00000001", "0?CONGESTION,1") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("Local/79268008183@from-internal-e66d;2", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("Local/79268008183@from-internal-e66d;2", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [111@ext-group:15] Set("SIP/Mango_test-00000001", "RingGroupMethod=") in new stack
    -- Executing [s@macro-hangupcall:28] NoOp("Local/79268008183@from-internal-e66d;2", "End of MEETME check") in new stack
    -- Executing [111@ext-group:16] GotoIf("SIP/Mango_test-00000001", "0?nodest") in new stack
    -- Executing [111@ext-group:17] Set("SIP/Mango_test-00000001", "__NODEST=") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("Local/79268008183@from-internal-e66d;2", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [111@ext-group:18] NoOp("SIP/Mango_test-00000001", "Deleting: BLKVM/111/SIP/Mango_test-00000001 TRUE") in new stack
    -- Executing [111@ext-group:19] Goto("SIP/Mango_test-00000001", "app-blackhole,hangup,1") in new stack
    -- Executing [s@macro-hangupcall:34] NoOp("Local/79268008183@from-internal-e66d;2", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Goto (app-blackhole,hangup,1)
    -- Executing [hangup@app-blackhole:1] NoOp("SIP/Mango_test-00000001", "Blackhole Dest: Hangup") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("Local/79268008183@from-internal-e66d;2", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("Local/79268008183@from-internal-e66d;2", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("Local/79268008183@from-internal-e66d;2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("Local/79268008183@from-internal-e66d;2", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("Local/79268008183@from-internal-e66d;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("Local/79268008183@from-internal-e66d;2", "hangup.agi") in new stack
    -- Executing [hangup@app-blackhole:2] Hangup("SIP/Mango_test-00000001", "") in new stack
  == Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'SIP/Mango_test-00000001'
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <Local/79268008183@from-internal-e66d;2>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("Local/79268008183@from-internal-e66d;2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'Local/79268008183@from-internal-e66d;2' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/79268008183@from-internal-e66d;2'
удалить закрыть спам изменить тег редактировать

спросил 2013-11-12 21:12:21 +0400

pr0r0k_d Gravatar pr0r0k_d
1 1

Comments

я не забыл # прописать после номера. -- Executing [s@macro-dial:7] Dial("SIP/Mangotest-000000d4", "Local/79268008183@from-internal/n,20,m(default)tM(auto-blkvm)") in new stack -- Called Local/79268008183@from-internal/n -- Started music on hold, class 'default', on SIP/Mangotest-000000d4

что значит нет звонка на манготелеком?

pr0r0k_d ( 2013-11-12 22:54:57 +0400 )редактировать

включите sip debug и посмотрите что у вас уходит.

bandys ( 2013-11-13 14:20:14 +0400 )редактировать

1 Ответ

0

из всего этого всего одна информативная строчка.

-- Executing [s@macro-dial:7] Dial("SIP/Mango_test-00000001", "Local/79268008183@from-internal/n,20,m(default)tM(auto-blkvm)") in new stack

а дальше вам выдает что у вас нет исходящего правила для этого номера. звонка на манготелеком тут нету.

а блин. вы забыли # после внешнего номера в рингруппе прописать. или не читали документации на freepbx. а зачем,действительно.

ссылка удалить спам редактировать

ответил 2013-11-12 22:10:35 +0400

meral Gravatar meral flag of Ukraine
23347 24 20 177
http://pro-sip.net/

обновил 2013-11-12 22:14:35 +0400

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: 2013-11-12 21:12:21 +0400

Просмотрен: 1,183 раз

Обновлен: Nov 12 '13

Похожие вопросы:

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