First time here? Check out the FAQ!

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

Не проходит звонок в одну сторону с астериска по IAX

0

Есть два астериска соединенных по IAX. С первого на второй звонки проходят. Со вторго на первый - нет. На первом при звонке со второго даже не видно никакой активности. По логам вижу что звонок прерывается по превышении количества попыток дозвона. Но не понимаю куда копать.

-- Executing [55582@from-internal:1] Macro("SIP/118-00010ca1", "user-callerid,SKIPTTL,") in new stack
   
-- Executing [s@macro-user-callerid:1] Set("SIP/118-00010ca1", "AMPUSER=118") in new stack
   
-- Executing [s@macro-user-callerid:2] GotoIf("SIP/118-00010ca1", "0?report") in new stack
   
-- Executing [s@macro-user-callerid:3] ExecIf("SIP/118-00010ca1", "1?Set(REALCALLERIDNUM=118)") in new stack
   
-- Executing [s@macro-user-callerid:4] Set("SIP/118-00010ca1", "AMPUSER=118") in new stack
   
-- Executing [s@macro-user-callerid:5] Set("SIP/118-00010ca1", "AMPUSERCIDNAME=118") in new stack
   
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/118-00010ca1", "0?report") in new stack
   
-- Executing [s@macro-user-callerid:7] Set("SIP/118-00010ca1", "AMPUSERCID=118") in new stack
   
-- Executing [s@macro-user-callerid:8] Set("SIP/118-00010ca1", "CALLERID(all)="118" <118>") in new stack
   
-- Executing [s@macro-user-callerid:9] ExecIf("SIP/118-00010ca1", "0?Set(CHANNEL(language)=)") in new stack
   
-- Executing [s@macro-user-callerid:10] GotoIf("SIP/118-00010ca1", "1?continue") in new stack
   
-- Goto (macro-user-callerid,s,19)
   
-- Executing [s@macro-user-callerid:19] Set("SIP/118-00010ca1", "CALLERID(number)=118") in new stack
   
-- Executing [s@macro-user-callerid:20] Set("SIP/118-00010ca1", "CALLERID(name)=118") in new stack
   
-- Executing [s@macro-user-callerid:21] NoOp("SIP/118-00010ca1", "Using CallerID "118" <118>") in new stack
   
-- Executing [55582@from-internal:2] NoOp("SIP/118-00010ca1", "Calling Out Route: NStore") in new stack
   
-- Executing [55582@from-internal:3] Set("SIP/118-00010ca1", "INTRACOMPANYROUTE=YES") in new stack
   
-- Executing [55582@from-internal:4] Set("SIP/118-00010ca1", "MOHCLASS=default") in new stack
   
-- Executing [55582@from-internal:5] Set("SIP/118-00010ca1", "_NODEST=") in new stack
   
-- Executing [55582@from-internal:6] Macro("SIP/118-00010ca1", "record-enable,118,OUT,") in new stack
   
-- Executing [s@macro-record-enable:1] GotoIf("SIP/118-00010ca1", "1?check") in new stack
   
-- Goto (macro-record-enable,s,4)
   
-- Executing [s@macro-record-enable:4] ExecIf("SIP/118-00010ca1", "0?MacroExit()") in new stack
   
-- Executing [s@macro-record-enable:5] GotoIf("SIP/118-00010ca1", "0?Group:OUT") in new stack
   
-- Goto (macro-record-enable,s,15)
   
-- Executing [s@macro-record-enable:15] GotoIf("SIP/118-00010ca1", "0?IN") in new stack
   
-- Executing [s@macro-record-enable:16] ExecIf("SIP/118-00010ca1", "1?MacroExit()") in new stack
   
-- Executing [55582@from-internal:7] Macro("SIP/118-00010ca1", "dialout-trunk,23,582,") in new stack
   
-- Executing [s@macro-dialout-trunk:1] Set("SIP/118-00010ca1", "DIAL_TRUNK=23") in new stack
   
-- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/118-00010ca1", "0?sub-pincheck,s,1") in new stack
   
-- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/118-00010ca1", "0?disabletrunk,1") in new stack
   
-- Executing [s@macro-dialout-trunk:4] Set("SIP/118-00010ca1", "DIAL_NUMBER=582") in new stack
   
-- Executing [s@macro-dialout-trunk:5] Set("SIP/118-00010ca1", "DIAL_TRUNK_OPTIONS=trT") in new stack
   
-- Executing [s@macro-dialout-trunk:6] Set("SIP/118-00010ca1", "OUTBOUND_GROUP=OUT_23") in new stack
   
-- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/118-00010ca1", "1?nomax") in new stack
   
-- Goto (macro-dialout-trunk,s,9)
   
-- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/118-00010ca1", "1?skipoutcid") in new stack
   
-- Goto (macro-dialout-trunk,s,12)
   
-- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/118-00010ca1", "0?sub-flp-23,s,1") in new stack
   
-- Executing [s@macro-dialout-trunk:13] Set("SIP/118-00010ca1", "OUTNUM=582") in new stack
   
-- Executing [s@macro-dialout-trunk:14] Set("SIP/118-00010ca1", "custom=IAX2/NStore") in new stack
   
-- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/118-00010ca1", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)trT)") in new stack
   
-- Executing [s@macro-dialout-trunk:16] Macro("SIP/118-00010ca1", "dialout-trunk-predial-hook,") in new stack
   
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/118-00010ca1", "") in new stack
   
-- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/118-00010ca1", "0?bypass,1") in new stack
   
-- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/118-00010ca1", "0?customtrunk") in new stack
   
-- Executing [s@macro-dialout-trunk:19] Dial("SIP/118-00010ca1", "IAX2/NStore/582,300,trT") in new stack
   
-- Called NStore/582
[Jan 15 21:10:32] WARNING[1965]: chan_iax2.c:3339 __attempt_transmit: Max retries exceeded to host 127.124.223.165 on IAX2/NStore-8213 (type = 6, subclass = 1, ts=9, seqno=0)
   
-- Hungup 'IAX2/NStore-8213'
 
== Everyone is busy/congested at this time (1:0/0/1)
   
-- Executing [s@macro-dialout-trunk:20] NoOp("SIP/118-00010ca1", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 27") in new stack
   
-- Executing [s@macro-dialout-trunk:21] Goto("SIP/118-00010ca1", "s-CHANUNAVAIL,1") in new stack
   
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
   
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("SIP/118-00010ca1", "RC=27") in new stack
   
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("SIP/118-00010ca1", "27,1") in new stack
   
-- Goto (macro-dialout-trunk,27,1)
   
-- Executing [27@macro-dialout-trunk:1] Goto("SIP/118-00010ca1", "continue,1") in new stack
   
-- Goto (macro-dialout-trunk,continue,1)
   
-- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/118-00010ca1", "1?noreport") in new stack
   
-- Goto (macro-dialout-trunk,continue,3)
   
-- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/118-00010ca1", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 27 - failing through to other trunks") in new stack
   
-- Executing [continue@macro-dialout-trunk:4] Set("SIP/118-00010ca1", "CALLERID(number)=118") in new stack
   
-- Executing [55582@from-internal:8] Macro("SIP/118-00010ca1", "outisbusy,") in new stack
   
-- Executing [s@macro-outisbusy:1] Progress("SIP/118-00010ca1", "") in new stack
   
-- Executing [s@macro-outisbusy:2] Playback("SIP/118-00010ca1", "all-circuits-busy-now,noanswer") in new stack
   
-- <SIP/118-00010ca1> Playing 'all-circuits-busy-now.alaw' (language 'ru')
   
-- Executing [s@macro-outisbusy:3] Playback("SIP/118-00010ca1", "pls-try-call-later,noanswer") in new stack
   
-- <SIP/118-00010ca1> Playing 'pls-try-call-later.alaw' (language 'ru')
   
-- Executing [s@macro-outisbusy:4] Macro("SIP/118-00010ca1", "hangupcall") in new stack
   
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/118-00010ca1", "1?skiprg") in new stack
   
-- Goto (macro-hangupcall,s,4)
   
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/118-00010ca1", "1?skipblkvm") in new stack
   
-- Goto (macro-hangupcall,s,7)
   
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/118-00010ca1", "1?theend") in new stack
   
-- Goto (macro-hangupcall,s,9)
   
-- Executing [s@macro-hangupcall:9] Hangup("SIP/118-00010ca1", "") in new stack
 
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/118-00010ca1' in macro 'hangupcall'
 
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'SIP/118-00010ca1' in macro 'outisbusy'
 
== Spawn extension (from-internal, 55582, 8) exited non-zero on 'SIP/118-00010ca1'
   
-- Executing [h@from-internal:1] Macro("SIP/118-00010ca1", "hangupcall") in new stack
   
-- Executing [s@macro-hangupcall:1] GotoIf("SIP/118-00010ca1", "1?skiprg") in new stack
   
-- Goto (macro-hangupcall,s,4)
   
-- Executing [s@macro-hangupcall:4] GotoIf("SIP/118-00010ca1", "1?skipblkvm") in new stack
   
-- Goto (macro-hangupcall,s,7)
   
-- Executing [s@macro-hangupcall:7] GotoIf("SIP/118-00010ca1", "1?theend") in new stack
   
-- Goto (macro-hangupcall,s,9)
   
-- Executing [s@macro-hangupcall:9] Hangup("SIP/118-00010ca1", "") in new stack
 
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/118-00010ca1' in macro 'hangupcall'
 
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/118-00010ca1'

спросил Jan 15 '13

grimic Gravatar grimic
31 8 2 6

Comments

тег В это новый писк моды я смотрю. вы догадываетесь вообще зачем теги?

meral (Jan 15 '13)edit

1 Ответ

0

1) пробросить пор 4569 udp

2) iax set debug on
на двух концах.

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

ответил Jan 15 '13

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

Ваш ответ

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 ленту новостей

Статистика

Задан: Jan 15 '13

Просмотрен: 942 раз

Обновлен: Jan 15 '13

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