Asterisk CallerID plugin (1 Viewer)

troky

Portal Member
July 30, 2007
18
1
Croatia Croatia
I made plugin that displays dialog notification on incoming call using Asterisk Manager Interface. It has only basic functionality for now...

Plugin can be downloaded HERE.
It is build on 0.2.3 RC1 SVN. As soon as I clean up the code I'll upload source to repository.
Extract to process plugins folder and configure. Leave 'Channel' field empty to intercept calls on all channels.

Post bug reports and possible feature requests in this thread.


Regards,
Troky
 

charli181

Retired Team Member
  • Premium Supporter
  • August 3, 2007
    794
    106
    Sydney
    Australia Australia
    Country flag
    awesome,

    I'll give it a try today and let you know.....

    tried the plugin with little success. I could load and configure and within the logs when MP starts I can see it initialized, but when I make an inbound call nothing happens. There is nothing in the MP logs that show any activity for the plugin.

    I am running a multiseat MP with svn from 6 aug 2007

    Is there something I must add to the asterisk cnfig other than default.?
     

    troky

    Portal Member
    July 30, 2007
    18
    1
    Croatia Croatia
    Check your log to see if plugin is connected to asterisk. If not, it won't work.

    Check THIS page to se how to configure asterisk manager. Username/secret must be provided for plugint to work.
     

    charli181

    Retired Team Member
  • Premium Supporter
  • August 3, 2007
    794
    106
    Sydney
    Australia Australia
    Country flag
    in the logs I can see it logging in and then thats it. I can telnet to my box and get responses not a problem. Does this only work on the original skin. I have have spin saf revolve running. Where should I be seeing the cli or does it only stop media when the pone rings?

    Have you also noticed that with the plugin activated, if you shut down media portal, the exe is still active in task manager and has to be killed through task manager.
     

    troky

    Portal Member
    July 30, 2007
    18
    1
    Croatia Croatia
    in the logs I can see it logging in and then thats it. I can telnet to my box and get responses not a problem. Does this only work on the original skin. I have have spin saf revolve running. Where should I be seeing the cli or does it only stop media when the pone rings?

    Have you also noticed that with the plugin activated, if you shut down media portal, the exe is still active in task manager and has to be killed through task manager.
    When call is detected built-in notify dialog is displayed on screen. It doesn't interact with skins directly.

    Problem with hanging MP process is hopefuly solved now. You can download new version HERE

    Regards,
    Troky
     

    charli181

    Retired Team Member
  • Premium Supporter
  • August 3, 2007
    794
    106
    Sydney
    Australia Australia
    Country flag
    You have fixed the issue of MP shutting down successfully though.

    still no joy with the pop up occurring. What message from asterisk are you acting on and I will see if that is coming through. I am running trixbox with asterisk version 1.2.7.1
     

    troky

    Portal Member
    July 30, 2007
    18
    1
    Croatia Croatia
    It monitors for "Event: Newchannel, State: Rsrvd..." to detect new incoming call.
    Does your player get paused on incoming call? Can you send me the log? I've added few more logging points to the last version. You should see all trapped OnXXX events in log.
    I can make version with extensive logging if you want...


    Regards,
    Troky
     

    charli181

    Retired Team Member
  • Premium Supporter
  • August 3, 2007
    794
    106
    Sydney
    Australia Australia
    Country flag
    I think I will need that extensive logging version. All I can see is the initialisation log and the closing logging. nothing in between.

    My player does not get paused. I am running the tve3 and running VMR9 in exclusive mode. Even if I do not run player in full screen, I do not see any popups.
     

    troky

    Portal Member
    July 30, 2007
    18
    1
    Croatia Croatia
    Ok, I'll make debug version today. Threre are probably differences in Asterisk manager interface. I am using asterisk 1.2.18.

    BTW... when you go to plugin configuration, enter username/secret... and press OK button, do you get message "Successfuly connected to AMI"?

    Regards,
    Troky
     

    charli181

    Retired Team Member
  • Premium Supporter
  • August 3, 2007
    794
    106
    Sydney
    Australia Australia
    Country flag
    BTW... when you go to plugin configuration, enter username/secret... and press OK button, do you get message "Successfuly connected to AMI"?
    sure do.

    I will download when availalble for the debug version. I will test this with my live asterisk box.

    I do have another asterisk box in my labs that I will test on as well. If need be, I will upgrade asterisk to your version and test again as well but prefer not to due to reconfiguring on upgrades......ohhh the pain.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 5
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    M Installing Plugins Newcomers Forum 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    Similar threads

























    Top Bottom