Доброго времени суток, заимел я два гаджета dvg3004s , настроил в лакалке peer2peer все работало отлично, отправил один из них в удаленый оффис, исправил настройки на обоих шлюзах, расшарил необходимый диапазон портов(UDP(RTP)) в итоге набираю номер своего шлюза, он соответсвенно конектится с удаленным шлюзом, в трубке тишина, пытался поиграться с record tone - не помогло...
кусок лога собранный с звонящего шлюза...:
usr/config$ msg.cid=0 msg.command=105 at send2AP
pipeEventHandle is comming msg.cid=0 msg.command=105!!
VP_DAA detect Line 0 RING
CallIndex[0]=0
slot=0 is into the FXO_State_Machine
SelectCodec --------notactive channel 0 codec 1
Channel 0 select codec UsrChIn 1 and ChIn 1
SelectPacketLen -------- notactive channel 0 TxM 4
SCEEnable --------notactive channel 0 SCEEnable 1
OpenChannel0 -------- codec 1 active 1 RTP_active 1
vpEvent_handler CID=0 event=8
0-EV_RTCP
msg.cid=0 msg.command=105 at send2AP
pipeEventHandle is comming msg.cid=0 msg.command=105!!
slot=0 is into the FXO_State_Machine
cid= 0,channel=0,MyCall[channel].Originator.Type=1
default Routing table Terminator_Type=2
Slot=0 has One Route Entry Found, Dst port Type: 2
MyCall[CallIndex[cid]].input_str_DTMF=121
Line: 0, Event 105 Occured, State Change from (IDLE) to (RING)
Set_DTMF_Type -------- channel0, type = 1
Set_FAX_Type -------- channel0, type = 1
Set_DJBufCmd -------- channel0, type = 1msg.cid=0 msg.command=148 at send2AP
pipeEventHandle is comming msg.cid=0 msg.command=148!!
slot=0 is into the FXO_State_Machine
proceed_dial cid=0
Start dialling at proceed_dial()
destString=To:sip:121@213.xx.yy.zz:5060
******** Line : 0, Start Inviting ********
strDes To:sip:121@213.xx.yy.zz:5060, strOri From:"401"<sip:401@192.168.1.10>
0-RvSipCallLegMgrCreateCallLeg() ok!
Enter AppCallLegMsgToSendEvHandler()...
MyCall[0].Originator.Data.Fxo.cid=0
hCallLeg()=...688510..
thiscall()=...0..
vocodata.pAudioCap[0].sItem=g7231...
vocodata.pAudioCap[1].sItem=g729...
vocodata.pAudioCap[2].sItem=g729AnnexA...
vocodata.pAudioCap[3].sItem=g729wAnnexB...
vocodata.pAudioCap[4].sItem=g729AnnexAwAnnexB...
vocodata.pAudioCap[5].sItem=g711Ulaw64k...
vocodata.pAudioCap[6].sItem=g711Alaw64k...
flag_debug: 1
...........OUTGOING CallLegStateChangedEv hCallLeg [688510] - State changed to Inviting...........
AppCallLegStateChangedEvHandler eState: 1
MyCall[0].Originator.Data.Fxo.cid=0
FindIPCall thiscall 0
0-RVSIP_CALL_LEG_STATE_INVITING
0-RvSipCallLegMake() ok...
Line: 0, Event 148 Occured, State Change from (RING) to (DIALLING)
MyCall[0].Originator.Data.Fxo.cid=0
RVSIP_MSG_RESPONSE
Enter AppCallLegMsgToSendEvHandler()...
MyCall[0].Originator.Data.Fxo.cid=0
hCallLeg()=...688510..
thiscall()=...0..
flag_debug: 1
...........OUTGOING CallLegStateChangedEv hCallLeg [688510] - State changed to Connected...........
AppCallLegStateChangedEvHandler eState: 6
MyCall[0].Originator.Data.Fxo.cid=0
FindIPCall thiscall 0
0-RVSIP_CALL_LEG_STATE_CONNECTED
msg.cid=0 msg.command=131 at send2AP
MyCall[0].Originator.Data.Fxo.cid=0
MyCall[CallIndex[0]].hCallLeg = 688510
0-RVSIP_CALL_LEG_MODIFY_STATE_IDLE
MyCall[CallIndex[thiscall]].Terminator1.Data.Ip.hCallLeg=688510....
SelectCodec --------active channel 0 codec 16
Channel 0 select codec UsrChIn 16 and ChIn 16
SelectPacketLen --------active channel 0 TxM 1
SCEEnable --------active channel 0 SCEEnable 0
pipeEventHandle is comming msg.cid=0 msg.command=131!!
slot=0 is into the FXO_State_Machine
Channel=0,slot=0 STATE_CONNECTED
Stop_CallProgress -------- Channel 0
OFF_Hook -------- channel0
CloseChannel0 ----------- ChInfo[(channel)].Active = 1
Line: 0, Event 131 Occured, State Change from (DIALLING) to (CONNECTED)
Channel 0 select codec UsrChIn 16 and ChIn 16
OpenChannel0 -------- codec 16 active 1 RTP_active 1
vpEvent_handler CID=0 event=8
0-EV_RTCP
msg.cid=0 msg.command=158 at send2AP
pipeEventHandle is comming msg.cid=0 msg.command=158!!
slot=0 is into the FXO_State_Machine
vpEvent_handler CID=0 event=8
0-EV_RTCP
vpEvent_handler CID=0 event=8
0-EV_RTCP
vpEvent_handler CID=0 event=8
0-EV_RTCP
vpEvent_handler CID=0 event=8
0-EV_RTCP
vpEvent_handler CID=0 event=18
0-EV_DETECT_CALL_PROGRESS_TONE---(5)
0-EV_DETECT_CALL_PROGRESS_TONE---Disconnect tone detected
msg.cid=0 msg.command=111 at send2AP
pipeEventHandle is comming msg.cid=0 msg.command=111!!
slot=0 is into the FXO_State_Machine
0-RvSipCallLegDisconnect
Enter AppCallLegMsgToSendEvHandler()...
MyCall[0].Originator.Data.Fxo.cid=0
hCallLeg()=...688510..
thiscall()=...0..
flag_debug: 1
...........OUTGOING CallLegStateChangedEv hCallLeg [688510] - State changed to Disconnecting...........
AppCallLegStateChangedEvHandler eState: 8
MyCall[0].Originator.Data.Fxo.cid=0
FindIPCall thiscall 0
0-RVSIP_CALL_LEG_STATE_DISCONNECTING
Line: 0, Event 111 Occured, State Change from (CONNECTED) to (DISCONNECTED)
vpEvent_handler CID=0 event=8
0-EV_RTCP
vpEvent_handler CID=0 event=8
0-EV_RTCP
vpEvent_handler CID=0 event=8
0-EV_RTCP
vpEvent_handler CID=0 event=8
0-EV_RTCP
vpEvent_handler CID=0 event=8
0-EV_RTCP
vpEvent_handler CID=0 event=8
0-EV_RTCP
...........OUTGOING CallLegStateChangedEv hCallLeg [688510] - State changed to Disconnected...........
AppCallLegStateChangedEvHandler eState: 7
MyCall[0].Originator.Data.Fxo.cid=0
FindIPCall thiscall 0
0-RVSIP_CALL_LEG_STATE_DISCONNECTED
...........OUTGOING CallLegStateChangedEv hCallLeg [688510] - State changed to Terminated...........
AppCallLegStateChangedEvHandler eState: 9
MyCall[0].Originator.Data.Fxo.cid=0
FindIPCall thiscall 0
0-RVSIP_CALL_LEG_STATE_TERMINATED
********************************************
msg.cid=0 msg.command=132 at send2AP
pipeEventHandle is comming msg.cid=0 msg.command=132!!
slot=0 is into the FXO_State_Machine
CloseChannel0 ----------- ChInfo[(channel)].Active = 1
Line: 0, Event 132 Occured, State Change from (DISCONNECTED) to (IDLE)
ON_Hook -------- channel0
------------------
