Displaying 5 results from an estimated 5 matches for "myevent".
2009 Mar 20
1
Getting a Time Zone abbreviation from the full name?
..."Mountain Time (US & Canada)" => "MST"
Shouldn''t there be an easy mapping somewhere? Given that I have the
full time zone as a string, I need to pass it into a data structure or
object and then get the abbreviation. So far, the best I''ve found is
(where myevent.time_zone is the full time zone string):
ActiveSupport::TimeZone::ZONES.find{|z| z.name ==
myevent.time_zone}.tzinfo.current_period.abbreviation.to_s
This returns "MST". But there''s gotta be a better way, right? (I just
can''t seem to find one)
Anyone?
-Danimal
--~--...
2020 Jun 12
2
Send message to AMI from dialplan
Is it possible to simply send a message to appear as an AMI message/event,
from the dialplan? For example
exten =>123,1,ami(myEvent, param1, param2)
and in the AMI a message appears like:
Event: myEvent
Privilege: call,all
Channel: PJSIP/misspiggy-00000001
Uniqueid: 1368479157.3
ChannelState: 3
ChannelStateDesc: Up
CallerIDNum: 657-5309
CallerIDName: Miss Piggy
ConnectedLineName:
ConnectedLineNum:
AccountCode:...
2009 Apr 23
0
UserEvent doc : is Uniqueid mandatory in 1.6
Hello,
I'm using 1.6.1-rc4.
When sending a userevent, (with "UserEvent(MyEvent);" in extensions.ael),
I've got :
Event: UserEvent
Privilege: user,all
UserEvent: MyEvent
I can't see any Uniqueid field as mentioned
http://www.voip-info.org/wiki/view/Asterisk+cmd+UserEvent or
http://www.the-asterisk-book.com/unstable/applikationen-userevent.html
Is this Uniqueid m...
2006 Aug 17
6
Creating Custom Events using prototype
Hi guys!
i know prototype can create custom events and can subscribe to it, but is
there already a library for this?
thanks!
--
<script>
//////////////////////////////////////////////////////////////////////////////////
REDBAKS=function (){
var b,r,i,a,n="b=''646f63756d656e742e777269746528225"+
"4686572652773206d6f7265207468616e206f6e65207761792"+
2007 Mar 30
0
[932] branches/wxruby2/wxwidgets_282/doc/textile/event.txtl: 2.8 updates and corrections to Event doc
...t#clone
</span><span class="cx">
</span><span class="cx"> "Event":event.html *clone*()
</span><span class="lines">@@ -87,6 +69,7 @@
</span><span class="cx"> Event *Clone(void) const { return new MyEvent(*this); }
</span><span class="cx">
</span><span class="cx">
</span><ins>+
</ins><span class="cx"> h3(#Event_geteventobject). Event#get_event_object
</span><span class="cx">
</span><span...