Страница 4 из 4

Re: Исходящие работают, входящий "занято"

Добавлено: 28 окт 2015, 16:08
pogreb
Ситуация повторилась
Звонишь на номер занято - канала нет!
Иду по схеме Dedа.
В CLI что то есть, но что я не понимаю.

Код: Выделить всё

    -- Executing [s@checkinternalcaller:12] Set("SIP/2109-00026e1b", "_CallerMonitor=yes") in new stack
    -- Executing [s@checkinternalcaller:13] GotoIf("SIP/2109-00026e1b", "0?:port") in new stack
    -- Goto (checkinternalcaller,s,21)
    -- Executing [s@checkinternalcaller:21] Return("SIP/2109-00026e1b", "") in new stack
    -- Executing [2138@internal:22] Goto("SIP/2109-00026e1b", "internal-cos6,2138,1") in new stack
    -- Goto (internal-cos6,2138,1)
    -- Executing [2138@internal-cos6:1] Gosub("SIP/2109-00026e1b", "dial,s,1(2138,INTERNAL)") in new stack
    -- Executing [s@dial:1] NoOp("SIP/2109-00026e1b", "OK we got a call. Maybe guy 2138 wants to forward calls?") in new stack
    -- Executing [s@dial:2] ExecIf("SIP/2109-00026e1b", "0?Hangup()") in new stack
    -- Executing [s@dial:3] Goto("SIP/2109-00026e1b", "2138,1") in new stack
    -- Goto (dial,2138,1)
    -- Executing [2138@dial:1] NoOp("SIP/2109-00026e1b", "OK we got a call. Maybe guy 2138 wants to forward calls?") in new stack
    -- Executing [2138@dial:2] NoOp("SIP/2109-00026e1b", "CallUniqueId - 1446011283.159438") in new stack
    -- Executing [2138@dial:3] ExecIf("SIP/2109-00026e1b", "0?Set(_CalledNum=):Set(_CalledNum=2138)") in new stack
    -- Executing [2138@dial:4] Set("SIP/2109-00026e1b", "ARG1=") in new stack
    -- Executing [2138@dial:5] Set("SIP/2109-00026e1b", "DialTimeout=") in new stack
    -- Executing [2138@dial:6] Set("SIP/2109-00026e1b", "ARG3=") in new stack
    -- Executing [2138@dial:7] Set("SIP/2109-00026e1b", "ARG2=") in new stack
    -- Executing [2138@dial:8] ExecIf("SIP/2109-00026e1b", "0?Set(CallOrigin=fromivr)") in new stack
    -- Executing [2138@dial:9] ExecIf("SIP/2109-00026e1b", "1?Set(CallType=INTERNAL)") in new stack
    -- Executing [2138@dial:10] ExecIf("SIP/2109-00026e1b", "0?Set(CallType=INBOUND)") in new stack
    -- Executing [2138@dial:11] ExecIf("SIP/2109-00026e1b", "0?Set(CallType=INTERNAL)") in new stack
    -- Executing [2138@dial:12] ExecIf("SIP/2109-00026e1b", "0?Set(CallType=INBOUND)") in new stack
    -- Executing [2138@dial:13] Gosub("SIP/2109-00026e1b", "webcall,s,1") in new stack
    -- Executing [s@webcall:1] GotoIf("SIP/2109-00026e1b", "1?nowebcall") in new stack
    -- Goto (webcall,s,4)
    -- Executing [s@webcall:4] NoOp("SIP/2109-00026e1b", "Exit from macro WebCall") in new stack
    -- Executing [s@webcall:5] Return("SIP/2109-00026e1b", "") in new stack
    -- Executing [2138@dial:14] NoOp("SIP/2109-00026e1b", "Exten - 2138,CallType - INTERNAL, timeout - , CallOrigin - ") in new stack
    -- Executing [2138@dial:15] NoOp("SIP/2109-00026e1b", "CallerType - Port, calleridnum - 2109, Record caller - yes") in new stack
    -- Executing [2138@dial:16] NoOp("SIP/2109-00026e1b", "Lets set who we call port or agent. Or maybe CF?") in new stack
    -- Executing [2138@dial:17] Set("SIP/2109-00026e1b", "Called=Port") in new stack
    -- Executing [2138@dial:18] Set("SIP/2109-00026e1b", "CalledPort=2138") in new stack
    -- Executing [2138@dial:19] Set("SIP/2109-00026e1b", "_CalledNumCos=1") in new stack
    -- Executing [2138@dial:20] Gosub("SIP/2109-00026e1b", "callforward,abs,1") in new stack
    -- Executing [abs@callforward:1] NoOp("SIP/2109-00026e1b", "Absolute callforward") in new stack
    -- Executing [abs@callforward:2] Set("SIP/2109-00026e1b", "CallForwardType=absolute") in new stack
    -- Executing [abs@callforward:3] Goto("SIP/2109-00026e1b", "s,1") in new stack
    -- Goto (callforward,s,1)
    -- Executing [s@callforward:1] NoOp("SIP/2109-00026e1b", "Callforward. Check if we need to forward call somewhere else. CalledNum=2138, Type=absolute") in new stack
    -- Executing [s@callforward:2] NoOp("SIP/2109-00026e1b", "Called COS - 1") in new stack
    -- Executing [s@callforward:3] NoOp("SIP/2109-00026e1b", "DB(Num2138/CF/absolute/forward-to) = ") in new stack
    -- Executing [s@callforward:4] GotoIf("SIP/2109-00026e1b", "0?:nocf,1") in new stack
    -- Goto (callforward,nocf,1)
    -- Executing [nocf@callforward:1] NoOp("SIP/2109-00026e1b", "No call forwarding on 2138, exit macros") in new stack
    -- Executing [nocf@callforward:2] Return("SIP/2109-00026e1b", "") in new stack
    -- Executing [2138@dial:21] Set("SIP/2109-00026e1b", "CalledMonitor=yes") in new stack
    -- Executing [2138@dial:22] NoOp("SIP/2109-00026e1b", "Port is 1") in new stack
    -- Executing [2138@dial:23] NoOp("SIP/2109-00026e1b", "Agent is 0") in new stack
    -- Executing [2138@dial:24] ExecIf("SIP/2109-00026e1b", "0?Set(Called=Agent)") in new stack
    -- Executing [2138@dial:25] ExecIf("SIP/2109-00026e1b", "0?Set(CalledPort=)") in new stack
    -- Executing [2138@dial:26] ExecIf("SIP/2109-00026e1b", "0?Set(CalledMonitor=yes)") in new stack
    -- Executing [2138@dial:27] NoOp("SIP/2109-00026e1b", "Port with cid 2109 calls Port 2138") in new stack
    -- Executing [2138@dial:28] NoOp("SIP/2109-00026e1b", "Called COS - 1. CalledMonitor - yes") in new stack
    -- Executing [2138@dial:29] GotoIf("SIP/2109-00026e1b", "0?failed,1") in new stack
    -- Executing [2138@dial:30] Gosub("SIP/2109-00026e1b", "logcall,s,1") in new stack
    -- Executing [s@logcall:1] NoOp("SIP/2109-00026e1b", "This is macro logcall") in new stack
    -- Executing [s@logcall:2] NoOp("SIP/2109-00026e1b", "BLINDTR = . CallerCos - 6. Calltype is INTERNAL. CalleridNum - 2109") in new stack
    -- Executing [s@logcall:3] NoOp("SIP/2109-00026e1b", "Called Number = 2138. caller - Port. Calledtype - Port") in new stack
    -- Executing [s@logcall:4] NoOp("SIP/2109-00026e1b", "calleragentnum - 2109. calleragentext - 2109. calledagentext - 2138") in new stack
    -- Executing [s@logcall:5] NoOp("SIP/2109-00026e1b", "CallerMonitor - yes. CalledMonitor - yes") in new stack
    -- Executing [s@logcall:6] Set("SIP/2109-00026e1b", "CallerAgentExt=""") in new stack
    -- Executing [s@logcall:7] ExecIf("SIP/2109-00026e1b", "0?Set(CallerAgentExt="\[2109\]")") in new stack
    -- Executing [s@logcall:8] GotoIf("SIP/2109-00026e1b", "0?outgo,1") in new stack
    -- Executing [s@logcall:9] GotoIf("SIP/2109-00026e1b", "0?fromqueue,1") in new stack
    -- Executing [s@logcall:10] GotoIf("SIP/2109-00026e1b", "1?:called,1") in new stack
    -- Executing [s@logcall:11] GotoIf("SIP/2109-00026e1b", "1?rec,1:norec,1") in new stack
    -- Goto (logcall,rec,1)
    -- Executing [rec@logcall:1] NoOp("SIP/2109-00026e1b", "Recording is needed") in new stack
    -- Executing [rec@logcall:2] NoOp("SIP/2109-00026e1b", "Monitoring INTERNAL call with CallerID 2109 to ext. 2138") in new stack
    -- Executing [rec@logcall:3] GotoIf("SIP/2109-00026e1b", "0?aftertransfer,1") in new stack
    -- Executing [rec@logcall:4] Set("SIP/2109-00026e1b", "__CallMonitorFilename=20151028-084803-2109-2138-1446011283-159438") in new stack
    -- Executing [rec@logcall:5] QueueLog("SIP/2109-00026e1b", "1446011283.159438,2109,Port"",INTERNAL,2138|") in new stack
    -- Executing [rec@logcall:6] MixMonitor("SIP/2109-00026e1b", "/var/calls/20151028-084803-2109-2138-1446011283-159438.wav,a") in new stack
    -- Executing [rec@logcall:7] Return("SIP/2109-00026e1b", "") in new stack
    -- Executing [2138@dial:31] Gosub("SIP/2109-00026e1b", "apicall,s,1") in new stack
  == Begin MixMonitor Recording SIP/2109-00026e1b
    -- Executing [s@apicall:1] GotoIf("SIP/2109-00026e1b", "1?noapicall") in new stack
    -- Goto (apicall,s,7)
    -- Executing [s@apicall:7] NoOp("SIP/2109-00026e1b", "Exit from macro ApiCall") in new stack
    -- Executing [s@apicall:8] Return("SIP/2109-00026e1b", "") in new stack
    -- Executing [2138@dial:32] Set("SIP/2109-00026e1b", "THISTIMEOUT=100") in new stack
    -- Executing [2138@dial:33] ExecIf("SIP/2109-00026e1b", "0?Set(THISTIMEOUT=)") in new stack
    -- Executing [2138@dial:34] ExecIf("SIP/2109-00026e1b", "0?Set(THISTIMEOUT=)") in new stack
    -- Executing [2138@dial:35] GotoIf("SIP/2109-00026e1b", "0?chanunavail,1") in new stack
    -- Executing [2138@dial:36] GotoIf("SIP/2109-00026e1b", "0?chanunavail,1") in new stack
    -- Executing [2138@dial:37] Set("SIP/2109-00026e1b", "__TRANSFER_CONTEXT=transfered-context") in new stack
    -- Executing [2138@dial:38] Set("SIP/2109-00026e1b", "ThisCallOptions=t") in new stack
    -- Executing [2138@dial:39] ExecIf("SIP/2109-00026e1b", "0?Set(ThisCallOptions=t)") in new stack
    -- Executing [2138@dial:40] ExecIf("SIP/2109-00026e1b", "1?Set(ThisCallOptions=Tt)") in new stack
    -- Executing [2138@dial:41] UserEvent("SIP/2109-00026e1b", "Port,Agent: 2138,Port: 2138,Status: Ringing,CallerID: 2109,Uniqueid: 1446011283.159438,Monitor: ,Channel: SIP/2109-00026e1b") in new stack
    -- Executing [2138@dial:42] Set("SIP/2109-00026e1b", "_CFDirectId=1446011283.159438") in new stack
    -- Executing [2138@dial:43] Set("SIP/2109-00026e1b", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
    -- Executing [2138@dial:44] ExecIf("SIP/2109-00026e1b", "1?Set(CHANNEL(musicclass)=moh-1):Set(CHANNEL(musicclass)=default)") in new stack
    -- Executing [2138@dial:45] ExecIf("SIP/2109-00026e1b", "0?Set(ThisCallOptions=TtA())") in new stack
    -- Executing [2138@dial:46] Set("SIP/2109-00026e1b", "CALLED_PARTY_ANNOUNCE=") in new stack
    -- Executing [2138@dial:47] GotoIf("SIP/2109-00026e1b", "1?not_forwarding") in new stack
    -- Goto (dial,2138,49)
    -- Executing [2138@dial:49] NoOp("SIP/2109-00026e1b", "") in new stack
    -- Executing [2138@dial:50] Set("SIP/2109-00026e1b", "SIPADDHEADER01=") in new stack
    -- Executing [2138@dial:51] ExecIf("SIP/2109-00026e1b", "0?Set(_SIPADDHEADER01=Call-Info: ;answer-after=0)") in new stack
    -- Executing [2138@dial:52] Dial("SIP/2109-00026e1b", "SIP/2138,100,Ttg") in new stack
  == Using SIP RTP CoS mark 5
    -- Called SIP/2138
    -- Executing [s@macro-find-agent-connectedline:1] Set("SIP/2109-00026e1b", "callingnum=2138") in new stack
    -- Executing [s@macro-find-agent-connectedline:2] GotoIf("SIP/2109-00026e1b", "0?:port") in new stack
    -- Goto (macro-find-agent-connectedline,s,6)
    -- Executing [s@macro-find-agent-connectedline:6] MacroExit("SIP/2109-00026e1b", "") in new stack
    -- Executing [s@macro-find-agent-connectedline:1] Set("SIP/2109-00026e1b", "callingnum=2138") in new stack
    -- Executing [s@macro-find-agent-connectedline:2] GotoIf("SIP/2109-00026e1b", "0?:port") in new stack
    -- Goto (macro-find-agent-connectedline,s,6)
    -- Executing [s@macro-find-agent-connectedline:6] MacroExit("SIP/2109-00026e1b", "") in new stack
    -- Got SIP response 486 "Busy Here" back from 10.43.1.77:7172
    -- SIP/2138-00026e1c is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [2138@dial:53] ExecIf("SIP/2109-00026e1b", "0?Set(SIPADDHEADER01=") in new stack
    -- Executing [2138@dial:54] ExecIf("SIP/2109-00026e1b", "0?Set(__LAST_AGENT=2138)") in new stack
    -- Executing [2138@dial:55] GotoIf("SIP/2109-00026e1b", "0?chanunavail,1") in new stack
    -- Executing [2138@dial:56] GotoIf("SIP/2109-00026e1b", "0?ans,1") in new stack
    -- Executing [2138@dial:57] GotoIf("SIP/2109-00026e1b", "0?noans,1") in new stack
    -- Executing [2138@dial:58] GotoIf("SIP/2109-00026e1b", "1?busy,1") in new stack
    -- Goto (dial,busy,1)
    -- Executing [busy@dial:1] NoOp("SIP/2109-00026e1b", "Got BUSY. Maybe forward call?") in new stack
    -- Executing [busy@dial:2] Gosub("SIP/2109-00026e1b", "callforward,busy,1") in new stack
    -- Executing [busy@callforward:1] NoOp("SIP/2109-00026e1b", "CF on Busy") in new stack
    -- Executing [busy@callforward:2] Set("SIP/2109-00026e1b", "CallForwardType=busy") in new stack
    -- Executing [busy@callforward:3] Goto("SIP/2109-00026e1b", "s,1") in new stack
    -- Goto (callforward,s,1)
    -- Executing [s@callforward:1] NoOp("SIP/2109-00026e1b", "Callforward. Check if we need to forward call somewhere else. CalledNum=2138, Type=busy") in new stack
    -- Executing [s@callforward:2] NoOp("SIP/2109-00026e1b", "Called COS - 1") in new stack
    -- Executing [s@callforward:3] NoOp("SIP/2109-00026e1b", "DB(Num2138/CF/busy/forward-to) = ") in new stack
    -- Executing [s@callforward:4] GotoIf("SIP/2109-00026e1b", "0?:nocf,1") in new stack
    -- Goto (callforward,nocf,1)
    -- Executing [nocf@callforward:1] NoOp("SIP/2109-00026e1b", "No call forwarding on 2138, exit macros") in new stack
    -- Executing [nocf@callforward:2] Return("SIP/2109-00026e1b", "") in new stack
    -- Executing [busy@dial:3] GotoIf("SIP/2109-00026e1b", "0?callbackout,more,1") in new stack
    -- Executing [busy@dial:4] Busy("SIP/2109-00026e1b", "5") in new stack
  == Spawn extension (dial, busy, 4) exited non-zero on 'SIP/2109-00026e1b'
    -- Executing [h@dial:1] NoOp("SIP/2109-00026e1b", "Dialstatus is BUSY") in new stack
    -- Executing [h@dial:2] UserEvent("SIP/2109-00026e1b", "UserCallStatus,UniqueID: 1446011283.159438,Channel: SIP/2109-00026e1b,Status: BUSY,ActionID: ") in new stack
    -- Executing [h@dial:3] Gosub("SIP/2109-00026e1b", "sip-transfer-check,s,1") in new stack
    -- Executing [s@sip-transfer-check:1] NoOp("SIP/2109-00026e1b", "Проверим был ли SIP Transfer только для отвеченных звонков") in new stack
    -- Executing [s@sip-transfer-check:2] NoOp("SIP/2109-00026e1b", "CDR(dstchannel) - SIP/2138-00026e1c. DIALEDPEERNAME - . Channel 0026e1") in new stack
    -- Executing [s@sip-transfer-check:3] GotoIf("SIP/2109-00026e1b", "1?:endcheck,1") in new stack
    -- Executing [s@sip-transfer-check:4] GotoIf("SIP/2109-00026e1b", "0?:endcheck,1") in new stack
    -- Goto (sip-transfer-check,endcheck,1)
    -- Executing [endcheck@sip-transfer-check:1] NoOp("SIP/2109-00026e1b", "Call was not transfered") in new stack
    -- Executing [endcheck@sip-transfer-check:2] Return("SIP/2109-00026e1b", "") in new stack
    -- Executing [h@dial:4] NoOp("SIP/2109-00026e1b", "Hangup in dial") in new stack
    -- Executing [h@dial:5] Gosub("SIP/2109-00026e1b", "dumpvars,s,1") in new stack
    -- Executing [s@dumpvars:1] NoOp("SIP/2109-00026e1b", "Context - dumpvars") in new stack
    -- Executing [s@dumpvars:2] NoOp("SIP/2109-00026e1b", "DIALSTATUS - BUSY") in new stack
    -- Executing [s@dumpvars:3] NoOp("SIP/2109-00026e1b", "CHANNEL - SIP/2109-00026e1b") in new stack
    -- Executing [s@dumpvars:4] NoOp("SIP/2109-00026e1b", "CallUniqueId = 1446011283.159438") in new stack
    -- Executing [s@dumpvars:5] NoOp("SIP/2109-00026e1b", "CallOriginChannel = ") in new stack
    -- Executing [s@dumpvars:6] NoOp("SIP/2109-00026e1b", "CALLERID(dnid) - 2138") in new stack
    -- Executing [s@dumpvars:7] NoOp("SIP/2109-00026e1b", "DIALEDPEERNUMBER - . DIALEDPEERNAME - ") in new stack
    -- Executing [s@dumpvars:8] NoOp("SIP/2109-00026e1b", "TRANSFERSTATUS - ") in new stack
    -- Executing [s@dumpvars:9] NoOp("SIP/2109-00026e1b", "TRANSFERERNAME - ") in new stack
    -- Executing [s@dumpvars:10] NoOp("SIP/2109-00026e1b", "SIPTRANSFER - ") in new stack
    -- Executing [s@dumpvars:11] NoOp("SIP/2109-00026e1b", "SIPTRANSFER_REFERER - ") in new stack
    -- Executing [s@dumpvars:12] NoOp("SIP/2109-00026e1b", "SIPTRANSFER_REPLACES - ") in new stack
    -- Executing [s@dumpvars:13] NoOp("SIP/2109-00026e1b", "UNIQUEID - 1446011283.159438") in new stack
    -- Executing [s@dumpvars:14] NoOp("SIP/2109-00026e1b", "SIPCALLID - 689033170-7172-421@BA.ED.HJ.F") in new stack
    -- Executing [s@dumpvars:15] NoOp("SIP/2109-00026e1b", "BRIDGEPEER - ") in new stack
    -- Executing [s@dumpvars:16] NoOp("SIP/2109-00026e1b", "DIALEDPEERNAME - ") in new stack
    -- Executing [s@dumpvars:17] NoOp("SIP/2109-00026e1b", "MEMBERINTERFACE - ") in new stack
    -- Executing [s@dumpvars:18] NoOp("SIP/2109-00026e1b", "CDR(clid) - "ГНВ" <2109>") in new stack
    -- Executing [s@dumpvars:19] NoOp("SIP/2109-00026e1b", "CDR(channel) - SIP/2109-00026e1b") in new stack
    -- Executing [s@dumpvars:20] NoOp("SIP/2109-00026e1b", "CDR(src) - 2109") in new stack
    -- Executing [s@dumpvars:21] NoOp("SIP/2109-00026e1b", "CDR(dst) - busy") in new stack
    -- Executing [s@dumpvars:22] NoOp("SIP/2109-00026e1b", "CDR(dstchannel) - SIP/2138-00026e1c") in new stack
    -- Executing [s@dumpvars:23] NoOp("SIP/2109-00026e1b", "CDR(lastapp) - Busy") in new stack
    -- Executing [s@dumpvars:24] NoOp("SIP/2109-00026e1b", "CDR(lastdata) - 5") in new stack
    -- Executing [s@dumpvars:25] NoOp("SIP/2109-00026e1b", "CallerType - Port") in new stack
    -- Executing [s@dumpvars:26] NoOp("SIP/2109-00026e1b", "PortNum - 2109") in new stack
    -- Executing [s@dumpvars:27] NoOp("SIP/2109-00026e1b", "PortName - ГНВ") in new stack
    -- Executing [s@dumpvars:28] NoOp("SIP/2109-00026e1b", "OurNum - 2109") in new stack
    -- Executing [s@dumpvars:29] NoOp("SIP/2109-00026e1b", "OurName -ГНВ") in new stack
    -- Executing [s@dumpvars:30] NoOp("SIP/2109-00026e1b", "NumCos - 6") in new stack
    -- Executing [s@dumpvars:31] NoOp("SIP/2109-00026e1b", "CalledNum - 2138") in new stack
    -- Executing [s@dumpvars:32] DumpChan("SIP/2109-00026e1b", "") in new stack

Dumping Info For Channel: SIP/2109-00026e1b:
================================================================================
Info:
Name=               SIP/2109-00026e1b
Type=               SIP
UniqueID=           1446011283.159438
LinkedID=           1446011283.159438
CallerIDNum=        2109
CallerIDName=       ГНВ
ConnectedLineIDNum= 2138
ConnectedLineIDName=Начальник_охраны
DNIDDigits=         2138
RDNIS=              (N/A)
Parkinglot=         default
Language=           ru
State=              Busy (7)
Rings=              0
NativeFormat=       0x8 (alaw)
WriteFormat=        0x8 (alaw)
ReadFormat=         0x8 (alaw)
RawWriteFormat=     0x8 (alaw)
RawReadFormat=      0x8 (alaw)
WriteTranscode=     No
ReadTranscode=      No
1stFileDescriptor=  86
Framesin=           2
Framesout=          0
TimetoHangup=       0
ElapsedTime=        0h0m0s
DirectBridge=       <none>
IndirectBridge=     <none>
Context=            dumpvars
Extension=          s
Priority=           32
CallGroup=          1
PickupGroup=        1
Application=        DumpChan
Data=               (Empty)
Blocking_in=        (Not Blocking)

Variables:
ARGC=0
ARG2=
ARG1=
GOSUB_RETVAL=
CallForwardType=busy
DIALSTATUS=BUSY
MACRO_DEPTH=0
callingnum=2138
DIALEDTIME=
ANSWEREDTIME=
DIALEDPEERNAME=
DIALEDPEERNUMBER=
SIPADDHEADER01=
CALLED_PARTY_ANNOUNCE=
DB_RESULT=moh-1
CFDirectId=1446011283.159438
ThisCallOptions=Tt
TRANSFER_CONTEXT=transfered-context
THISTIMEOUT=100
MIXMONITOR_FILENAME=/var/calls/20151028-084803-2109-2138-1446011283-159438.wav
CallMonitorFilename=20151028-084803-2109-2138-1446011283-159438
CallerAgentExt=""
CalledMonitor=yes
CalledNumCos=1
CalledPort=2138
Called=Port
CallType=INTERNAL
ARG2=
ARG3=
DialTimeout=
ARG1=
CalledNum=2138
ARGC=2
CallerMonitor=yes
NumCos=6
OurName=ГНВ
OurNum=2109
PortName=ГНВ
PortNum=2109
CallerType=Port
CONNECTED_LINE_CALLEE_SEND_MACRO=find-agent-connectedline
CONNECTED_LINE_CALLER_SEND_MACRO=find-agent-connectedline
CallUniqueId=1446011283.159438
PhoneForward=0
FilteredExten=2138
SIPCALLID=689033170-7172-421@BA.ED.HJ.F
SIPDOMAIN=10.3.0.246
SIPURI=sip:2109@10.43.79.5:7172
================================================================================
    -- Executing [s@dumpvars:33] Return("SIP/2109-00026e1b", "") in new stack
Запрос INVITE я не увидел
Что еще посмотреть?
Спасибо!

Re: Исходящие работают, входящий "занято"

Добавлено: 28 окт 2015, 17:00
ded
Звонили на 2138 в контексте internal (а такого контекста нет в FreePBX) с номера 2109, при этом был получен ответ "Busy Here"

Код: Выделить всё

 MacroExit("SIP/2109-00026e1b", "") in new stack
    -- Got SIP response 486 "Busy Here" back from 10.43.1.77:7172
Много численные GoSub и макросы говорят о том, что это переделланный FreePBX, а вставки для отладки

Код: Выделить всё

NoOp("SIP/2109-00026e1b", "Проверим был ли SIP Transfer только для отвеченных звонков")
говорят, что это делали не Вы (иначе бы всё было бы понятно).

Таким образом - Вам к автору (-ам) этого творения, или в платный суппорт.