Hello,
is there a way to get the peer context?
For example, this peer that is retrieved from the asterisk CLI shows a
context "from-internal". It seems that in a PeerEntryEvent we can not
get that context. Is there a way to do that?
protenus-zg-wg01*CLI> sip show peer 1000
* Name : 1000
Secret : <Set>
MD5Secret : <Not set>
Context : from-internal
Subscr.Cont. : <Not set>
Language : CLI>
AMA flags : Unknown
Transfer mode: open
CallingPres : Presentation Allowed, Not Screened
...
Video Support: Yes>
...
So I thought that may be it is because there is no setter as it says for
videosupport in the log below ... but there is no such message for
context, and of course adding this property to the PeerEntryEvent does
not help. Does anyone know how to get that peer context?
ERROR -ManagerConnection-0-Reader-0 -
org.asteriskjava.manager.internal.EventBuilderImpl - Unable to set
property 'videosupport' to 'yes' on
org.asteriskjava.manager.event.PeerEntryEvent: no setter
Regards,
Daniel
|