Picture of iqbal
Registered 5 years 279 days
iqbal Friday, 17 March 2023, 10:56 AM
Sending AddAlienCall request using PbxImpersonation API doesnt send any respone back
Hi I am using impersonation Api for setting an AddAlienCall to set LineBusy status on pbx as described in this post:
https://forum.innovaphone.com/moodle2/mod/forum/discuss.php?d=28574

After I send request to pbx I dont get any response back. can anyone tell me why pbx is not sending any result back. do I need to set any permission in pbx app object or user object.
Note: PbxImpersonation API permission on app object is enabled.

LOGS:
03-17 08:47:27.374 byonwhoison@byon-int-v13.de AppWebsocket(00a49470)::AppWebsocketRecvResult {"mt":"CreateApiResult","src":"4a7af74965ad630117d00050569337b0","api":"PbxImpersonation","target":"PbxApi.471"} 
03-17 08:47:27.374 byonwhoison@byon-int-v13.de ImpersonationApiSession[0xad99e0]::Message(mt=CreateApiResult, src=4a7af74965ad630117d00050569337b0, base=0) 
03-17 08:47:30.252 byonwhoison@byon-int-v13.de ImpersonationApiSession[0xad99e0]::AddAlienCall() 
03-17 08:47:30.252 byonwhoison@byon-int-v13.de JsonDataClass[0xb21440]::JsonDataClass (mt=AddAlienCall, IJsonApiConnection=0xa49478, JsonApi=0xad99e0, bufferSize=128) 
03-17 08:47:30.252 byonwhoison@byon-int-v13.de JsonDataClass[0xb21440]::BuildBaseJson(mt=AddAlienCall, bufferSize=129) 
03-17 08:47:30.252 byonwhoison@byon-int-v13.de JsonDataClass[0xb21440]::AddMt(mt=AddAlienCall) 
03-17 08:47:30.252 byonwhoison@byon-int-v13.de JsonDataClass[0xb0f350]::~JsonDataClass() 
03-17 08:47:30.252 byonwhoison@byon-int-v13.de JsonDataClass[0xb21440]::AddApi(api=PbxApi.471)
03-17 08:47:30.252 byonwhoison@byon-int-v13.de JsonDataClass[0xb21440]::SendJsonApiMessage() 
03-17 08:47:30.252 byonwhoison@byon-int-v13.de AppWebsocket(00a49470)::AppWebsocketMessageSend {"mt":"AddAlienCall","api":"PbxApi.471"} connected:true 
03-17 08:47:30.252 byonwhoison@byon-int-v13.de AppWebsocket(00a49470)::AppWebsocketMessageComplete connected:true 
Picture of iqbal
Registered 5 years 279 days
iqbal Friday, 17 March 2023, 11:31 AM
Re: Sending AddAlienCall request using PbxImpersonation API doesnt send any respone back
Hi
I saw reference ducumentation and noticed it only works in 13r3 and my App is using sdk version 13r2.
Could be possible to port ist back to 13r2?
Best Regards
Iqbal
Andreas Fink
Moderator Registered 13 years 110 days
Andreas Fink (innovaphone) Friday, 17 March 2023, 01:10 PM
Re: Sending AddAlienCall request using PbxImpersonation API doesnt send any respone back
Hello Iqbal,

the functionality is inside the PBX firmware, not a part of SDK libraries, and was introduced with 13r3 release.

We would not port it to 13r2 if it is not really necessary, since a workaround would be to upgrade PBX to 13r3.

Best Regards
Andreas Fink

← You can define your color theme preference here