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

Сброс входящих звонков

0

Здравствуйте! Исходящие работают нормально, при входящем звонке телефон звонит, при поднятии трубки происходит сброс.

Настройки пира:

host=XX.XX.XX.XX
type=friend
canreinvite=no
insecure=invite,port
context=from-trunk
disallow=all
allow=all

Лог звонка

ting [XXXXXXX@from-trunk:1] Set("SIP/MF-00000069", "__FROM_DID=ХХХХХХХ") in new stack
    -- Executing [ХХХХХХХ@from-trunk:2] Gosub("SIP/MF-00000069", "app-blacklist-check,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/MF-00000069", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/MF-00000069", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/MF-00000069", "") in new stack
    -- Executing [ХХХХХХХ@from-trunk:3] ExecIf("SIP/MF-00000069", "1 ?Set(CALLERID(name)=921ХХХХХХХ)") in new stack
    -- Executing [ХХХХХХХ@from-trunk:4] Set("SIP/MF-00000069", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [ХХХХХХХ@from-trunk:5] Set("SIP/MF-00000069", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [ХХХХХХХ@from-trunk:6] Goto("SIP/MF-00000069", "from-did-direct,227,1") in new stack
    -- Goto (from-did-direct,227,1)
    -- Executing [227@from-did-direct:1] Macro("SIP/MF-00000069", "exten-vm,novm,227") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/MF-00000069", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/MF-00000069", "AMPUSER=921ХХХХХХХ") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/MF-00000069", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/MF-00000069", "1?Set(REALCALLERIDNUM=921ХХХХХХХ)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/MF-00000069", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/MF-00000069", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/MF-00000069", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/MF-00000069", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/MF-00000069", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/MF-00000069", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] Set("SIP/MF-00000069", "CALLERID(number)=921ХХХХХХХ") in new stack
    -- Executing [s@macro-user-callerid:20] Set("SIP/MF-00000069", "CALLERID(name)=921ХХХХХХХ") in new stack
    -- Executing [s@macro-user-callerid:21] NoOp("SIP/MF-00000069", "Using CallerID "921ХХХХХХХ" <921ХХХХХХХ>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/MF-00000069", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/MF-00000069", "VMBOX=novm") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/MF-00000069", "__EXTTOCALL=227") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/MF-00000069", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("SIP/MF-00000069", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("SIP/MF-00000069", "RT=""") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("SIP/MF-00000069", "record-enable,227,IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/MF-00000069", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/MF-00000069", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/MF-00000069", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/MF-00000069", "1?IN") in new stack
    -- Goto (macro-record-enable,s,20)
    -- Executing [s@macro-record-enable:20] ExecIf("SIP/MF-00000069", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:21] NoOp("SIP/MF-00000069", "Recording enable for 227") in new stack
    -- Executing [s@macro-record-enable:22] Set("SIP/MF-00000069", "CALLFILENAME=20120718-112154-1342596114.105") in new stack
    -- Executing [s@macro-record-enable:23] MixMonitor("SIP/MF-00000069", "20120718-112154-1342596114.105.wav,,") in new stack
    -- Executing [s@macro-record-enable:24] Set("SIP/MF-00000069", "CDR(userfield)=audio:20120718-112154-1342596114.105.wav") in new stack
    -- Executing [s@macro-record-enable:25] MacroExit("SIP/MF-00000069", "") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("SIP/MF-00000069", "dial-one,"",tr,227") in new stack
    -- Executing [s@macro-dial-one:1] Set("SIP/MF-00000069", "DEXTEN=227") in new stack
    -- Executing [s@macro-dial-one:2] Set("SIP/MF-00000069", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:3] GosubIf("SIP/MF-00000069", "0?screen,1") in new stack
    -- Executing [s@macro-dial-one:4] GosubIf("SIP/MF-00000069", "0?cf,1") in new stack
    -- Executing [s@macro-dial-one:5] GotoIf("SIP/MF-00000069", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,8)
    -- Executing [s@macro-dial-one:8] GotoIf("SIP/MF-00000069", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:9] GotoIf("SIP/MF-00000069", "0?continue") in new stack
    -- Executing [s@macro-dial-one:10] Set("SIP/MF-00000069", "EXTHASCW=") in new stack
    -- Executing [s@macro-dial-one:11] GotoIf("SIP/MF-00000069", "1?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,12)
    -- Executing [s@macro-dial-one:12] GotoIf("SIP/MF-00000069", "0?docfu:skip3") in new stack
    -- Goto (macro-dial-one,s,16)
    -- Executing [s@macro-dial-one:16] GotoIf("SIP/MF-00000069", "1?next2:continue") in new stack
    -- Goto (macro-dial-one,s,17)
    -- Executing [s@macro-dial-one:17] GotoIf("SIP/MF-00000069", "1?continue") in new stack
    -- Goto (macro-dial-one,s,25)
    -- Executing [s@macro-dial-one:25] GotoIf("SIP/MF-00000069", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:26] GosubIf("SIP/MF-00000069", "1?dstring,1:dlocal,1") in new stack
    -- Executing [dstring@macro-dial-one:1] Set("SIP/MF-00000069", "DSTRING=") in new stack
    -- Executing [dstring@macro-dial-one:2] Set("SIP/MF-00000069", "DEVICES=227") in new stack
    -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/MF-00000069", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/MF-00000069", "0?Set(DEVICES=27)") in new stack
    -- Executing [dstring@macro-dial-one:5] Set("SIP/MF-00000069", "LOOPCNT=1") in new stack
    -- Executing [dstring@macro-dial-one:6] Set("SIP/MF-00000069", "ITER=1") in new stack
    -- Executing [dstring@macro-dial-one:7] Set("SIP/MF-00000069", "THISDIAL=SIP/227") in new stack
    -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/MF-00000069", "1?zap2dahdi,1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/MF-00000069", "0?Return()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/MF-00000069", "NEWDIAL=") in new stack
    -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/MF-00000069", "LOOPCNT2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/MF-00000069", "ITER2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/MF-00000069", "THISPART2=SIP/227") in new stack
    -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/MF-00000069", "0?Set(THISPART2=DAHDI/227)") in new stack
    -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/MF-00000069", "NEWDIAL=SIP/227&") in new stack
    -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/MF-00000069", "ITER2=2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/MF-00000069", "0?begin2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/MF-00000069", "THISDIAL=SIP/227") in new stack
    -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/MF-00000069", "") in new stack
    -- Executing [dstring@macro-dial-one:9] Set("SIP/MF-00000069", "DSTRING=SIP/227&") in new stack
    -- Executing [dstring@macro-dial-one:10] Set("SIP/MF-00000069", "ITER=2") in new stack
    -- Executing [dstring@macro-dial-one:11] GotoIf("SIP/MF-00000069", "0?begin") in new stack
    -- Executing [dstring@macro-dial-one:12] Set("SIP/MF-00000069", "DSTRING=SIP/227") in new stack
    -- Executing [dstring@macro-dial-one:13] Return("SIP/MF-00000069", "") in new stack
    -- Executing [s@macro-dial-one:27] GotoIf("SIP/MF-00000069", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:28] GotoIf("SIP/MF-00000069", "0?skiptrace") in new stack
    -- Executing [s@macro-dial-one:29] GosubIf("SIP/MF-00000069", "1?ctset,1:ctclear,1") in new stack
    -- Executing [ctset@macro-dial-one:1] Set("SIP/MF-00000069", "DB(CALLTRACE/227)=921ХХХХХХХ") in new stack
    -- Executing [ctset@macro-dial-one:2] Return("SIP/MF-00000069", "") in new stack
  == Begin MixMonitor Recording SIP/MF-00000069
    -- Executing [s@macro-dial-one:30] Set("SIP/MF-00000069", "D_OPTIONS=tr") in new stack
    -- Executing [s@macro-dial-one:31] ExecIf("SIP/MF-00000069", "0?SIPAddHeader(Alert-Info: )") in new stack
    -- Executing [s@macro-dial-one:32] ExecIf("SIP/MF-00000069", "0?SIPAddHeader()") in new stack
    -- Executing [s@macro-dial-one:33] ExecIf("SIP/MF-00000069", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [s@macro-dial-one:34] GosubIf("SIP/MF-00000069", "0?qwait,1") in new stack
    -- Executing [s@macro-dial-one:35] Set("SIP/MF-00000069", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:36] Set("SIP/MF-00000069", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:37] Dial("SIP/MF-00000069", "SIP/227,"",tr") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/227
    -- SIP/227-0000006a is ringing
    -- SIP/227-0000006a answered SIP/MF-00000069
    -- Executing [h@macro-dial-one:1] Macro("SIP/MF-00000069", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/MF-00000069", "0?endmixmoncheck") in new stack
    -- Executing [s@macro-hangupcall:2] Set("SIP/MF-00000069", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/20120718-112154-1342596114.105.wav") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/MF-00000069", "1?defaultmixmondir") in new stack
    -- Goto (macro-hangupcall,s,5)
    -- Executing [s@macro-hangupcall:5] System("SIP/MF-00000069", "test -e /var/spool/asterisk/monitor/20120718-112154-1342596114.105.wav") in new stack
    -- Executing [s@macro-hangupcall:6] NoOp("SIP/MF-00000069", "SYSTEMSTATUS = APPERROR") in new stack
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/MF-00000069", "0?endmixmoncheck") in new stack
    -- Executing [s@macro-hangupcall:8] Set("SIP/MF-00000069", "CDR(userfield)=") in new stack
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/MF-00000069", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/MF-00000069", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("SIP/MF-00000069", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/MF-00000069", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("SIP/MF-00000069", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("SIP/MF-00000069", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("SIP/MF-00000069", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("SIP/MF-00000069", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("SIP/MF-00000069", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("SIP/MF-00000069", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] Hangup("SIP/MF-00000069", "") in new stack
  == Spawn extension (macro-hangupcall, s, 50) exited non-zero on 'SIP/MF-00000069' in macro 'hangupcall'
  == Spawn extension (macro-dial-one, h, 1) exited non-zero on 'SIP/MF-00000069'
  == Spawn extension (macro-dial-one, s, 37) exited non-zero on 'SIP/MF-00000069' in macro 'dial-one'
  == Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'SIP/MF-00000069' in macro 'exten-vm'
  == Spawn extension (from-did-direct, 227, 1) exited non-zero on 'SIP/MF-00000069'`enter code here`

Помогите, пожалуйста разобраться в чем проблема.

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

спросил 2012-07-18 11:25:55 +0400

viktorrio1 Gravatar viktorrio1
1 1 3

обновил 2012-07-18 11:56:23 +0400

1 Ответ

1

проверте кодеки

если сложно - разрешите только один на всех транках и екстеншенах.

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

ответил 2012-07-18 12:29:59 +0400

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

Comments

Спасибо, помогло, это было логично) Обычно * пишет ошибку по этому поводу, здесь ее не было)

viktorrio1 ( 2012-07-18 12:45:46 +0400 )редактировать

он пишет когда нет вариантов. а тут варианты были. просто А и Б выбрали РАЗНЫЕ кодеки а * не смог соединить. там галочка есть под правильным ответом ;)

meral ( 2012-07-18 12:57:17 +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 ленту новостей

Статистика

Задан: 2012-07-18 11:25:55 +0400

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

Обновлен: Jul 18 '12

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

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