настройки транка
dtmfmode=rfc2833 type=peer host=192.168.27.1 conext=contex-internal allow=alaw
Звоню с сотового 98514775XX на номер 78747XX
Обрывается звонок через 20 секунд у абонента 155 короткие гудки а у меня просто тишина (в сотовом)
вот лог : -- Executing [78747XX@from-trunk-sip-beelineSIP:1] Set("SIP/beelineSIP-00000016", "GROUP()=OUT3") in new stack -- Executing [78747XX@from-trunk-sip-beelineSIP:2] Goto("SIP/beelineSIP-00000016", "from-trunk,78747XX,1") in new stack -- Goto (from-trunk,7874742,1) -- Executing [78747XX@from-trunk:1] Set("SIP/beelineSIP-00000016", "FROMDID=78747XX") in new stack -- Executing [78747XX@from-trunk:2] Goto("SIP/beelineSIP-00000016", "s,1") in new stack -- Goto (from-trunk,s,1) -- Executing [s@from-trunk:1] ExecIf("SIP/beelineSIP-00000016", "0?Set(FROMDID=s)") in new stack -- Executing [s@from-trunk:2] Gosub("SIP/beelineSIP-00000016", "app-blacklist-check,s,1") in new stack -- Executing [s@app-blacklist-check:1] GotoIf("SIP/beelineSIP-00000016", "0?blacklisted") in new stack -- Executing [s@app-blacklist-check:2] Set("SIP/beelineSIP-00000016", "CALLEDBLACKLIST=1") in new stack -- Executing [s@app-blacklist-check:3] Return("SIP/beelineSIP-00000016", "") in new stack -- Executing [s@from-trunk:3] ExecIf("SIP/beelineSIP-00000016", "1 ?Set(CALLERID(name)=98514775XX)") in new stack -- Executing [s@from-trunk:4] Set("SIP/beelineSIP-00000016", "CALLINGPRESSV=allowednotscreened") in new stack -- Executing [s@from-trunk:5] Set("SIP/beelineSIP-00000016", "CALLERPRES()=allowednotscreened") in new stack -- Executing [s@from-trunk:6] Goto("SIP/beelineSIP-00000016", "from-did-direct,155,1") in new stack -- Goto (from-did-direct,155,1) -- Executing [155@from-did-direct:1] GotoIf("SIP/beelineSIP-00000016", "0?ext-local,155,1") in new stack -- Executing [155@from-did-direct:2] Macro("SIP/beelineSIP-00000016", "user-callerid,") in new stack -- Executing [s@macro-user-callerid:1] Set("SIP/beelineSIP-00000016", "AMPUSER=98514775XX") in new stack -- Executing [s@macro-user-callerid:2] GotoIf("SIP/beelineSIP-00000016", "0?report") in new stack -- Executing [s@macro-user-callerid:3] ExecIf("SIP/beelineSIP-00000016", "1?Set(REALCALLERIDNUM=98514775XX)") in new stack -- Executing [s@macro-user-callerid:4] Set("SIP/beelineSIP-00000016", "AMPUSER=") in new stack -- Executing [s@macro-user-callerid:5] Set("SIP/beelineSIP-00000016", "AMPUSERCIDNAME=") in new stack -- Executing [s@macro-user-callerid:6] GotoIf("SIP/beelineSIP-00000016", "1?report") in new stack -- Goto (macro-user-callerid,s,10) -- Executing [s@macro-user-callerid:10] GotoIf("SIP/beelineSIP-00000016", "0?continue") in new stack -- Executing [s@macro-user-callerid:11] Set("SIP/beelineSIP-00000016", "TTL=64") in new stack -- Executing [s@macro-user-callerid:12] GotoIf("SIP/beelineSIP-00000016", "1?continue") in new stack -- Goto (macro-user-callerid,s,19) -- Executing [s@macro-user-callerid:19] Set("SIP/beelineSIP-00000016", "CALLERID(number)=98514775XX") in new stack -- Executing [s@macro-user-callerid:20] Set("SIP/beelineSIP-00000016", "CALLERID(name)=98514775XX") in new stack -- Executing [s@macro-user-callerid:21] NoOp("SIP/beelineSIP-00000016", "Using CallerID "98514775XX" <98514775XX>") in new stack -- Executing [155@from-did-direct:3] GotoIf("SIP/beelineSIP-00000016", "1?skipdb") in new stack -- Goto (from-did-direct,155,5) -- Executing [155@from-did-direct:5] Set("SIP/beelineSIP-00000016", "NODEST=") in new stack -- Executing [155@from-did-direct:6] Set("SIP/beelineSIP-00000016", "BLKVMOVERRIDE=BLKVM/155/SIP/beelineSIP-00000016") in new stack -- Executing [155@from-did-direct:7] Set("SIP/beelineSIP-00000016", "BLKVMBASE=155") in new stack -- Executing [155@from-did-direct:8] Set("SIP/beelineSIP-00000016", "DB(BLKVM/155/SIP/beelineSIP-00000016)=TRUE") in new stack -- Executing [155@from-did-direct:9] Set("SIP/beelineSIP-00000016", "RRNODEST=") in new stack -- Executing [155@from-did-direct:10] Set("SIP/beelineSIP-00000016", "NODEST=155") in new stack -- Executing [155@from-did-direct:11] GosubIf("SIP/beelineSIP-00000016", "0?sub-fmsetcid,s,1") in new stack -- Executing [155@from-did-direct:12] Set("SIP/beelineSIP-00000016", "RecordMethod=Group") in new stack -- Executing [155@from-did-direct:13] Macro("SIP/beelineSIP-00000016", "record-enable,155-89258837454#,Group") in new stack -- Executing [s@macro-record-enable:1] GotoIf("SIP/beelineSIP-00000016", "1?check") in new stack -- Goto (macro-record-enable,s,4) -- Executing [s@macro-record-enable:4] ExecIf("SIP/beelineSIP-00000016", "0?MacroExit()") in new stack -- Executing [s@macro-record-enable:5] GotoIf("SIP/beelineSIP-00000016", "1?Group:OUT") in new stack -- Goto (macro-record-enable,s,6) -- Executing [s@macro-record-enable:6] Set("SIP/beelineSIP-00000016", "LOOPCNT=2") in new stack -- Executing [s@macro-record-enable:7] Set("SIP/beelineSIP-00000016", "ITER=1") in new stack -- Executing [s@macro-record-enable:8] GotoIf("SIP/beelineSIP-00000016", "1?continue") in new stack -- Goto (macro-record-enable,s,13) -- Executing [s@macro-record-enable:13] Set("SIP/beelineSIP-00000016", "ITER=2") in new stack -- Executing [s@macro-record-enable:14] GotoIf("SIP/beelineSIP-00000016", "1?begin") in new stack -- Goto (macro-record-enable,s,8) -- Executing [s@macro-record-enable:8] GotoIf("SIP/beelineSIP-00000016", "1?continue") in new stack -- Goto (macro-record-enable,s,13) -- Executing [s@macro-record-enable:13] Set("SIP/beelineSIP-00000016", "ITER=3") in new stack -- Executing [s@macro-record-enable:14] GotoIf("SIP/beelineSIP-00000016", "0?begin") in new stack -- Executing [s@macro-record-enable:15] GotoIf("SIP/beelineSIP-00000016", "0?IN") in new stack -- Executing [s@macro-record-enable:16] ExecIf("SIP/beelineSIP-00000016", "1?MacroExit()") in new stack -- Executing [155@from-did-direct:14] GotoIf("SIP/beelineSIP-00000016", "0 ?skipsimple") in new stack -- Executing [155@from-did-direct:15] Macro("SIP/beelineSIP-00000016", "simple-dial,155,60") in new stack -- Executing [s@macro-simple-dial:1] Set("SIP/beelineSIP-00000016", "EXTTOCALL=155") in new stack -- Executing [s@macro-simple-dial:2] Set("SIP/beelineSIP-00000016", "RT=60") in new stack -- Executing [s@macro-simple-dial:3] Set("SIP/beelineSIP-00000016", "CFUEXT=") in new stack -- Executing [s@macro-simple-dial:4] Set("SIP/beelineSIP-00000016", "CFBEXT=") in new stack -- Executing [s@macro-simple-dial:5] Set("SIP/beelineSIP-00000016", "CWITMP=") in new stack -- Executing [s@macro-simple-dial:6] Macro("SIP/beelineSIP-00000016", "dial,60,tTw,155") in new stack -- Executing [s@macro-dial:1] GotoIf("SIP/beelineSIP-00000016", "1?dial") in new stack -- Goto (macro-dial,s,3) -- Executing [s@macro-dial:3] AGI("SIP/beelineSIP-00000016", "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 '98514775XX' number is '98514775XX' dialparties.agi: Methodology of ring is 'none' -- dialparties.agi: Added extension 155 to extension map -- dialparties.agi: Extension 155 cf is disabled -- dialparties.agi: Extension 155 do not disturb is disabled dialparties.agi: EXTENSIONSTATE: 0 (NOTINUSE) dialparties.agi: Extension 155 has ExtensionState: 0 -- dialparties.agi: Checking CW and CFB status for extension 155 -- dialparties.agi: dbset CALLTRACE/155 to 98514775XX -- dialparties.agi: Filtered ARG3: 155 -- <sip beelinesip-00000016>agi="" script="" dialparties.agi="" completed,="" returning="" 0="" --="" executing="" [s@macro-dial:7]="" dial("sip="" beelinesip-00000016",="" "sip="" 155,60,ttwm(auto-blkvm)")="" in="" new="" stack="=" using="" sip="" rtp="" tos="" bits="" 184="=" using="" sip="" rtp="" cos="" mark="" 5="" --="" called="" 155="" --="" sip="" 155-00000017="" is="" ringing="" --="" sip="" 155-00000017="" answered="" sip="" beelinesip-00000016="" --="" executing="" [s@macro-auto-blkvm:1]="" set("sip="" 155-00000017",="" "<em="">_MACRORESULT=") in new stack -- Executing [s@macro-auto-blkvm:2] NoOp("SIP/155-00000017", "Deleting: BLKVM/155/SIP/beelineSIP-00000016 TRUE") in new stack
Помогите ,тех поддержка говорит что в потоке нет проблем =(
было такое с телефонами cisco 7912. нужно было VAD выключить.
Логи не смотрел но если 20 сек то РТП таймаут.
sip.conf
rtptimeout=60
но это не совсем правильное решение лучше проверить сип клиент и почему астер не видит РТП. p.s. логи даже не смотрел:) если не прав сильно не пинайте
У меня такое было с одним телефоном за адсл модемом. Это проблема, по ходу, с НАТ. Включи SIP debug - увидишь.
Задан: 2011-04-29 23:19:40 +0400
Просмотрен: 63,124 раз
Обновлен: May 11 '11
Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании
Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией
GNU GPL.