Hi All,
DMV160LP running under DNA 6.0 (229) starts to return CCEV_DISCONNECTED with cause GCRV_PROTOCOL as call result. What is mean for analogue line? If conect in parallel can hear good dial tone.
Regards,
Maxim
more info - result of gc_ResultInfo
extended info about call:
gcValue : 0x503
gcMsg : Event caused by protocol error
ccLibId : 6
ccLibName: GC_DM3CC_LIB
ccValue : 0xd1
ccMsg : Protocol Error
info :
after some channel got this, no more calls available to make. Lines connected to VoIP gateway, also tested with usual analogue lines.
Maxim,
How long does it take to get DISCONNECT after gc_MakeCall?
Can you hear the port strating dialing over the dial tone? Do you have tools to measure close loop voltage on that line?
DebugAngel log could shed some light; did you notice anything unusual in this log? To enable DebugAngel, type from a command line debugangel -start (or debugangel -install, if this is a first time).
Normally, Protocol Error on analog lines mean that the port is not in proper state for a call (already off-hook) or that the loop current cannot be detected after the port goes off hook. If the line doesn't provide sufficient voltage the later may be the case.
Hi Leonid,
Thanks for your answer.
Initially situation made possible because no way to set line off-hook explicitly (like it ised to be dx_sethook(...DX_OFFHOOK...)) for DM3 analogue (that looks as dtiBnTn groupped by 4). So I can't apply usual trick for analogue - set line on-hook, wait some time and off-hook soon in order to reser the state before make dial.
gc_ResegtLineDev sets DM3 Analog on hook. To set off hook try gc_SetChanState (OutOfService)