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

МТТ Не работает исходящая связь

0

Вопрос решил. Оказалось все просто в Extension был прописан старый номер. Закрыть вопрос не могу т.к. не хватает кармы. Всем спасибо кто отвечал, помогли.

Народ помогите! Не работает исходящая связь через МТТ. Мы подключены по статическом ip адресу. Установлен Elastix. Настройки транка поле исходящая связь:

type=peer
qualify=yes
nat=no
host=80.75.130.136
dtmfmode=rfc2833
disallow=all
directmedia=nonat
canreinvite=no
callerid=${CALLERID(num)}
allow=alaw&ulaw&g729

других настроек транка нет. Настройки исходящей связи:

8+ |9XXXXXXXXX
[78]9XXXXXXXXX

Dump:

[root@aster ~]# asterisk -rvvvv
Asterisk 1.8.11.0, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail                                                                                                                     s.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.8.11.0 currently running on aster (pid = 4288)
Verbosity was 3 and is now 4
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [89172205431@from-internal:1] Macro("SIP/201-00000000", "user-c                                                                                                                     allerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/201-00000000", "AMPUSER=201"                                                                                                                     ) in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/201-00000000", "0?report"                                                                                                                     ) in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/201-00000000", "1?Set(REA                                                                                                                     LCALLERIDNUM=201)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/201-00000000", "AMPUSER=201"                                                                                                                     ) in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/201-00000000", "AMPUSERCIDNA                                                                                                                     ME=kznadm1s") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/201-00000000", "0?report"                                                                                                                     ) in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/201-00000000", "AMPUSERCID=2                                                                                                                     01") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/201-00000000", "CALLERID(all                                                                                                                     )="kznadm1s" <201>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/201-00000000", "0?Set(CHA                                                                                                                     NNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/201-00000000", "1?contin                                                                                                                     ue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] Set("SIP/201-00000000", "CALLERID(nu                                                                                                                     mber)=201") in new stack
    -- Executing [s@macro-user-callerid:20] Set("SIP/201-00000000", "CALLERID(na                                                                                                                     me)=kznadm1s") in new stack
    -- Executing [s@macro-user-callerid:21] NoOp("SIP/201-00000000", "Using Call                                                                                                                     erID "kznadm1s" <201>") in new stack
    -- Executing [89172205431@from-internal:2] NoOp("SIP/201-00000000", "Calling                                                                                                                      Out Route: 89") in new stack
    -- Executing [89172205431@from-internal:3] Set("SIP/201-00000000", "MOHCLASS                                                                                                                     =default") in new stack
    -- Executing [89172205431@from-internal:4] Set("SIP/201-00000000", "_NODEST=                                                                                                                     ") in new stack
    -- Executing [89172205431@from-internal:5] Macro("SIP/201-00000000", "record                                                                                                                     -enable,201,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/201-00000000", "1?check")                                                                                                                      in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/201-00000000", "0?MacroEx                                                                                                                     it()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/201-00000000", "0?Group:O                                                                                                                     UT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/201-00000000", "0?IN") i                                                                                                                     n new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/201-00000000", "0?MacroE                                                                                                                     xit()") in new stack
    -- Executing [s@macro-record-enable:17] NoOp("SIP/201-00000000", "Recording                                                                                                                      enable for 201") in new stack
    -- Executing [s@macro-record-enable:18] Set("SIP/201-00000000", "CALLFILENAM                                                                                                                     E=OUT201-20130705-133906-1373017146.0") in new stack
    -- Executing [s@macro-record-enable:19] Goto("SIP/201-00000000", "record") i                                                                                                                     n new stack
    -- Goto (macro-record-enable,s,23)
    -- Executing [s@macro-record-enable:23] MixMonitor("SIP/201-00000000", "OUT2                                                                                                                     01-20130705-133906-1373017146.0.wav,,") in new stack
    -- Executing [s@macro-record-enable:24] Set("SIP/201-00000000", "CDR(userfie                                                                                                                     ld)=audio:OUT201-20130705-133906-1373017146.0.wav") in new stack
    -- Executing [s@macro-record-enable:25] MacroExit("SIP/201-00000000", "") in                                                                                                                      new stack
    -- Executing [89172205431@from-internal:6] Macro("SIP/201-00000000", "dialou                                                                                                                     t-trunk,10,89172205431,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/201-00000000", "DIAL_TRUNK=1                                                                                                                     0") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/201-00000000", "0?sub-pi                                                                                                                     ncheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/201-00000000", "0?disable                                                                                                                     trunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/201-00000000", "DIAL_NUMBER=                                                                                                                     89172205431") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/201-00000000", "DIAL_TRUNK_O                                                                                                                     PTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/201-00000000", "OUTBOUND_GRO                                                                                                                     UP=OUT_10") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/201-00000000", "0?nomax")                                                                                                                      in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/201-00000000", "0?chanful                                                                                                                     l") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/201-00000000", "0?skipout                                                                                                                     cid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/201-00000000", "DIAL_TRUNK_                                                                                                                     OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/201-00000000", "outbound-                                                                                                                     callerid,10") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/201-00000000", "0?Set                                                                                                                     (CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/201-00000000", "0?Set                                                                                                                     (REALCALLERIDNUM=201)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/201-00000000", "1?nor                                                                                                                     mcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/201-00000000", "USEROUTC                                                                                                                     ID=78432009959") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/201-00000000", "EMERGENC                                                                                                                     YCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/201-00000000", "TRUNKOUT                                                                                                                     CID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/201-00000000", "1?tru                                                                                                                     nkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/201-00000000", "0?Se                                                                                                                     t(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/201-00000000", "1?Se                                                                                                                     t(CALLERID(all)=78432009959)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/201-00000000", "0?Se                                                                                                                     t(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/201-00000000", "0?Se                                                                                                                     t(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/201-00000000", "1?sub-f                                                                                                                     lp-10,s,1") in new stack
    -- Executing [s@sub-flp-10:1] ExecIf("SIP/201-00000000", "1?Set(TARGET_FLP_1                                                                                                                     0=79172205431)") in new stack
    -- Executing [s@sub-flp-10:2] GotoIf("SIP/201-00000000", "1?match") in new s                                                                                                                     tack
    -- Goto (sub-flp-10,s,7)
    -- Executing [s@sub-flp-10:7] Set("SIP/201-00000000", "DIAL_NUMBER=791722054                                                                                                                     31") in new stack
    -- Executing [s@sub-flp-10:8] Return("SIP/201-00000000", "") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/201-00000000", "OUTNUM=7917                                                                                                                     2205431") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/201-00000000", "custom=SIP/                                                                                                                     mtt_out") in new stack
  == Begin MixMonitor Recording SIP/201-00000000
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/201-00000000", "0?Set(DI                                                                                                                     AL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/201-00000000", "dialout-t                                                                                                                     runk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/201-00000                                                                                                                     000", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/201-00000000", "0?bypass                                                                                                                     ,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/201-00000000", "0?custom                                                                                                                     trunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/201-00000000", "SIP/mtt_ou                                                                                                                     t/79172205431,300,") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/mtt_out/79172205431
    -- Got SIP response 503 "Service Unavailable" back from 80.75.130.136:5060
    -- SIP/mtt_out-00000001 is circuit-busy
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [s@macro-dialout-trunk:20] NoOp("SIP/201-00000000", "Dial faile                                                                                                                     d for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 34") in new sta                                                                                                                     ck
    -- Executing [s@macro-dialout-trunk:21] Goto("SIP/201-00000000", "s-CONGESTI                                                                                                                     ON,1") in new stack
    -- Goto (macro-dialout-trunk,s-CONGESTION,1)
    -- Executing [s-CONGESTION@macro-dialout-trunk:1] Set("SIP/201-00000000", "R                                                                                                                     C=34") in new stack
    -- Executing [s-CONGESTION@macro-dialout-trunk:2] Goto("SIP/201-00000000", "                                                                                                                     34,1") in new stack
    -- Goto (macro-dialout-trunk,34,1)
    -- Executing [34@macro-dialout-trunk:1] Goto("SIP/201-00000000", "continue,1                                                                                                                     ") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] GotoIf("SIP/201-00000000", "1?                                                                                                                     noreport") in new stack
    -- Goto (macro-dialout-trunk,continue,3)
    -- Executing [continue@macro-dialout-trunk:3] NoOp("SIP/201-00000000", "TRUN                                                                                                                     K Dial failed due to CONGESTION HANGUPCAUSE: 34 - failing through to other trunk                                                                                                                     s") in new stack
    -- Executing [continue@macro-dialout-trunk:4] Set("SIP/201-00000000", "CALLE                                                                                                                     RID(number)=201") in new stack
    -- Executing [89172205431@from-internal:7] Macro("SIP/201-00000000", "outisb                                                                                                                     usy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("SIP/201-00000000", "") in new s                                                                                                                     tack
    -- Executing [s@macro-outisbusy:2] GotoIf("SIP/201-00000000", "0?emergency,1                                                                                                                     ") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("SIP/201-00000000", "0?intracompan                                                                                                                     y,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("SIP/201-00000000", "all-circuit                                                                                                                     s-busy-now&pls-try-call-later, noanswer") in new stack
    -- <SIP/201-00000000> Playing 'all-circuits-busy-now.gsm' (language 'en')
    -- <SIP/201-00000000> Playing 'pls-try-call-later.gsm' (language 'en')
    -- Executing [s@macro-outisbusy:5] Congestion("SIP/201-00000000", "20") in new stack
  == Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'SIP/201-00000000' in macro 'outisbusy'
  == Spawn extension (from-internal, 89172205431, 7) exited non-zero on 'SIP/201-00000000'
    -- Executing [h@from-internal:1] Macro("SIP/201-00000000", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/201-00000000", "0?endmixmoncheck") in new stack
    -- Executing [s@macro-hangupcall:2] Set("SIP/201-00000000", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT201-20130705-133906-1373017146.0.wav") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/201-00000000", "1?defaultmixmondir") in new stack
    -- Goto (macro-hangupcall,s,5)
    -- Executing [s@macro-hangupcall:5] System("SIP/201-00000000", "test -e /var/spool/asterisk/monitor/OUT201-20130705-133906-1373017146.0.wav") in new stack
    -- Executing [s@macro-hangupcall:6] NoOp("SIP/201-00000000", "SYSTEMSTATUS = SUCCESS") in new stack
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/201-00000000", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/201-00000000", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/201-00000000", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("SIP/201-00000000", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/201-00000000", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("SIP/201-00000000", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("SIP/201-00000000", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("SIP/201-00000000", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("SIP/201-00000000", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("SIP/201-00000000", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("SIP/201-00000000", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("SIP/201-00000000", "hangup.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <SIP/201-00000000>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("SIP/201-00000000", "") in new stack
  == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/201-00000000' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/201-00000000'
  == MixMonitor close filestream
  == End MixMonitor Recording SIP/201-00000000

После добавления реального Caller ID:

aster*CLI>
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [89172205431@from-internal:1] Macro("SIP/215-0000001f", "user-callerid,SKIPTTL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/215-0000001f", "AMPUSER=215") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("SIP/215-0000001f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:3] ExecIf("SIP/215-0000001f", "1?Set(REALCALLERIDNUM=215)") in new stack
    -- Executing [s@macro-user-callerid:4] Set("SIP/215-0000001f", "AMPUSER=215") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/215-0000001f", "AMPUSERCIDNAME=kznadm15") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/215-0000001f", "0?report") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/215-0000001f", "AMPUSERCID=215") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/215-0000001f", "CALLERID(all)="kznadm15" <215>") in new stack
    -- Executing [s@macro-user-callerid:9] ExecIf("SIP/215-0000001f", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:10] GotoIf("SIP/215-0000001f", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] Set("SIP/215-0000001f", "CALLERID(number)=215") in new stack
    -- Executing [s@macro-user-callerid:20] Set("SIP/215-0000001f", "CALLERID(name)=kznadm15") in new stack
    -- Executing [s@macro-user-callerid:21] NoOp("SIP/215-0000001f", "Using CallerID "kznadm15" <215>") in new stack
    -- Executing [89172205431@from-internal:2] NoOp("SIP/215-0000001f", "Calling Out Route: MTT_Out") in new stack
    -- Executing [89172205431@from-internal:3] Set("SIP/215-0000001f", "MOHCLASS=default") in new stack
    -- Executing [89172205431@from-internal:4] Set("SIP/215-0000001f", "_NODEST=") in new stack
    -- Executing [89172205431@from-internal:5] Macro("SIP/215-0000001f", "record-enable,215,OUT,") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/215-0000001f", "1?check") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] ExecIf("SIP/215-0000001f", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:5] GotoIf("SIP/215-0000001f", "0?Group:OUT") in new stack
    -- Goto (macro-record-enable,s,15)
    -- Executing [s@macro-record-enable:15] GotoIf("SIP/215-0000001f", "0?IN") in new stack
    -- Executing [s@macro-record-enable:16] ExecIf("SIP/215-0000001f", "0?MacroExit()") in new stack
    -- Executing [s@macro-record-enable:17] NoOp("SIP/215-0000001f", "Recording enable for 215") in new stack
    -- Executing [s@macro-record-enable:18] Set("SIP/215-0000001f", "CALLFILENAME=OUT215-20130706-130839-1373101719.31") in new stack
    -- Executing [s@macro-record-enable:19] Goto("SIP/215-0000001f", "record") in new stack
    -- Goto (macro-record-enable,s,23)
    -- Executing [s@macro-record-enable:23] MixMonitor("SIP/215-0000001f", "OUT215-20130706-130839-1373101719.31.wav,,") in new stack
    -- Executing [s@macro-record-enable:24] Set("SIP/215-0000001f", "CDR(userfield)=audio:OUT215-20130706-130839-1373101719.31.wav") in new stack
    -- Executing [s@macro-record-enable:25] MacroExit("SIP/215-0000001f", "") in new stack
    -- Executing [89172205431@from-internal:6] Macro("SIP/215-0000001f", "dialout-trunk,10,79172205431,") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("SIP/215-0000001f", "DIAL_TRUNK=10") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("SIP/215-0000001f", "0?sub-pincheck,s,1") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("SIP/215-0000001f", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("SIP/215-0000001f", "DIAL_NUMBER=79172205431") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("SIP/215-0000001f", "DIAL_TRUNK_OPTIONS=tr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("SIP/215-0000001f", "OUTBOUND_GROUP=OUT_10") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("SIP/215-0000001f", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("SIP/215-0000001f", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("SIP/215-0000001f", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("SIP/215-0000001f", "DIAL_TRUNK_OPTIONS=") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("SIP/215-0000001f", "outbound-callerid,10") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("SIP/215-0000001f", "0?Set(CALLERPRES()=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("SIP/215-0000001f", "0?Set(REALCALLERIDNUM=215)") in new stack
    -- Executing [s@macro-outbound-callerid:3] GotoIf("SIP/215-0000001f", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,6)
    -- Executing [s@macro-outbound-callerid:6] Set("SIP/215-0000001f", "USEROUTCID=78432009959") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("SIP/215-0000001f", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("SIP/215-0000001f", "TRUNKOUTCID=74997033312") in new stack
    -- Executing [s@macro-outbound-callerid:9] GotoIf("SIP/215-0000001f", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,12)
    -- Executing [s@macro-outbound-callerid:12] ExecIf("SIP/215-0000001f", "1?Set(CALLERID(all)=74997033312)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("SIP/215-0000001f", "1?Set(CALLERID(all)=78432009959)") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("SIP/215-0000001f", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("SIP/215-0000001f", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
    -- Executing [s@macro-dialout-trunk:12] GosubIf("SIP/215-0000001f", "1?sub-flp-10,s,1") in new stack
    -- Executing [s@sub-flp-10:1] ExecIf("SIP/215-0000001f", "0?Set(TARGET_FLP_10=79172205431)") in new stack
    -- Executing [s@sub-flp-10:2] GotoIf("SIP/215-0000001f", "0?match") in new stack
    -- Executing [s@sub-flp-10:3] ExecIf("SIP/215-0000001f", "0?Set(TARGET_FLP_10=779172205431)") in new stack
  == Begin MixMonitor Recording SIP/215-0000001f
    -- Executing [s@sub-flp-10:4] GotoIf("SIP/215-0000001f", "0?match") in new stack
    -- Executing [s@sub-flp-10:5] ExecIf("SIP/215-0000001f", "0?Return()") in new stack
    -- Executing [s@sub-flp-10:6] Return("SIP/215-0000001f", "") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("SIP/215-0000001f", "OUTNUM=79172205431") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("SIP/215-0000001f", "custom=SIP/mtt_out") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("SIP/215-0000001f", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("SIP/215-0000001f", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("SIP/215-0000001f", "") in new stack
    -- Executing [s@macro-dialout-trunk:17] GotoIf("SIP/215-0000001f", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("SIP/215-0000001f", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:19] Dial("SIP/215-0000001f", "SIP/mtt_out/79172205431,300,") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/mtt_out/79172205431
    -- SIP/mtt_out-00000020 is ringing
    -- SIP/mtt_out-00000020 is making progress passing it to SIP/215-0000001f
    -- SIP/mtt_out-00000020 answered SIP/215-0000001f
    -- Executing [h@macro-dialout-trunk:1] Macro("SIP/215-0000001f", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/215-0000001f", "0?endmixmoncheck") in new stack
    -- Executing [s@macro-hangupcall:2] Set("SIP/215-0000001f", "MIXMON_CALLFILENAME=/var/spool/asterisk/monitor/OUT215-20130706-130839-1373101719.31.wav") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("SIP/215-0000001f", "1?defaultmixmondir") in new stack
    -- Goto (macro-hangupcall,s,5)
   -- Executing [s@macro-hangupcall:5] System("SIP/215-0000001f", "test -e /var/spool/asterisk/monitor/OUT215-20130706-130839-1373101719.31.wav") in new stack
    -- Executing [s@macro-hangupcall:6] NoOp("SIP/215-0000001f", "SYSTEMSTATUS = SUCCESS") in new stack
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/215-0000001f", "1?endmixmoncheck") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] NoOp("SIP/215-0000001f", "End of MIXMON check") in new stack
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/215-0000001f", "1?nomeetmemon") in new stack
    -- Goto (macro-hangupcall,s,28)
    -- Executing [s@macro-hangupcall:28] NoOp("SIP/215-0000001f", "End of MEETME check") in new stack
    -- Executing [s@macro-hangupcall:29] GotoIf("SIP/215-0000001f", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,34)
    -- Executing [s@macro-hangupcall:34] NoOp("SIP/215-0000001f", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:35] GotoIf("SIP/215-0000001f", "1?noautomon2") in new stack
    -- Goto (macro-hangupcall,s,41)
    -- Executing [s@macro-hangupcall:41] NoOp("SIP/215-0000001f", "MONITOR_FILENAME=") in new stack
    -- Executing [s@macro-hangupcall:42] GotoIf("SIP/215-0000001f", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,45)
    -- Executing [s@macro-hangupcall:45] GotoIf("SIP/215-0000001f", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,48)
    -- Executing [s@macro-hangupcall:48] GotoIf("SIP/215-0000001f", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,50)
    -- Executing [s@macro-hangupcall:50] AGI("SIP/215-0000001f", "hangup.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
    -- <SIP/215-0000001f>AGI Script hangup.agi completed, returning 0
    -- Executing [s@macro-hangupcall:51] Hangup("SIP/215-0000001f", "") in new stack
  == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'SIP/215-0000001f' in macro 'hangupcall'
  == Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on 'SIP/215-0000001f'
  == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/215-0000001f' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 89172205431, 6) exited non-zero on 'SIP/215-0000001f'
  == MixMonitor close filestream
  == End MixMonitor Recording SIP/215-0000001f
aster*CLI>
удалить закрыть спам изменить тег редактировать

спросил 2013-07-05 15:53:51 +0400

ilya1801 Gravatar ilya1801
17 2 5

обновил 2013-07-06 15:40:34 +0400

Comments

callerid=${CALLERID(num)} ничего не путаете?

zzuz ( 2013-07-05 18:23:26 +0400 )редактировать

Добавил в поле Outbound Caller ID , которое находится на странице настроек транка реальный номер, звонки пошли, но когда звонок принимаю отображается другой номер, который мы отключили, соответственно появляется вопрос где он может быть прописан!?

ilya1801 ( 2013-07-06 13:04:59 +0400 )редактировать
1

Он может быть прописан в настройках!

zzuz ( 2013-07-06 14:00:52 +0400 )редактировать

Так и сделал спасибо

ilya1801 ( 2013-07-06 15:41:46 +0400 )редактировать

Поздравляю.

zzuz ( 2013-07-06 18:25:18 +0400 )редактировать

2 Ответа

1

Попробуйте задайте реальный callerid.

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

ответил 2013-07-05 17:55:27 +0400

Master135 Gravatar Master135
431 1 3 10

обновил 2013-07-05 17:56:12 +0400

Comments

Добавил в поле Outbound Caller ID , которое находится на странице настроек транка реальный номер, звонки пошли, но когда звонок принимаю отображается другой номер, который мы отключили, соответственно появляется вопрос где он может быть прописан!?

ilya1801 ( 2013-07-06 13:17:46 +0400 )редактировать
0

в редактировании есть кнопка "код"

включайте сип дебаг исмотрите что не так.

как включить дебаг смотрите тут.

http://asterisk-support.ru/question/38386/kak-poniat-chto-proiskhodit-na-asteriske/

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

ответил 2013-07-05 15:56:27 +0400

meral Gravatar meral flag of Ukraine
21228 23 18 169
http://pro-sip.net/

Comments

Так и сделал

ilya1801 ( 2013-07-06 15:41:25 +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-07-05 15:53:51 +0400

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

Обновлен: Jul 06 '13

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