اطلاعیه

بستن
هنوز اطلاعیه ای در دست نیست.

مشکل در تماس های ورودی (قطع شدن تماس بعد از پاسخ دادن)

بستن
X
 
  • فیلتر کردن
  • زمان
  • نمایش
Clear All
پست های جدید

    مشکل در تماس های ورودی (قطع شدن تماس بعد از پاسخ دادن)

    سلام یه سرور الستیکس دارم که چهار تا داخلی روش ست کردم (201 - 202 - 203 - 204) که هر داخلی هم براش followme تعریف کردم که بعد از چند ثانیه زنگ خوردن بره روی داخلی دیگه. مثلا تماس های ورودی میاد روی داخلی 201 و اگر بعد از ده ثانیه جواب نداد میره روی داخلی 202 و اگر اونم جواب نده میره روی داخلی 203 و بعدش اینجا هنگ آپ میشه. مشکلی که وجود داره اینه که وقتی داخلی ها زنگ میخورند و من گوشی رو برمیدارم سریع تماس hangup میشه و گوشی رو که میذارم دوباره همون تماس بهم وصل میشه و شروع میکنه به زنگ زدن و گوشی رو که دوباره جواب میدم سرور خودش تماس رو هنگ آپ میکنه و چند ثانیه بعدش دوباره داخلیم شروع میکنه به زنگ خوردن.
    من توی سرور تفکیک خطوط رو هم انجام دادم و پنج خط شهری دارم. موقعی که این اتفاق میوفته لاگ تماس ها رو از توی کنسول استریسک در اوردم که به این صورت هستش :
    کد:
    localhost*CLI>
        -- Starting simple switch on 'DAHDI/1-1'
        -- Executing [s@from-zaptel:1] NoOp("DAHDI/1-1", "Entering from-dahdi with DID == ") in new stack
        -- Executing [s@from-zaptel:2] Ringing("DAHDI/1-1", "") in new stack
        -- Executing [s@from-zaptel:3] Set("DAHDI/1-1", "DID=s") in new stack
        -- Executing [s@from-zaptel:4] NoOp("DAHDI/1-1", "DID is now s") in new stack
        -- Executing [s@from-zaptel:5] GotoIf("DAHDI/1-1", "1?dahdiok:checkzap") in new stack
        -- Goto (from-zaptel,s,9)
        -- Executing [s@from-zaptel:9] NoOp("DAHDI/1-1", "Is a DAHDI Channel") in new stack
        -- Executing [s@from-zaptel:10] Set("DAHDI/1-1", "CHAN=1-1") in new stack
        -- Executing [s@from-zaptel:11] Set("DAHDI/1-1", "CHAN=1") in new stack
        -- Executing [s@from-zaptel:12] Macro("DAHDI/1-1", "from-dahdi-1,s,1") in new stack
        -- Executing [s@macro-from-dahdi-1:1] NoOp("DAHDI/1-1", "Entering macro-from-dahdi-1 with DID = s and setting to: 11") in new stack
        -- Executing [s@macro-from-dahdi-1:2] Set("DAHDI/1-1", "__FROM_DID=11") in new stack
        -- Executing [s@macro-from-dahdi-1:3] Goto("DAHDI/1-1", "from-trunk,11,1") in new stack
        -- Goto (from-trunk,11,1)
      == Channel 'DAHDI/1-1' jumping out of macro 'from-dahdi-1'
        -- Executing [11@from-trunk:1] Set("DAHDI/1-1", "__FROM_DID=11") in new stack
        -- Executing [11@from-trunk:2] Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack
        -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
        -- Executing [s@app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new stack
        -- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
        -- Executing [11@from-trunk:3] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=09128888888)") in new stack
        -- Executing [11@from-trunk:4] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
        -- Executing [11@from-trunk:5] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
        -- Executing [11@from-trunk:6] Goto("DAHDI/1-1", "from-did-direct,102,1") in new stack
        -- Goto (from-did-direct,102,1)
        -- Executing [102@from-did-direct:1] GotoIf("DAHDI/1-1", "0?ext-local,102,1") in new stack
        -- Executing [102@from-did-direct:2] Macro("DAHDI/1-1", "user-callerid,") in new stack
        -- Executing [s@macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=09128888888") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/1-1", "1?Set(REALCALLERIDNUM=[FONT=Yekan]09128888888[/FONT])") in new stack
        -- Executing [s@macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in new stack
        -- Executing [s@macro-user-callerid:5] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/1-1", "1?report") in new stack
        -- Goto (macro-user-callerid,s,10)
        -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/1-1", "0?continue") in new stack
        -- Executing [s@macro-user-callerid:11] Set("DAHDI/1-1", "__TTL=64") in new stack
        -- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,19)
        -- Executing [s@macro-user-callerid:19] Set("DAHDI/1-1", "CALLERID(number)=[FONT=Yekan]09128888888[/FONT]") in new stack
        -- Executing [s@macro-user-callerid:20] Set("DAHDI/1-1", "CALLERID(name)=[FONT=Yekan]09128888888[/FONT]") in new stack
        -- Executing [s@macro-user-callerid:21] NoOp("DAHDI/1-1", "Using CallerID "[FONT=Yekan]09128888888[/FONT]" <[FONT=Yekan]09128888888[/FONT]>") in new stack
        -- Executing [102@from-did-direct:3] Set("DAHDI/1-1", "__EXTTOCALL=102") in new stack
        -- Executing [102@from-did-direct:4] GotoIf("DAHDI/1-1", "1?skipdb") in new stack
        -- Goto (from-did-direct,102,6)
        -- Executing [102@from-did-direct:6] Set("DAHDI/1-1", "__NODEST=") in new stack
        -- Executing [102@from-did-direct:7] Set("DAHDI/1-1", "__BLKVM_OVERRIDE=BLKVM/102/DAHDI/1-1") in new stack
        -- Executing [102@from-did-direct:8] Set("DAHDI/1-1", "__BLKVM_BASE=102") in new stack
        -- Executing [102@from-did-direct:9] Set("DAHDI/1-1", "DB(BLKVM/102/DAHDI/1-1)=TRUE") in new stack
        -- Executing [102@from-did-direct:10] Set("DAHDI/1-1", "RRNODEST=") in new stack
        -- Executing [102@from-did-direct:11] Set("DAHDI/1-1", "__NODEST=102") in new stack
        -- Executing [102@from-did-direct:12] GosubIf("DAHDI/1-1", "0?sub-fmsetcid,s,1") in new stack
        -- Executing [102@from-did-direct:13] Set("DAHDI/1-1", "RecordMethod=Group") in new stack
        -- Executing [102@from-did-direct:14] Macro("DAHDI/1-1", "record-enable,102-102,Group") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/1-1", "1?check") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack
        -- Executing [s@macro-record-enable:5] GotoIf("DAHDI/1-1", "1?Group:OUT") in new stack
        -- Goto (macro-record-enable,s,6)
        -- Executing [s@macro-record-enable:6] Set("DAHDI/1-1", "LOOPCNT=2") in new stack
        -- Executing [s@macro-record-enable:7] Set("DAHDI/1-1", "ITER=1") in new stack
        -- Executing [s@macro-record-enable:8] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-record-enable,s,13)
        -- Executing [s@macro-record-enable:13] Set("DAHDI/1-1", "ITER=2") in new stack
        -- Executing [s@macro-record-enable:14] GotoIf("DAHDI/1-1", "1?begin") in new stack
        -- Goto (macro-record-enable,s,8)
        -- Executing [s@macro-record-enable:8] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-record-enable,s,13)
        -- Executing [s@macro-record-enable:13] Set("DAHDI/1-1", "ITER=3") in new stack
        -- Executing [s@macro-record-enable:14] GotoIf("DAHDI/1-1", "0?begin") in new stack
        -- Executing [s@macro-record-enable:15] GotoIf("DAHDI/1-1", "0?IN") in new stack
        -- Executing [s@macro-record-enable:16] ExecIf("DAHDI/1-1", "1?MacroExit()") in new stack
        -- Executing [102@from-did-direct:15] Set("DAHDI/1-1", "RingGroupMethod=ringallv2") in new stack
        -- Executing [102@from-did-direct:16] Set("DAHDI/1-1", "_FMGRP=102") in new stack
        -- Executing [102@from-did-direct:17] GotoIf("DAHDI/1-1", "0?doconfirm") in new stack
        -- Executing [102@from-did-direct:18] Macro("DAHDI/1-1", "dial,25,tr,102") in new stack
        -- Executing [s@macro-dial:1] GotoIf("DAHDI/1-1", "1?dial") in new stack
        -- Goto (macro-dial,s,3)
        -- Executing [s@macro-dial:3] AGI("DAHDI/1-1", "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 '[FONT=Yekan]09128888888[/FONT]' number is '[FONT=Yekan]09128888888[/FONT]'
           > dialparties.agi: USE_CONFIRMATION:  'FALSE'
           > dialparties.agi: RINGGROUP_INDEX:   ''
     dialparties.agi: Methodology of ring is  'ringallv2'
        -- dialparties.agi: Added extension 102 to extension map
           > dialparties.agi: got fmgrp_prering: 5, fmgrp_grptime: 20
           > dialparties.agi: fmgrp_totalprering: 25
           > dialparties.agi: found extension in pre-ring and array
           > dialparties.agi: ringallv2 ring times: REALPRERING: 25, PRERING: 5
           > dialparties.agi: Extension 102 has call screening off
        -- dialparties.agi: Extension 102 cf is disabled
        -- dialparties.agi: Extension 102 do not disturb is disabled
           > dialparties.agi: extnum 102 has:  cw: 0; hascfb: 0 [] hascfu: 0 []
     dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
     dialparties.agi: Extension 102 has ExtensionState: 0
        -- dialparties.agi: Checking CW and CFB status for extension 102
        -- dialparties.agi: dbset CALLTRACE/102 to [FONT=Yekan]09128888888[/FONT]
        -- dialparties.agi: Filtered ARG3: 102
           > dialparties.agi: NODEST: 102 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
           > dialparties.agi: NODEST: 102 blkvm enabled macro already in dialopts: trM(auto-blkvm)
        -- <DAHDI/1-1>AGI Script dialparties.agi completed, returning 0
        -- Executing [s@macro-dial:7] Dial("DAHDI/1-1", "SIP/102,25,trM(auto-blkvm)") in new stack
      == Using SIP RTP TOS bits 184
      == Using SIP RTP CoS mark 5
        -- Called SIP/102
        -- SIP/102-00000c05 is ringing
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
        -- SIP/102-00000c05 answered DAHDI/1-1
        -- Executing [s@macro-auto-blkvm:1] Set("SIP/102-00000c05", "__MACRO_RESULT=") in new stack
        -- Executing [s@macro-auto-blkvm:2] NoOp("SIP/102-00000c05", "Deleting: BLKVM/102/DAHDI/1-1 TRUE") in new stack
        -- Executing [h@macro-dial:1] Macro("DAHDI/1-1", "hangupcall") in new stack
        -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/1-1", "1?endmixmoncheck") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] NoOp("DAHDI/1-1", "End of MIXMON check") in new stack
        -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/1-1", "1?nomeetmemon") in new stack
        -- Goto (macro-hangupcall,s,28)
        -- Executing [s@macro-hangupcall:28] NoOp("DAHDI/1-1", "End of MEETME check") in new stack
        -- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/1-1", "1?noautomon") in new stack
        -- Goto (macro-hangupcall,s,34)
        -- Executing [s@macro-hangupcall:34] NoOp("DAHDI/1-1", "TOUCH_MONITOR_OUTPUT=") in new stack
        -- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/1-1", "1?noautomon2") in new stack
        -- Goto (macro-hangupcall,s,41)
        -- Executing [s@macro-hangupcall:41] NoOp("DAHDI/1-1", "MONITOR_FILENAME=") in new stack
        -- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/1-1", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,45)
        -- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/1-1", "0?skipblkvm") in new stack
        -- Executing [s@macro-hangupcall:46] NoOp("DAHDI/1-1", "Cleaning Up Block VM Flag: BLKVM/102/DAHDI/1-1") in new stack
        -- Executing [s@macro-hangupcall:47] NoOp("DAHDI/1-1", "Deleting: BLKVM/102/DAHDI/1-1 ") in new stack
        -- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/1-1", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,50)
        -- Executing [s@macro-hangupcall:50] AGI("DAHDI/1-1", "hangup.agi") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
        -- <DAHDI/1-1>AGI Script hangup.agi completed, returning 0
        -- Executing [s@macro-hangupcall:51] Hangup("DAHDI/1-1", "") in new stack
      == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/1-1' in macro 'hangupcall'
      == Spawn extension (macro-dial, h, 1) exited non-zero on 'DAHDI/1-1'
      == Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/1-1' in macro 'dial'
      == Spawn extension (from-did-direct, 102, 18) exited non-zero on 'DAHDI/1-1'
        -- Hanging up on 'DAHDI/1-1'
        -- Hungup 'DAHDI/1-1'
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
        -- Starting simple switch on 'DAHDI/1-1'
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
        -- Executing [s@from-zaptel:1] NoOp("DAHDI/1-1", "Entering from-dahdi with DID == ") in new stack
        -- Executing [s@from-zaptel:2] Ringing("DAHDI/1-1", "") in new stack
        -- Executing [s@from-zaptel:3] Set("DAHDI/1-1", "DID=s") in new stack
        -- Executing [s@from-zaptel:4] NoOp("DAHDI/1-1", "DID is now s") in new stack
        -- Executing [s@from-zaptel:5] GotoIf("DAHDI/1-1", "1?dahdiok:checkzap") in new stack
        -- Goto (from-zaptel,s,9)
        -- Executing [s@from-zaptel:9] NoOp("DAHDI/1-1", "Is a DAHDI Channel") in new stack
        -- Executing [s@from-zaptel:10] Set("DAHDI/1-1", "CHAN=1-1") in new stack
        -- Executing [s@from-zaptel:11] Set("DAHDI/1-1", "CHAN=1") in new stack
        -- Executing [s@from-zaptel:12] Macro("DAHDI/1-1", "from-dahdi-1,s,1") in new stack
        -- Executing [s@macro-from-dahdi-1:1] NoOp("DAHDI/1-1", "Entering macro-from-dahdi-1 with DID = s and setting to: 11") in new stack
        -- Executing [s@macro-from-dahdi-1:2] Set("DAHDI/1-1", "__FROM_DID=11") in new stack
        -- Executing [s@macro-from-dahdi-1:3] Goto("DAHDI/1-1", "from-trunk,11,1") in new stack
        -- Goto (from-trunk,11,1)
      == Channel 'DAHDI/1-1' jumping out of macro 'from-dahdi-1'
        -- Executing [11@from-trunk:1] Set("DAHDI/1-1", "__FROM_DID=11") in new stack
        -- Executing [11@from-trunk:2] Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack
        -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
        -- Executing [s@app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new stack
        -- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
        -- Executing [11@from-trunk:3] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=)") in new stack
        -- Executing [11@from-trunk:4] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
        -- Executing [11@from-trunk:5] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
        -- Executing [11@from-trunk:6] Goto("DAHDI/1-1", "from-did-direct,102,1") in new stack
        -- Goto (from-did-direct,102,1)
        -- Executing [102@from-did-direct:1] GotoIf("DAHDI/1-1", "0?ext-local,102,1") in new stack
        -- Executing [102@from-did-direct:2] Macro("DAHDI/1-1", "user-callerid,") in new stack
        -- Executing [s@macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/1-1", "1?Set(REALCALLERIDNUM=)") in new stack
        -- Executing [s@macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in new stack
        -- Executing [s@macro-user-callerid:5] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/1-1", "1?report") in new stack
        -- Goto (macro-user-callerid,s,10)
        -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/1-1", "0?continue") in new stack
        -- Executing [s@macro-user-callerid:11] Set("DAHDI/1-1", "__TTL=64") in new stack
        -- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,19)
        -- Executing [s@macro-user-callerid:19] Set("DAHDI/1-1", "CALLERID(number)=") in new stack
        -- Executing [s@macro-user-callerid:20] Set("DAHDI/1-1", "CALLERID(name)=") in new stack
        -- Executing [s@macro-user-callerid:21] NoOp("DAHDI/1-1", "Using CallerID "" <>") in new stack
        -- Executing [102@from-did-direct:3] Set("DAHDI/1-1", "__EXTTOCALL=102") in new stack
        -- Executing [102@from-did-direct:4] GotoIf("DAHDI/1-1", "1?skipdb") in new stack
        -- Goto (from-did-direct,102,6)
        -- Executing [102@from-did-direct:6] Set("DAHDI/1-1", "__NODEST=") in new stack
        -- Executing [102@from-did-direct:7] Set("DAHDI/1-1", "__BLKVM_OVERRIDE=BLKVM/102/DAHDI/1-1") in new stack
        -- Executing [102@from-did-direct:8] Set("DAHDI/1-1", "__BLKVM_BASE=102") in new stack
        -- Executing [102@from-did-direct:9] Set("DAHDI/1-1", "DB(BLKVM/102/DAHDI/1-1)=TRUE") in new stack
        -- Executing [102@from-did-direct:10] Set("DAHDI/1-1", "RRNODEST=") in new stack
        -- Executing [102@from-did-direct:11] Set("DAHDI/1-1", "__NODEST=102") in new stack
        -- Executing [102@from-did-direct:12] GosubIf("DAHDI/1-1", "0?sub-fmsetcid,s,1") in new stack
        -- Executing [102@from-did-direct:13] Set("DAHDI/1-1", "RecordMethod=Group") in new stack
        -- Executing [102@from-did-direct:14] Macro("DAHDI/1-1", "record-enable,102-102,Group") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/1-1", "1?check") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack
        -- Executing [s@macro-record-enable:5] GotoIf("DAHDI/1-1", "1?Group:OUT") in new stack
        -- Goto (macro-record-enable,s,6)
        -- Executing [s@macro-record-enable:6] Set("DAHDI/1-1", "LOOPCNT=2") in new stack
        -- Executing [s@macro-record-enable:7] Set("DAHDI/1-1", "ITER=1") in new stack
        -- Executing [s@macro-record-enable:8] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-record-enable,s,13)
        -- Executing [s@macro-record-enable:13] Set("DAHDI/1-1", "ITER=2") in new stack
        -- Executing [s@macro-record-enable:14] GotoIf("DAHDI/1-1", "1?begin") in new stack
        -- Goto (macro-record-enable,s,8)
        -- Executing [s@macro-record-enable:8] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-record-enable,s,13)
        -- Executing [s@macro-record-enable:13] Set("DAHDI/1-1", "ITER=3") in new stack
        -- Executing [s@macro-record-enable:14] GotoIf("DAHDI/1-1", "0?begin") in new stack
        -- Executing [s@macro-record-enable:15] GotoIf("DAHDI/1-1", "0?IN") in new stack
        -- Executing [s@macro-record-enable:16] ExecIf("DAHDI/1-1", "1?MacroExit()") in new stack
        -- Executing [102@from-did-direct:15] Set("DAHDI/1-1", "RingGroupMethod=ringallv2") in new stack
        -- Executing [102@from-did-direct:16] Set("DAHDI/1-1", "_FMGRP=102") in new stack
        -- Executing [102@from-did-direct:17] GotoIf("DAHDI/1-1", "0?doconfirm") in new stack
        -- Executing [102@from-did-direct:18] Macro("DAHDI/1-1", "dial,25,tr,102") in new stack
        -- Executing [s@macro-dial:1] GotoIf("DAHDI/1-1", "1?dial") in new stack
        -- Goto (macro-dial,s,3)
        -- Executing [s@macro-dial:3] AGI("DAHDI/1-1", "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 'unknown' number is 'unknown'
           > dialparties.agi: USE_CONFIRMATION:  'FALSE'
           > dialparties.agi: RINGGROUP_INDEX:   ''
     dialparties.agi: Methodology of ring is  'ringallv2'
        -- dialparties.agi: Added extension 102 to extension map
           > dialparties.agi: got fmgrp_prering: 5, fmgrp_grptime: 20
           > dialparties.agi: fmgrp_totalprering: 25
           > dialparties.agi: found extension in pre-ring and array
           > dialparties.agi: ringallv2 ring times: REALPRERING: 25, PRERING: 5
           > dialparties.agi: Extension 102 has call screening off
        -- dialparties.agi: Extension 102 cf is disabled
        -- dialparties.agi: Extension 102 do not disturb is disabled
           > dialparties.agi: extnum 102 has:  cw: 0; hascfb: 0 [] hascfu: 0 []
     dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
     dialparties.agi: Extension 102 has ExtensionState: 0
        -- dialparties.agi: Checking CW and CFB status for extension 102
        -- dialparties.agi: DbDel CALLTRACE/102 - Caller ID is not defined
        -- dialparties.agi: Filtered ARG3: 102
           > dialparties.agi: NODEST: 102 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
           > dialparties.agi: NODEST: 102 blkvm enabled macro already in dialopts: trM(auto-blkvm)
        -- <DAHDI/1-1>AGI Script dialparties.agi completed, returning 0
        -- Executing [s@macro-dial:7] Dial("DAHDI/1-1", "SIP/102,25,trM(auto-blkvm)") in new stack
      == Using SIP RTP TOS bits 184
      == Using SIP RTP CoS mark 5
        -- Called SIP/102
        -- SIP/102-00000c06 is ringing
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
        -- SIP/102-00000c06 answered DAHDI/1-1
        -- Executing [s@macro-auto-blkvm:1] Set("SIP/102-00000c06", "__MACRO_RESULT=") in new stack
        -- Executing [s@macro-auto-blkvm:2] NoOp("SIP/102-00000c06", "Deleting: BLKVM/102/DAHDI/1-1 TRUE") in new stack
        -- Executing [h@macro-dial:1] Macro("DAHDI/1-1", "hangupcall") in new stack
        -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/1-1", "1?endmixmoncheck") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] NoOp("DAHDI/1-1", "End of MIXMON check") in new stack
        -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/1-1", "1?nomeetmemon") in new stack
        -- Goto (macro-hangupcall,s,28)
        -- Executing [s@macro-hangupcall:28] NoOp("DAHDI/1-1", "End of MEETME check") in new stack
        -- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/1-1", "1?noautomon") in new stack
        -- Goto (macro-hangupcall,s,34)
        -- Executing [s@macro-hangupcall:34] NoOp("DAHDI/1-1", "TOUCH_MONITOR_OUTPUT=") in new stack
        -- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/1-1", "1?noautomon2") in new stack
        -- Goto (macro-hangupcall,s,41)
        -- Executing [s@macro-hangupcall:41] NoOp("DAHDI/1-1", "MONITOR_FILENAME=") in new stack
        -- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/1-1", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,45)
        -- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/1-1", "0?skipblkvm") in new stack
        -- Executing [s@macro-hangupcall:46] NoOp("DAHDI/1-1", "Cleaning Up Block VM Flag: BLKVM/102/DAHDI/1-1") in new stack
        -- Executing [s@macro-hangupcall:47] NoOp("DAHDI/1-1", "Deleting: BLKVM/102/DAHDI/1-1 ") in new stack
        -- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/1-1", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,50)
        -- Executing [s@macro-hangupcall:50] AGI("DAHDI/1-1", "hangup.agi") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
        -- <DAHDI/1-1>AGI Script hangup.agi completed, returning 0
        -- Executing [s@macro-hangupcall:51] Hangup("DAHDI/1-1", "") in new stack
      == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/1-1' in macro 'hangupcall'
      == Spawn extension (macro-dial, h, 1) exited non-zero on 'DAHDI/1-1'
      == Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/1-1' in macro 'dial'
      == Spawn extension (from-did-direct, 102, 18) exited non-zero on 'DAHDI/1-1'
        -- Hanging up on 'DAHDI/1-1'
        -- Hungup 'DAHDI/1-1'
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
    localhost*CLI>
        -- Starting simple switch on 'DAHDI/1-1'
        -- Executing [s@from-zaptel:1] NoOp("DAHDI/1-1", "Entering from-dahdi with DID == ") in new stack
        -- Executing [s@from-zaptel:2] Ringing("DAHDI/1-1", "") in new stack
        -- Executing [s@from-zaptel:3] Set("DAHDI/1-1", "DID=s") in new stack
        -- Executing [s@from-zaptel:4] NoOp("DAHDI/1-1", "DID is now s") in new stack
        -- Executing [s@from-zaptel:5] GotoIf("DAHDI/1-1", "1?dahdiok:checkzap") in new stack
        -- Goto (from-zaptel,s,9)
        -- Executing [s@from-zaptel:9] NoOp("DAHDI/1-1", "Is a DAHDI Channel") in new stack
        -- Executing [s@from-zaptel:10] Set("DAHDI/1-1", "CHAN=1-1") in new stack
        -- Executing [s@from-zaptel:11] Set("DAHDI/1-1", "CHAN=1") in new stack
        -- Executing [s@from-zaptel:12] Macro("DAHDI/1-1", "from-dahdi-1,s,1") in new stack
        -- Executing [s@macro-from-dahdi-1:1] NoOp("DAHDI/1-1", "Entering macro-from-dahdi-1 with DID = s and setting to: 11") in new stack
        -- Executing [s@macro-from-dahdi-1:2] Set("DAHDI/1-1", "__FROM_DID=11") in new stack
        -- Executing [s@macro-from-dahdi-1:3] Goto("DAHDI/1-1", "from-trunk,11,1") in new stack
        -- Goto (from-trunk,11,1)
      == Channel 'DAHDI/1-1' jumping out of macro 'from-dahdi-1'
        -- Executing [11@from-trunk:1] Set("DAHDI/1-1", "__FROM_DID=11") in new stack
        -- Executing [11@from-trunk:2] Gosub("DAHDI/1-1", "app-blacklist-check,s,1") in new stack
        -- Executing [s@app-blacklist-check:1] GotoIf("DAHDI/1-1", "0?blacklisted") in new stack
        -- Executing [s@app-blacklist-check:2] Set("DAHDI/1-1", "CALLED_BLACKLIST=1") in new stack
        -- Executing [s@app-blacklist-check:3] Return("DAHDI/1-1", "") in new stack
        -- Executing [11@from-trunk:3] ExecIf("DAHDI/1-1", "1 ?Set(CALLERID(name)=)") in new stack
        -- Executing [11@from-trunk:4] Set("DAHDI/1-1", "__CALLINGPRES_SV=allowed_not_screened") in new stack
        -- Executing [11@from-trunk:5] Set("DAHDI/1-1", "CALLERPRES()=allowed_not_screened") in new stack
        -- Executing [11@from-trunk:6] Goto("DAHDI/1-1", "from-did-direct,102,1") in new stack
        -- Goto (from-did-direct,102,1)
        -- Executing [102@from-did-direct:1] GotoIf("DAHDI/1-1", "0?ext-local,102,1") in new stack
        -- Executing [102@from-did-direct:2] Macro("DAHDI/1-1", "user-callerid,") in new stack
        -- Executing [s@macro-user-callerid:1] Set("DAHDI/1-1", "AMPUSER=") in new stack
        -- Executing [s@macro-user-callerid:2] GotoIf("DAHDI/1-1", "0?report") in new stack
        -- Executing [s@macro-user-callerid:3] ExecIf("DAHDI/1-1", "1?Set(REALCALLERIDNUM=)") in new stack
        -- Executing [s@macro-user-callerid:4] Set("DAHDI/1-1", "AMPUSER=") in new stack
        -- Executing [s@macro-user-callerid:5] Set("DAHDI/1-1", "AMPUSERCIDNAME=") in new stack
        -- Executing [s@macro-user-callerid:6] GotoIf("DAHDI/1-1", "1?report") in new stack
        -- Goto (macro-user-callerid,s,10)
        -- Executing [s@macro-user-callerid:10] GotoIf("DAHDI/1-1", "0?continue") in new stack
        -- Executing [s@macro-user-callerid:11] Set("DAHDI/1-1", "__TTL=64") in new stack
        -- Executing [s@macro-user-callerid:12] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-user-callerid,s,19)
        -- Executing [s@macro-user-callerid:19] Set("DAHDI/1-1", "CALLERID(number)=") in new stack
        -- Executing [s@macro-user-callerid:20] Set("DAHDI/1-1", "CALLERID(name)=") in new stack
        -- Executing [s@macro-user-callerid:21] NoOp("DAHDI/1-1", "Using CallerID "" <>") in new stack
        -- Executing [102@from-did-direct:3] Set("DAHDI/1-1", "__EXTTOCALL=102") in new stack
        -- Executing [102@from-did-direct:4] GotoIf("DAHDI/1-1", "1?skipdb") in new stack
        -- Goto (from-did-direct,102,6)
        -- Executing [102@from-did-direct:6] Set("DAHDI/1-1", "__NODEST=") in new stack
        -- Executing [102@from-did-direct:7] Set("DAHDI/1-1", "__BLKVM_OVERRIDE=BLKVM/102/DAHDI/1-1") in new stack
        -- Executing [102@from-did-direct:8] Set("DAHDI/1-1", "__BLKVM_BASE=102") in new stack
        -- Executing [102@from-did-direct:9] Set("DAHDI/1-1", "DB(BLKVM/102/DAHDI/1-1)=TRUE") in new stack
        -- Executing [102@from-did-direct:10] Set("DAHDI/1-1", "RRNODEST=") in new stack
        -- Executing [102@from-did-direct:11] Set("DAHDI/1-1", "__NODEST=102") in new stack
        -- Executing [102@from-did-direct:12] GosubIf("DAHDI/1-1", "0?sub-fmsetcid,s,1") in new stack
        -- Executing [102@from-did-direct:13] Set("DAHDI/1-1", "RecordMethod=Group") in new stack
        -- Executing [102@from-did-direct:14] Macro("DAHDI/1-1", "record-enable,102-102,Group") in new stack
        -- Executing [s@macro-record-enable:1] GotoIf("DAHDI/1-1", "1?check") in new stack
        -- Goto (macro-record-enable,s,4)
        -- Executing [s@macro-record-enable:4] ExecIf("DAHDI/1-1", "0?MacroExit()") in new stack
        -- Executing [s@macro-record-enable:5] GotoIf("DAHDI/1-1", "1?Group:OUT") in new stack
        -- Goto (macro-record-enable,s,6)
        -- Executing [s@macro-record-enable:6] Set("DAHDI/1-1", "LOOPCNT=2") in new stack
        -- Executing [s@macro-record-enable:7] Set("DAHDI/1-1", "ITER=1") in new stack
        -- Executing [s@macro-record-enable:8] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-record-enable,s,13)
        -- Executing [s@macro-record-enable:13] Set("DAHDI/1-1", "ITER=2") in new stack
        -- Executing [s@macro-record-enable:14] GotoIf("DAHDI/1-1", "1?begin") in new stack
        -- Goto (macro-record-enable,s,8)
        -- Executing [s@macro-record-enable:8] GotoIf("DAHDI/1-1", "1?continue") in new stack
        -- Goto (macro-record-enable,s,13)
        -- Executing [s@macro-record-enable:13] Set("DAHDI/1-1", "ITER=3") in new stack
        -- Executing [s@macro-record-enable:14] GotoIf("DAHDI/1-1", "0?begin") in new stack
        -- Executing [s@macro-record-enable:15] GotoIf("DAHDI/1-1", "0?IN") in new stack
        -- Executing [s@macro-record-enable:16] ExecIf("DAHDI/1-1", "1?MacroExit()") in new stack
        -- Executing [102@from-did-direct:15] Set("DAHDI/1-1", "RingGroupMethod=ringallv2") in new stack
        -- Executing [102@from-did-direct:16] Set("DAHDI/1-1", "_FMGRP=102") in new stack
        -- Executing [102@from-did-direct:17] GotoIf("DAHDI/1-1", "0?doconfirm") in new stack
        -- Executing [102@from-did-direct:18] Macro("DAHDI/1-1", "dial,25,tr,102") in new stack
        -- Executing [s@macro-dial:1] GotoIf("DAHDI/1-1", "1?dial") in new stack
        -- Goto (macro-dial,s,3)
        -- Executing [s@macro-dial:3] AGI("DAHDI/1-1", "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 'unknown' number is 'unknown'
           > dialparties.agi: USE_CONFIRMATION:  'FALSE'
           > dialparties.agi: RINGGROUP_INDEX:   ''
     dialparties.agi: Methodology of ring is  'ringallv2'
        -- dialparties.agi: Added extension 102 to extension map
           > dialparties.agi: got fmgrp_prering: 5, fmgrp_grptime: 20
           > dialparties.agi: fmgrp_totalprering: 25
           > dialparties.agi: found extension in pre-ring and array
           > dialparties.agi: ringallv2 ring times: REALPRERING: 25, PRERING: 5
           > dialparties.agi: Extension 102 has call screening off
        -- dialparties.agi: Extension 102 cf is disabled
        -- dialparties.agi: Extension 102 do not disturb is disabled
           > dialparties.agi: extnum 102 has:  cw: 0; hascfb: 0 [] hascfu: 0 []
     dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
     dialparties.agi: Extension 102 has ExtensionState: 0
        -- dialparties.agi: Checking CW and CFB status for extension 102
        -- dialparties.agi: DbDel CALLTRACE/102 - Caller ID is not defined
        -- dialparties.agi: Filtered ARG3: 102
           > dialparties.agi: NODEST: 102 adding M(auto-blkvm) to dialopts: trM(auto-blkvm)
           > dialparties.agi: NODEST: 102 blkvm enabled macro already in dialopts: trM(auto-blkvm)
        -- <DAHDI/1-1>AGI Script dialparties.agi completed, returning 0
        -- Executing [s@macro-dial:7] Dial("DAHDI/1-1", "SIP/102,25,trM(auto-blkvm)") in new stack
      == Using SIP RTP TOS bits 184
      == Using SIP RTP CoS mark 5
        -- Called SIP/102
        -- SIP/102-00000c07 is ringing
        -- SIP/102-00000c07 answered DAHDI/1-1
        -- Executing [s@macro-auto-blkvm:1] Set("SIP/102-00000c07", "__MACRO_RESULT=") in new stack
        -- Executing [s@macro-auto-blkvm:2] NoOp("SIP/102-00000c07", "Deleting: BLKVM/102/DAHDI/1-1 TRUE") in new stack
    localhost*CLI>
    localhost*CLI>
        -- Executing [h@macro-dial:1] Macro("DAHDI/1-1", "hangupcall") in new stack
        -- Executing [s@macro-hangupcall:1] GotoIf("DAHDI/1-1", "1?endmixmoncheck") in new stack
        -- Goto (macro-hangupcall,s,9)
        -- Executing [s@macro-hangupcall:9] NoOp("DAHDI/1-1", "End of MIXMON check") in new stack
        -- Executing [s@macro-hangupcall:10] GotoIf("DAHDI/1-1", "1?nomeetmemon") in new stack
        -- Goto (macro-hangupcall,s,28)
        -- Executing [s@macro-hangupcall:28] NoOp("DAHDI/1-1", "End of MEETME check") in new stack
        -- Executing [s@macro-hangupcall:29] GotoIf("DAHDI/1-1", "1?noautomon") in new stack
        -- Goto (macro-hangupcall,s,34)
        -- Executing [s@macro-hangupcall:34] NoOp("DAHDI/1-1", "TOUCH_MONITOR_OUTPUT=") in new stack
        -- Executing [s@macro-hangupcall:35] GotoIf("DAHDI/1-1", "1?noautomon2") in new stack
        -- Goto (macro-hangupcall,s,41)
        -- Executing [s@macro-hangupcall:41] NoOp("DAHDI/1-1", "MONITOR_FILENAME=") in new stack
        -- Executing [s@macro-hangupcall:42] GotoIf("DAHDI/1-1", "1?skiprg") in new stack
        -- Goto (macro-hangupcall,s,45)
        -- Executing [s@macro-hangupcall:45] GotoIf("DAHDI/1-1", "0?skipblkvm") in new stack
        -- Executing [s@macro-hangupcall:46] NoOp("DAHDI/1-1", "Cleaning Up Block VM Flag: BLKVM/102/DAHDI/1-1") in new stack
        -- Executing [s@macro-hangupcall:47] NoOp("DAHDI/1-1", "Deleting: BLKVM/102/DAHDI/1-1 ") in new stack
        -- Executing [s@macro-hangupcall:48] GotoIf("DAHDI/1-1", "1?theend") in new stack
        -- Goto (macro-hangupcall,s,50)
        -- Executing [s@macro-hangupcall:50] AGI("DAHDI/1-1", "hangup.agi") in new stack
        -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
        -- <DAHDI/1-1>AGI Script hangup.agi completed, returning 0
        -- Executing [s@macro-hangupcall:51] Hangup("DAHDI/1-1", "") in new stack
      == Spawn extension (macro-hangupcall, s, 51) exited non-zero on 'DAHDI/1-1' in macro 'hangupcall'
      == Spawn extension (macro-dial, h, 1) exited non-zero on 'DAHDI/1-1'
      == Spawn extension (macro-dial, s, 7) exited non-zero on 'DAHDI/1-1' in macro 'dial'
      == Spawn extension (from-did-direct, 102, 18) exited non-zero on 'DAHDI/1-1'
        -- Hanging up on 'DAHDI/1-1'
        -- Hungup 'DAHDI/1-1'
    localhost*CLI>
        -- Remote UNIX connection
        -- Remote UNIX connection disconnected
    localhost*CLI>
    Disconnected from Asterisk server
    Executing last minute cleanups
    [root@localhost ~]#
    آخرین ویرایش توسط parham; در تاریخ/ساعت 10-31-2016, 12:46 PM.
    اینستاگرام انجمن لینوکس ایران : https://www.instagram.com/iranlinuxforum

    #2
    سلام. در لاگ که چیز خاصی نیست. خط شهری تون مشکلی نداره؟
    دیباگ sip رو فعال کنید و دوباره لاگ بفرستید.
    Instagram : https://www.instagram.com/iranlinuxforum

    Voip Trainer - Asterisk - Elastix - Agi Programming- NewRock

    Voip Expert :ASTERISK-ELASTIX-NewRock Certified-With Experience of Working With
    Sangoma-Digium-Openvox-Synway-Atcom-Quintum Tenor-Polycom-Yealink-Rtx-Snom
    Cisco Collaboration - CME-CUCM-CUPs-CUC-WEBEX
    LPI ( Fundamental - LPI1 and LPI2 ) - Monitoring: ZABBIX-VOIPMONITOR-NAGIOS - CCNA

    Linkedin Profile : https://www.linkedin.com/in/masuma-vahid-26b17b66/

    کامنت

    درباره انجمن منطقه لینوکسی ها

    انجمن منطقه لینوکسی ها با هدف ارتقاء سطح علمی کاربران در سطح جهانی و همچنین کمک به بالا بردن سطح علمی عمومی در زمینه های تخصصی فوق پایه گذاری شده است. انجمن منطقه لینوکسی ها از طریق کارشناسان و متخصصان پاسخگوی سوالات گوناگون کاربران مبتدی یا پیشرفته میباشد تا حد امکان تلاش شده که محیطی متنوع و کاربر پسند و به دور از هرگونه حاشیه جهت فعالیت کاربران در این انجمن ایجاد شود. لذا ما به صورت مستمر برای پیشرفت کمی و کیفی محتوی و اطلاعات انجمنمان میکوشیم که این برای ما ارزشمند و حائز اهمیت است. کلیه حقوق،اطلاعات و مقالات در این انجمن متعلق به سایت منطقه لینوکسی ها میباشد، و هرگونه نسخه برداری بدون ذکر منبع مورد پیگرد قانونی خواهد شد.

    شبکه های اجتماعی
    در حال انجام ...
    X