Вот лог о котором вы просили, а на каждом порту такая же фигня
OUTGOING CallLegStateChangedEv hCallLeg [6894c0] - State changed t
RVSIP_MSG_REQUES
********************************************.cid=2
F
msg.cid=2 msg.command=132 at send2AP
2-RVSIP_CALL_LEG_STATE_CONNECTE
pipeEventHandle is comming msg.cid=2 msg.command=139!!=131 at send2AP
My
slot=2 is into the FXO_State_Machine
M
pipeEventHandle is comming msg.cid=2 msg.command=132!!
2-RVSIP_CALL_LEG_MODIFY_STATE_IDL
slot=2 is into the FXO_State_MachineyCall[CallIndex[thiscall]].Originato
CloseChannel2 ----------- ChInfo[(channel)].Active = 1
Channel 2 se
Line: 2, Event 132 Occured, State Ch
OpenChannel2 -------- codec 1 active 1 RTP_active 1
)
OFF_H
vpEvent_handler CID=2 event=8
Channel 2
2-EV_RTCPdec UsrCh
msg.cid=2 msg.command=105 at send2AP
Set_DTMF_Ty
pipeEventHandle is comming msg.cid=2 msg.command=105!!nt=8
slot=2 is into the FXO_State_Machine
vpEvent_handler CID=2 event=8
cid= 2,channel=0,MyCall[channel].Originator.Type=1nt_handler CID=2 event=18
Set_DJBufCmd -------- channel2, type = 1msg.cid=2 msg.command=148 at send2AP
hCallLeg()=...688f90..
thiscall()=...2..
pipeEventHandle is comming msg.cid=2 msg.command=148!!G CallLegStateChangedEv hCallLeg [688f90] - State chan
slot=2 is into the FXO_State_Machine
proceed_dial cid=2onnecting.........
Start dialling at proceed_dial()LegStateChangedEvHandler e
>M
2-RvSipCallLegMgrCreateCallLeg() ok!
R
Enter AppCallLegMsgToSendEvHandler()...P_METHOD_BYE 200 OK
MyCall[0].Originator.Data.Fxo.cid=2d2AP
hCallLeg()=...689228..ING CallLegStateChange
thiscall()=...2..90] - State chang
vocodata.pAudioCap[0].sItem=g711Ulaw64k...
vocodata.pAudioCap[1].sItem=g729...
AppCallLegStateChangedE
vocodata.pAudioCap[2].sItem=g729AnnexA...
MyCall[0].Terminator1.D
vocodata.pAudioCap[3].sItem=g729wAnnexB...
FindIPCall thiscall 2
vocodata.pAudioCap[4].sItem=g729SCO
...........OUTGOING CallLegStateChangedEv hCallLeg [689228] - State changed to I
MyCall[0].Terminator1.Data.Fxo.cid=2
Fin
nviting...........
AppCallLegStateChangedEvHandler eState: 1
*************
MyCall[0].Originator.Data.Fxo.cid=2
FindIPCall thiscall 2mand=132 at send2AP
2-RVSIP_CALL_LEG_ST
pipeEventHandle is comming m
2-RvSipCallLegMake() ok...
Line: 2, Event 148 Occured, State Change from (RING) to (DIALLING)
pipeEventHandle is comming msg.cid
MyCall[0].Originator.Data.Fxo.cid=2
RVSIP_MSG_RESPONSEthe IP_State_Machi
Enter AppCallLegMsgToSendEvHandler().
*** 2002 was being Invited ***
onnected...........namebuffer 2002
AppCallLegStateChangedEvHandler eState: 6
pass...
MyCall[0].Originator.Data.Fxo.cid=2
>>>Line-1
FindIPCall thiscall 2
h
2-RVSIP_CALL_LEG_STATE_CONNECTED
Local port
msg.cid=2 msg.comman
cid= -1,channel=0,MyCall[ch
MyCall[0].Originator.Data.Fxo.cid=2
MyCall[CallIndex[2]].hCallLeg = 689228, Dst port Type: 1
2-RVSIP_CALL_LEG_MODIFY_STATE_IDLEyCall[channel].input_str_DTMF=2002
MyCall[CallIndex[thiscall]].Terminator1.Data.IallLegCreatedEvHan
Stop_CallProgress -------- Channel 2ng...........
AppC
OFF_Hook -------- channel2eState: 4
CloseChannel2 ----------- ChInfo[(channel)].Active = 1cid=1
FindIPCall t
Line: 2, Event 131 Occured, State Change from (DIALLING) to (CONNECTED)
msg.cid=1 msg.command=130
Channel 2 select codec UsrChIn 1 and ChIn 1ming msg.cid=1 msg.command=130!!
OpenChannel2 -------- codec 1 active 1 RTP_active 1to the IP_State_Machine
vpEvent_handler CID=2 event=8<<<
2-EV_RTCP1 msg.com
2-EV_DETECT_CALL_PROGRESS_TONE---(6)1, type = 11, type = 1mmand=) to sta
2-EV_DETECT_CALL_PROGRESS_TONE---Disconnect tone detected
r
Recor
Set_DJBu
msg.cid=2 msg.command=111 at send2AP
...........OUTGOING CallLegStateChangedEv hCallLeg [689228] - State changed to D
slot=1 is into the IP_State_Machine 1 : 0
isconnected...........
1-RvSipCallLeg
AppCallLegStateChangedEvHandler eState: 7
Enter AppCallLegMsgToSendEvHandler()
MyCall[0].Originator.Data.Fxo.cid=2
Press (R) to start recor
FindIPCall thiscall 2
MyCall[0].Terminator
2-RVSIP_CALL_LEG_STATE_DISCONNECTEDstop!!
Enter AppCallLegMsgToSendEvHandl
AppCallLegS
MyCall[0].Originator.Data.Fxo.cid=2...
FindIPCall thiscall 2all[0].Terminator1.Da
2-RVSIP_CALL_LEG_STATE_TERMINATED
********************************************
Continue to
MyCall[CallInde
msg.cid=2 msg.command=132 at send2APLeg=68960c....Press (R) to start rec
pipeEventHandle is comming msg.cid=2 msg.command=111!!
r
Anal
slot=2 is into the FXO_State_MachineIn 1 and ChIn 1
2-RvSipCallLegDisc
ON_Hook -------- channel2msg.cid=2 msg.command=105 at send2AP-- channel1
usr/config$ recor
pipeEventHandle is comming msg.cid=2 msg.command=105!!1o start record...
VP_DAA detect Line 2 RING *** Set Best codec ***o
CallIndex[2]=0
slot=2 is into the FXO_State_MachineState Change frt...
Channel 2 select codec U
vpEvent_handler CID=1 event=8
slot=2 is into the FXO_State_Machine digit][-k
cid= 2,channel=0,MyCall[channel].Originator.Type=18
[-rba digi
default Routing table Terminator_Type=2EV_RTCPling digi
vpEv
Slot=2 has One Route Entry Found, Dst port Type: 2
1-EV_RTCPbt digit]
vpEvent_
MyCall[CallIndex[cid]].input_str_DTMF=1003ff_time
Line: 2, Event 105 Occured, State Change from (IDLE) to (RING)
FindIPCall thiscall 1
Set_DTMF_Type -------- channel2, type = 1NECTED
******** Line : 2, Start Inviting ********
1-RVSIP_CALL_LEG_STATE_TERMINA
strDes To:sip:1003@192.168.0.248:5060, strOri From:"2003"<sip:2003@192.168.0.249
msg.cid=1 msg.command=132 at send2A
>
2-RvSipCallLegMgrCreateCallLeg() ok!peEventHandle is comming msg.cid=1 m
Enter AppCallLegMsgToSendEvHandler()...
login: ro
vocodata.pAudioCap[3].sItem=g729wAnnexB...o Terminal Configuration Mode
vocodata.pAudioCap[4].sItem=g729AnnexAwAnnexB...guration item
vocodata.pAudioCap[5].sItem=g711Ulaw64k...
usr/config$ de
vocodata.pAudioCap[6].sItem=g711Alaw64k...AP
flag_debug: 1
pipeEve
...........OUTGOING CallLegStateChangedEv hCallLeg [6898a4] - State changed to I
VP_DAA detect Line 2 RING
CallIndex
nviting...........
slot=2 is into th
AppCallLegStateChangedEvHand
cid= 2,channel=0,My
MyCall[0].Originator.Data.Fxo.cid=2
hCallLeg()=...6898a4..ing table Terminator_T
thiscall()=...2..
flag_debug: 1=2 has One Ro
...........OUTGOING CallLegStateChangedEv hCallLeg [6898a4] - State changed to C
MyCall[CallIndex[cid]].input_str_DTMF=1003
onnected...........t 105 Occured, Stat
AppCallLegStateChangedEvHandler eState: 6
msg.cid=2 msg.command=131 at send2APd=2 msg.command=148 at send2AP
MyCall[0].Originator.Data.Fxo.cid=2
MyCall[CallIndex[2]].hCallLeg = 6898a4g.command=148!!
2-RVSIP_CALL_LEG_MODIFY_STATE_IDLEt=2 is into the FXO_State_Machine
Channel 2 select codec UsrChIn 1 and ChIn 1al cid=2
Start dialling at
Channel 2 select codec UsrChIn 1 and ChIn 1
destString=To:sip:1003@192.168.0.248:5060
hCallLeg=6898a4....
pipeEventHandle is comming msg.cid=2 msg.command=131!!
strDes To:sip:10
slot=2 is into the FXO_State_Machine<sip:2003@192.168.0.249
Channel=0,slot=2 STATE_CONNECTED
Stop_CallProgress -------- Channel 2k!
Channel 2 select codec UsrChIn 1 and ChIn 1
vocodata.p
OpenChannel2 -------- codec 1 active 1 RTP_active 1
vocodata.pAudioCap[3].sItem=g729wAn
vpEvent_handler CID=2 event=8
vocodata.
2-EV_RTCP4].sItem=
vpEvent_handler CID=2 event=2
-EV_DIGITvocodata.
0-EV_DIGIT].sItem=g7
vpEvent_handler CID=2 event=2
voco
-EV_DIGIToCap[6].s
80-EV_DIGITw64k...
2-EV_DIGIT
Digit = 1_debug:
DigitOnTime = 80CallLegStateChangedEv
InterDigitTime = 1095 changed to I
msg.cid=2 msg.command=109 at send2AP
vpEvent_handler CID=2 event=2gMake() ok...
-EV_DIGIT
Line: 2,
90-EV_DIGITccured, Sta
2-EV_DIGITrom (RING)
Digit = 1
DigitOnTime = 90
MyCall[
InterDigitTime = 75cid=2
msg.cid=2 msg.command=109 at send2AP
Enter AppCallLegM
pipeEventHandle is comming msg.cid=2 msg.command=109!!
MyCall[0].Originator.Data.Fxo.cid=2
slot=2 is into the FXO_State_Machine.689374..
this
vpEvent_handler CI
flag_debug: 1
-EV_DIGIT.OUTGOING
0-EV_DIGITteChangedE
vpEvent_handler CID=2 event=2anged to C
-EV_DIGIT
90-EV_DIGIT
2-EV_DIGIT
MyCall[0].Origi
vpEvent_handler CID=2 event=8
My
2-EV_RTCPndex[2]].
msg.cid=2 msg.command=158 at send2AP
2-RVSIP_CALL_LEG_
pipeEventHandle is comming msg.cid=2 msg.command=158!!all[CallIndex[thiscall]].Terminator1.Data.Ip.hCallLeg=
slot=2 is into the FXO_State_Machine
vpEvent_handler CID=2 event=8UsrChIn 1 and ChIn 1
2-EV_RTCP
vpEvent_handler CID=2 event=8le is comming msg.cid=2 msg.c
2-EV_RTCP!!
vpEvent_handler CID=2 event=8
slot=2 is i
2-EV_RTCPO_State_M
vpEvent_handler CID=2 event=8
vpEvent_handler CID=2 event=8
Line:
2-EV_RTCP31 Occure
vpEvent_handler CID=2 event=8) to (CONNECTED)
2-
2-EV_RTCP
vp
vpEvent_handler CID=2 event=8
Channel 2 select
2-EV_RTCPhIn 1 and
vpEvent_handler CID=2 event=8
OpenCh
2-EV_RTCP----- cod
vpEvent_handler CID=2 event=8
msg.ci
2-EV_RTCPmmand=111
vpEvent_handler CID=2 event=8t=8
msg.cid=1 m
2-EV_RTCPTCP9 at s
vpEvent_handler CID=2 event=8Fxo.cid=2
msg.cid=1 msg.co
2-EV_RTCPat se
RVS
vpEvent_handler CID=2 event=8
CloseChannel1
hRefe
2-EV_RTCP=0[(chann
vpEvent_handler CID=2 event=8=2 event=18
2-EV_RTCP
2-EV_D
vpEvent_handler CID=2 event=8dl
2-EV_
AppCallLegStateChangedEvHandler
2-RvSipCallLegDisconnectannel2 -------- codec 1
Enter AppCallLegMsgToSendEvHandler()...
FindI
MyCall[0].Originator.Data.Fxo.cid=2
2-RVSIP_CALL_LEG_STATE_TERMINATED
hCallLeg()=...6898a4..and=105 at
***********
thiscall()=...2..***************
flag_debug: 1-------- chan
...........OUTGOING CallLegStateChangedEv hCallLeg [6898a4] - State changed to Dannel2
pipeEventHandle is comming msg.cid=2 msg.command=111!!t_DJBufCmd --------
isconnecting...........id=2 msg.co
slot=2 is i
AppCallLegStateChangedEvHandler eState: 8
2-RvSipCallLegDisconn
MyCall[0].Originator.Data.Fxo.cid=2 Event 111 Occured, State Change fr
...........OUTGOING CallLegStateChangedEv hCallLeg [6898a4] - State changed to D
isconnected...........
AppCallLegStateChangedEvHandler eState: 7
MyCall[0].Originator.Data.Fx
FindIPCall thiscall 2
2-RVSIP_CALL_LEG_STATE_DISCONNECTED
...........OUTGOING CallLegStateChangedEv hCallLeg [6898a4] - State changed to T
erminated...........
AppCallLegStateChangedEvHandler eState: 9
MyCall[0].Originator.Data.Fxo.cid=2
FindIPCall thiscall 2
2-RVSIP_CALL_LEG_STATE_TERMINATED
********************************************
msg.cid=2 msg.command=132 at send2AP
pipeEventHandle is comming msg.cid=2 msg.command=139!!
slot=2 is into the FXO_State_Machine
pipeEventHandle is comming msg.cid=2 msg.command=1
slot=2 is into the FXO_State_Machine
CloseChannel2 ----------- ChInfo[(channel)].Active = 1
Line: 2, Event 132 Occured, State Change from (DISCONNECTED) to (IDLE)
ON_Hook -------- channel2
login: root
password:
Welcome to Terminal Configuration Mode
Please enter your configuration item
usr/config$ debug -add sip fsm vp
usr/config$ debug -open
usr/config$ Incoming CallLeg 6899f0
*** 2003 was being Invited ***
namebuffer 2003
cid 2 CallIndex[cid] is -1
pass...
*** 2003 was being Invited ***
>>>Line-2 is avail
hwconf[2].deviceType=1 o<<<
Local port Terminator_Type=1
cid= -1,channel=0,MyCall[channel].Originator.Type=2
channel=0 has One Route Entry Found, Dst port Type: 1
MyCall[channel].input_str_DTMF=2003
slot=2,AppCallLegCreatedEvHandler(6899f0)
MyCall[0].Terminator1.Data.Fxo.cid=2
RVSIP_MSG_REQUEST comming ok
hReferByAddress=0
got displayName "1003"
...........INCOMING CallLegStateChangedEv hCallLeg [6899f0] - State changed to O
ffering...........
AppCallLegStateChangedEvHandler eState: 4
MyCall[0].Terminator1.Data.Fx
FindIPCall thiscall 2
2-RVSIP_CALL_LEG_STATE_OFFERING
msg.cid=2 msg.command=130 at send2AP
pipeEventHandle is comming msg.cid=2 msg.command=130!!
slot=2 is into the IP_State_Machine
hwconf[2].deviceType=1 o<<<
msg.cid=2 msg.command=128 at send2AP
Line: 2, Event 130 Occured, State Change from (IDLE) to (FXO_OFFERING)
pipeEventHandle is comming msg.2, type = 1mmand=12
Set_FAX_Type -------- channel2, type = 18!!
Set_DJBufCmd the IP_State_Machine
e = 1slot=2 is into the IP_State_Machine
2-RvSipCallLegAccept
Enter AppCallLegMsgToSendEvHandler()...
MyCall[0].Terminator1.Data.Fxo.cid=2
hCallLeg()=...6899f0..
thiscall()=...2..
flag_debug: 1
...........INCOMING CallLegStateChangedEv hCallLeg [6899f0] - State changed to A
ccepted...........
AppCallLegStateChangedEvHandler eState: 5
MyCall[0].Terminator1.Data.Fxo.cid=2
FindIPCall thiscall 2
2-RVSIP_CALL_LEG_STATE_ACCEPTED
Line: 2, Event 128 Occured, State Change from (FXO_OFFERING) to (FXO_CONNECTING)
MyCall[0].Terminator1.Data.Fxo.cid=2
RVSIP_MSG_REQUEST comming ok
hReferByAddress=0
...........INCOMING CallLegStateChangedEv hCallLeg [6899f0] - State changed to C
onnected...........
AppCallLegStateChangedEvHandler eState: 6
MyCall[0].Terminator1.Data.Fxo.cid=2
FindIPCall thiscall 2
2-RVSIP_CALL_LEG_STATE_CONNECTED
msg.cid=2 msg.command=131 at send2AP
MyCall[0].Terminator1.Data.Fxo.cid=2
MyCall[CallIndex[2]].hCallLeg = 6899f0
2-RVSIP_CALL_LEG_MODIFY_STATE_IDLE
Channel 2 select codec UsrChIn 1 and ChIn 1
OpenChannel2 -------- codec 1 active 1 RTP_active 1
MyCall[CallIndex[thiscall]].Originator.Data.Ip.hCallLeg=6899f0....
pipeEventHandle is comming msg.cid=2 msg.command=131!!
slot=2 is into the IP_State_Machine
Channel=0,slot=2 STATE_CONNECTED
off_hook[2]
*** Set Best codec ***
OFF_Hook -------- channel2
Channel 2 select codec UsrChIn 1 and ChIn 1
Set_DTMF_Type -------- channel2, type = 1Line: 2, Event 131 Occured, State Chan
ge from (FXO_CONNECTING) to (FXO_CONNECTED)
vpEvent_handler CID=2 event=8
2-EV_RTCP
vpEvent_handler CID=2 event=8
2-EV_RTCP
vpEvent_handler CID=2 event=18r.Data.Fxo.cid=2
2-EV_DETECT_CALL_PROGRESS_TONE---(6)
hCallLeg()=...6894c0.. event=2
2-EV_DETECT_CALL_PROGRESS_TONE---Disconnect tone detected
flag_debug: 1
dvpEve
msg.cid=2 msg.command=111 at send2APChangedEv hCallLeg [6894c0] - State
pipeEventHandle is comming msg.cid=2 msg.command=111!!
2-EV_DIGIT
slot=2 is into the IP_State_Machine
onnected........
2-RvSipCallLegDisconnectAppCallLegStateChangedEv
Enter AppCallLegMsgToSendEvHandler()...
msg.cid=2 msg.comman
MyCall[0].Terminator1.Data.Fxo.cid=2MyCall[0].Originator.Data.Fxo.cid=2
hCallLeg()=...6899f0..
vpEvent_ha
thiscall()=...2..
flag_debug: 1IPCall thisca
...........INCOMING CallLegStateChangedEv hCallLeg [6899f0] - State changed to Dhandler CID=2 event=2
isconnecting...........1 a
RVSIP_MSG_RESPONSE2 event=8
RVSIP_METHOD_BYE 200 OK
Clo
msg.cid=2 msg.command=139 at send2APl)].Active = 1t_handler CID=2 event=
2-RVSIP_CALL_LEG_STATE_DISCONNECTED
...........INCOMING CallLegStateChangedEv hCallLeg [6899f0] - State changed to T
erminated...........
AppCallLegStateChangedEvHandler eState: 9
MyCall[0].Terminator1.Data.Fxo.cid=2
FindIPCall thiscall 2
2-RVSIP_CALL_LEG_STATE_TERMINATED
********************************************
msg.cid=2 msg.command=132 at send2AP
pipeEventHandle is comming msg.cid=2 msg.command=139!!
slot=2 is into the IP_State_Machine
pipeEventHandle is comming msg.cid=2 msg.command=132!!
slot=2 is into the IP_State_Machine
CloseChannel2 ----------- ChInfo[(channel)].Active = 1
Line: 2, Event 132 Occured, State Change from (DISCONNECTED) to (IDLE)
ON_Hook -------- channel2s
|