Problem with call origination
Status: Beta
Brought to you by:
jwilke
Hi Jens!
When I was trying to originate call, the problem with
UniqueID occured. The NullPointerException was thrown.
Does it work for you?
I tried to solve this problem with getting the UniqueID
from first NewCallerID. I'm not sure whether it would
work in every situation. Could possibly another
NewCallerID occur just before that one and with the
same CallerID in some situation? If so, maybe checking
the Channel could possibly help to avoid this...
Martin
Logged In: YES
user_id=1536186
Hi again! ;)
I add another 2 things into AsteriskProvider.
1. I needed ManagerConnection in my program, so I added one
getter
2. When I tried to disconnect one Connection from Originated
Call, no HangupAction was sent because of other channel
names. I noticed that no channel name is assigned to
_call.channel, so I did it in NewChannelEvent handling.
Renaming is done in RenameEvent handling.