Greetings,
I’m using a software named Evolution (evolutioncallcenter.com/ don’t know if anyone here ever heard of, or use it) that has an API to communicate with Asterisk.
I’m using Evolution 9.4.1, everything’s working fine. I built my own script using iAgent API. However something “weird” it’s happening, not all phone extensions work with iAgent (evolution software that has scripting capabilities that allow us to make, transfer, hangup calls directly from the computer).
For example I configure iAgent to work with extension 116 and it works fine, I can make, transfer or hangup calls, however, if for instance I configure the same iAgent to extension 207, it simply doesn’t work, the phones have the same firmware version, and equal settings.
This happens with more phones, for example extension 128 works, but extension 302 doesn’t work at all.
All the phones are Thompson ST2030.
In Evolution I configured the extensions right the same way, as also in FreePBX, they have exacltly the same settings.
Is there any special configuration in the extensions to make them work? The weird situation is that some work, others don’t, and I configured them all the same way.
I have Asterisk 1.4.21.2 and I’m using ActivaTSP 1.6.0
Talking with Evolution support, they said that it was a Asterisk issue.
Here’s the activaTSP.log
[code]10/11/10 15:15:17 [5796] TRACE [TAPIProvider] TSPI_lineMakeCall() hdLine=0x1, htCall=0x10166, phdCall=0x6245ea8, calledDevice=0551234567
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] filtered calledDevice 0551234567 => 0551234567
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] Reading NOANSWERTIMEOUT 0
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] UserData not found
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] creating TapiCall 0x1d9ea50 with htCall 0x10166
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] ASTTapiProvider::AddTapiCall pNewTapiCall=0x1d9ea50 callId=208, htapicall=0x10166, callerId=207, calledId=0551234567 userData=
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] first TapiCall for this callid: [208] => 0x1d9ea50
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] Executing MakeCall
10/11/10 15:15:17 [5796] TRACE [ASTCallMap] AddConnectionToCallModel {208, 207} => INITIALIZED
10/11/10 15:15:17 [5796] TRACE [ASTCallMap] done, now CALL map has 7 items
10/11/10 15:15:17 [5796] TRACE [ASTProvider] ASTProvider::Originate call 208 channel:Local/207@from-internal callerId:207 to calledExtension:0551234567 in context:from-internal, callerIdName= timeout=30
10/11/10 15:15:17 [5796] TRACE [ASTProvider] ASTProvider::SendCommand =>
Action: Originate
Channel: Local/207@from-internal/n
Exten: 0551234567
Priority: 1
Callerid: #CallId=208 <207>
Context: from-internal
Variable: originating=207
ActionID: 12
Timeout: 30000
Async: 1
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol response__________________________
10/11/10 15:15:17 [5796] TRACE [ASTProvider] Originate success
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] makecall or makepredictivecall success
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] NEW callId=208 for htapicall=0x10166 and hdcall=0x6245ea8
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] returning dwRequestId 65911
10/11/10 15:15:17 [4656] TRACE [TAPIProvider] TSPI_lineGetCallInfo: changing callerIDName= by callerId=207 because is unknown
10/11/10 15:15:17 [4656] TRACE [TAPIProvider] TSPI_lineGetCallInfo hdCall=0x1d9ea50 callerId=207, callerIdName=207, calledId=0551234567, calledIdName=0551234567, connectedId=, connectedIdName=, redirectingId=, redirectingIdName=, redirectionId=, userData=, isPredictive=0, dwOrigin=0x10
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => newchannel
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnNewChannelEvent:CFT: ev.m_uniqueId=“1286806517.1459”; ev.m_callerId=“”; ev.m_callerIdName=“”; ev.m_state=“Down”; ev.m_channel=“Local/207@from-internal-cfb0,1”; m_pxCstaProvider->OnNewChannelEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] Create AsteriskCall with uniqueId = 1286806517.1459 and callid =209
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] setting {1286806517.1459}.callerID=, callerIdName=
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] setting {1286806517.1459}.channel=Local/207@from-internal-cfb0,1, address=207
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] state = DOWN => do nothing
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => newchannel
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnNewChannelEvent:CFT: ev.m_uniqueId=“1286806517.1460”; ev.m_callerId=“”; ev.m_callerIdName=“”; ev.m_state=“Ring”; ev.m_channel=“Local/207@from-internal-cfb0,2”; m_pxCstaProvider->OnNewChannelEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] Create AsteriskCall with uniqueId = 1286806517.1460 and callid =210
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] setting {1286806517.1460}.callerID=, callerIdName=
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] setting {1286806517.1460}.channel=Local/207@from-internal-cfb0,2, address=207
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] link call {1286806517.1460} with call {1286806517.1459}
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] state = RING => Send ORIGINATED to {1286806517.1460}.address=207
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] ASTCstaProvider::handleConnectionOriginated uniqueId=1286806517.1460, address=207
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] event minimization RULE-9: Do not send EVENTS to local channels
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => newcallerid
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnNewCallerIdEvent:CFT: ev.m_uniqueId=“1286806517.1459”; ev.m_callerId=“207”; ev.m_callerIdName=“#CallId=208”; m_pxCstaProvider->OnNewCallerIdEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] overriding {1286806517.1459}. to new callerId 207
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call does not contains UserData
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call containsCallId(208)
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] overriding {1286806517.1459}.209 to new callId 208
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call is NOT predictive
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => newcallerid
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnNewCallerIdEvent:CFT: ev.m_uniqueId=“1286806517.1459”; ev.m_callerId=“207”; ev.m_callerIdName=“#CallId=208”; m_pxCstaProvider->OnNewCallerIdEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call does not contains UserData
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call containsCallId(208)
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] overriding {1286806517.1459}.208 to new callId 208
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call is NOT predictive
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => newchannel
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnNewChannelEvent:CFT: ev.m_uniqueId=“1286806517.1461”; ev.m_callerId=“”; ev.m_callerIdName=“”; ev.m_state=“Down”; ev.m_channel=“SIP/207-01182690”; m_pxCstaProvider->OnNewChannelEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] Create AsteriskCall with uniqueId = 1286806517.1461 and callid =211
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] setting {1286806517.1461}.callerID=, callerIdName=
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] setting {1286806517.1461}.channel=SIP/207-01182690, address=207
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] state = DOWN => do nothing
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => dial
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnDialEvent:CFT: ev.m_srcUniqueId=“1286806517.1460”; ev.m_destUniqueId=“1286806517.1461”; ev.m_callerIdName=“#CallId=208”; ev.m_callerId=“207”; m_pxCstaProvider->OnDialEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] linked calls {1286806517.1460} ← {1286806517.1461}
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call does not contains UserData
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call containsCallId(208)
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] overriding {1286806517.1460}.210 to new callId 208
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] overriding {1286806517.1461}.211 to new callId 208
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call is NOT predictive
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] overriding {1286806517.1460}. to new callerid 207
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => newcallerid
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnNewCallerIdEvent:CFT: ev.m_uniqueId=“1286806517.1461”; ev.m_callerId=“207”; ev.m_callerIdName=“”; m_pxCstaProvider->OnNewCallerIdEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] overriding {1286806517.1461}. to new callerId 207
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => newstate
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnNewStateEvent:CFT: ev.m_uniqueId=“1286806517.1461”; ev.m_callerIdName=“”; ev.m_state=“Ringing”; ev.m_channel=“SIP/207-01182690”; m_pxCstaProvider->OnNewStateEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] state = RINGING => Send ALERTING to {1286806517.1461}.address=207
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] ASTCstaProvider::handleConnectionAlerting uniqueId=1286806517.1461, address=207
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] ASTCallMap::GetSourceCall(0x88130d0)
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] SourceCall is 1286806517.1459
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] GetCIDInfoFromSourceCall(1286806517.1461)
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] Exiting with cid/cidname/userData=207//
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] AddConnectionToCallModel {208, 207} => ALERTING
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] done, now CALL map has 7 items
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] event minimization RULE-4: (callerid = 207) == (called = 207) == (address = 207)
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => hangup
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnHangup:CFT: ev.m_uniqueId=“1286806517.1461”; ev.m_cause=“19”; m_pxCstaProvider->OnHangupEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] GetStateOfDevice {208, 207}
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] deviceState = ALERTING
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] callMap.size == 15
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] handleConnectionDisconnected {1286806517.1461} to 207
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] ASTCallMap::GetLogicAddress(0x88130d0)
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] ASTCstaProvider::handleConnectionDisconnected uniqueId=1286806517.1461, logicaddress=207, cause=-5
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] GetMonitorSetFromCallModel = 208
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] num_monitors = 1
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] sending event:CFTE:CONNCLEARED to xref=1, address=207, callid=208
10/11/10 15:15:17 [4292] TRACE [TAPIProvider] OnConnectionCleared xref=1 callId=208, releasingDevice=207 cause=-5
10/11/10 15:15:17 [4292] TRACE [TAPIProvider] searching a TapiCall with callId 208 in tapiLine 0x1d9fd20
10/11/10 15:15:17 [4292] TRACE [TAPIProvider] htapiline=0x103cc, deviceID=207, htapicall=0x10166, releasingDevice=207, callerid=N/A, callerIdName=N/A, calleddevice=N/A, lastRedirection=N/A
10/11/10 15:15:17 [4292] TRACE [TAPIProvider] LINECALLSTATE_IDLE NOANSWER htapicall=0x10166
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] RemoveConnection {208}=> 207
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] removed uniqueId=1286806517.1461 call from MAP
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] TSPI_lineGetCallInfo: changing callerIDName= by callerId=207 because is unknown
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] TSPI_lineGetCallInfo hdCall=0x1d9ea50 callerId=207, callerIdName=207, calledId=0551234567, calledIdName=0551234567, connectedId=, connectedIdName=, redirectingId=207, redirectingIdName=207, redirectionId=, userData=, isPredictive=0, dwOrigin=0x10
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] TSPI_lineCloseCall() hdCall=0x1d9ea50
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] ASTTapiProvider::RemoveTapiCall hdrivercall=0x1d9ea50
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] call had callid=208
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] …with 1 associated hdrvrcalls
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] delete htcall 0x10166 and hdrvCall 0x1d9ea50
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] deleted the last htapicall and the set of callid 208
10/11/10 15:15:17 [5796] TRACE [TAPIProvider] deleting pTapiCall addrs=207 htapiCall=0x10166
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => newstate
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnNewStateEvent:CFT: ev.m_uniqueId=“1286806517.1460”; ev.m_callerIdName=“#CallId=208”; ev.m_state=“Busy”; ev.m_channel=“Local/207@from-internal-cfb0,2”; m_pxCstaProvider->OnNewStateEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call does not contains UserData
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call containsCallId(208)
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] overriding {1286806517.1460}.208 to new callId 208
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call is NOT predictive
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] setting {1286806517.1460}.callerID=207, callerIdName=
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] state = BUSY => do nothing
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => hangup
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnHangup:CFT: ev.m_uniqueId=“1286806517.1459”; ev.m_cause=“0”; m_pxCstaProvider->OnHangupEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] GetStateOfDevice {208, 207}
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] call 208 not found
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] handleConnectionDisconnected {1286806517.1459} to 207
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] ASTCallMap::GetLogicAddress(0x880d2d0)
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] ASTCstaProvider::handleConnectionDisconnected uniqueId=1286806517.1459, logicaddress=207, cause=-1
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] event minimization RULE-10: Do not send DISCONNECTED to local channels. But send it if call has no destination.
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] transferring callid and other parameters to its destination asteriskCall in the ‘call walk path’ currently destination call {1286806517.1460}.callid = 208
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] now destination call {1286806517.1460}.callid = 208 and sourceUniqueId=‘’
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] removed uniqueId=1286806517.1459 call from MAP
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => originateresponse
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnOriginateFailureEvent:CFT: ev.m_channel=“Local/207@from-internal/n”; ev.m_callerIdName=“#CallId=208”; ev.m_reason=“8”; m_pxCstaProvider->OnOriginateFailureEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call containsCallId(208)
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] Call {1286806517.1460} has cause -1
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] ASTCstaProvider::handleConnectionFailed uniqueId=1286806517.1460, address=207, cause=-1
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] ASTCallMap::GetSourceCall(0x8812a90)
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] SourceCall is 1286806517.1460
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] event minimization RULE-9: Do not send EVENTS to local channels
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:17 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => hangup
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] OnHangup:CFT: ev.m_uniqueId=“1286806517.1460”; ev.m_cause=“19”; m_pxCstaProvider->OnHangupEvent(ev);
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] GetStateOfDevice {208, 207}
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] call 208 not found
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] handleConnectionDisconnected {1286806517.1460} to 207
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] ASTCallMap::GetLogicAddress(0x8812a90)
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] ASTCstaProvider::handleConnectionDisconnected uniqueId=1286806517.1460, logicaddress=207, cause=-5
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] event minimization RULE-10: Do not send DISCONNECTED to local channels. But send it if call has no destination.
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] removed uniqueId=1286806517.1460 call from MAP
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] handleCallDisconnected {208} was the last one
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] GetMonitorSetFromCallModel = 208
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] callerId not found
10/11/10 15:15:17 [4292] WARN [ASTCstaProvider] do not send EVENTS because not exist any monitors in call 208
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] RemoveCall {208}
10/11/10 15:15:17 [4292] TRACE [ASTCallMap] {208} NOT IN CALL-MONITOR MAP
10/11/10 15:15:17 [4292] TRACE [ASTCstaProvider] removed entry with callId=208 from MAP
10/11/10 15:15:17 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:23 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => unlink
10/11/10 15:15:23 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:23 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => hangup
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] OnHangup:CFT: ev.m_uniqueId=“1286806452.1450”; ev.m_cause=“0”; m_pxCstaProvider->OnHangupEvent(ev);
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] GetStateOfDevice {199, 141}
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] deviceState = CONNECTED
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] callMap.size == 12
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] handleConnectionDisconnected {1286806452.1450} to 141
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] ASTCallMap::GetLogicAddress(0x880dc30)
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] ASTCstaProvider::handleConnectionDisconnected uniqueId=1286806452.1450, logicaddress=141, cause=-1
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] event minimization RULE-10: Do not send DISCONNECTED to local channels. But send it if call has no destination.
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] transferring callid and other parameters to its destination asteriskCall in the ‘call walk path’ currently destination call {1286806452.1451}.callid = 199
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] now destination call {1286806452.1451}.callid = 199 and sourceUniqueId=‘’
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] removed uniqueId=1286806452.1450 call from MAP
10/11/10 15:15:23 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:23 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => hangup
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] OnHangup:CFT: ev.m_uniqueId=“1286806445.1449”; ev.m_cause=“16”; m_pxCstaProvider->OnHangupEvent(ev);
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] GetStateOfDevice {198, 1}
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] deviceState = CONNECTED
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] handleConnectionDisconnected {1286806445.1449} to 1
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] ASTCallMap::GetLogicAddress(0x880d5f0)
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] ASTCstaProvider::handleConnectionDisconnected uniqueId=1286806445.1449, logicaddress=1, cause=0
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] GetMonitorSetFromCallModel = 198
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] num_monitors = 0
10/11/10 15:15:23 [4292] WARN [ASTCstaProvider] do not send EVENTS because not exist any monitors in call 198
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] RemoveConnection {198}=> 1
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] removed uniqueId=1286806445.1449 call from MAP
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] handleCallDisconnected {198} was the last one
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] GetMonitorSetFromCallModel = 198
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] callerId not found
10/11/10 15:15:23 [4292] WARN [ASTCstaProvider] do not send EVENTS because not exist any monitors in call 198
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] RemoveCall {198}
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] {198} NOT IN CALL-MONITOR MAP
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] removed entry with callId=198 from MAP
10/11/10 15:15:23 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:23 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => unlink
10/11/10 15:15:23 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:23 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => hangup
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] OnHangup:CFT: ev.m_uniqueId=“1286806452.1452”; ev.m_cause=“16”; m_pxCstaProvider->OnHangupEvent(ev);
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] GetStateOfDevice {199, 141}
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] deviceState = CONNECTED
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] callMap.size == 10
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] handleConnectionDisconnected {1286806452.1452} to 141
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] ASTCallMap::GetLogicAddress(0x880d140)
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] ASTCstaProvider::handleConnectionDisconnected uniqueId=1286806452.1452, logicaddress=141, cause=0
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] GetMonitorSetFromCallModel = 199
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] num_monitors = 0
10/11/10 15:15:23 [4292] WARN [ASTCstaProvider] do not send EVENTS because not exist any monitors in call 199
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] RemoveConnection {199}=> 141
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] removed uniqueId=1286806452.1452 call from MAP
10/11/10 15:15:23 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:23 [4292] TRACE [ASTProvider] ASTProvider::HandleEvent => hangup
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] OnHangup:CFT: ev.m_uniqueId=“1286806452.1451”; ev.m_cause=“16”; m_pxCstaProvider->OnHangupEvent(ev);
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] GetStateOfDevice {199, 141}
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] call 199 not found
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] handleConnectionDisconnected {1286806452.1451} to 141
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] ASTCallMap::GetLogicAddress(0x880d780)
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] ASTCstaProvider::handleConnectionDisconnected uniqueId=1286806452.1451, logicaddress=141, cause=0
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] event minimization RULE-10: Do not send DISCONNECTED to local channels. But send it if call has no destination.
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] removed uniqueId=1286806452.1451 call from MAP
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] handleCallDisconnected {199} was the last one
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] GetMonitorSetFromCallModel = 199
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] callerId not found
10/11/10 15:15:23 [4292] WARN [ASTCstaProvider] do not send EVENTS because not exist any monitors in call 199
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] RemoveCall {199}
10/11/10 15:15:23 [4292] TRACE [ASTCallMap] {199} NOT IN CALL-MONITOR MAP
10/11/10 15:15:23 [4292] TRACE [ASTCstaProvider] removed entry with callId=199 from MAP
10/11/10 15:15:23 [4292] TRACE [ASTProvider] <== asterisk protocol event _______________________________
10/11/10 15:15:26 [5796] TRACE [TAPIProvider] TSPI_lineMakeCall() hdLine=0x1, htCall=0x10133, phdCall=0x6245ea8, calledDevice=0557654321[/code]
I believe this is the error
How can I fix this?
Thanks for the help