Menu

#3 Problem with call origination

open
nobody
None
5
2006-06-12
2006-06-12
No

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

Discussion

  • Martin Sládeček

     
  • Martin Sládeček

    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.

     
  • Martin Sládeček

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.