Asterisk CallerID plugin (2 Viewers)

troky

Portal Member
July 30, 2007
18
1
Home Country
Croatia Croatia
1 - Can the call notification be configured to disappear after answering the call instead of releasing the call. If one of us has a "D&M" on the phone that goes for hours, I do not really want to see this on the screen all this time until the call is released.

Plugin is made to hide notification when call is answered or released. Problem can be in channel filter.

2 - I have found when an outbound call is made, I get the notification as well. I do not have a filter setup as I have a ZAP PSTN trunk and also a SIP Trunk and receive calls on both. The only other thing I can think of is setting up a sip phone on a server that is never used and placing the filter to that number. Can you think of any other way.

I am preparing next version that has better notification handling and channel filter will use regex string to give more options on filtering.

I am still examinig all incoming events and trying to eliminate outgoing calls from notification. I need to do some more tests for incoming SIP calls and then I will send you new version for testing.

I couldn't find any useful documentation for AMI so I am crawling through asterisk source code and it takes time ;)

Regrads,
Troky
 

jedney

Portal Member
October 30, 2006
25
1
Home Country
New Zealand New Zealand
Troky,

I just stumbled across this thread and noticed you have done something very similar to me. I worked on an Asterisk CallerID plugin for myself, but never got as far as generally releasing it, I was too lazy to tie the configuration interface to the code, relying instead on hardcoded variables. I always meant to come back and fix it but alas I ran out of time. :eek:

I've attached a copy of my code, please feel free to use any of it towards your plugin. I haven't tried your plugin, but there seems to be discussion around the notification box. My plugin pauses MediaPortal and displays an alert, if the phone stops ringing (timeout, voicemail or hangup) playback resumes and the box vanishes. If you answer the call, the box remains and the media is paused until you hang up. You can overide this by pressing OK on the remote and playback resumes and the box vanishes.

Hope it helps. :D

Jon.
 

troky

Portal Member
July 30, 2007
18
1
Home Country
Croatia Croatia
Hi Jon,

I've looked at your plugin source. We have almost the same notification dialog handling. Only difference is that you use Asterisk.NET class and I wrote my own class for handling asterisk events. I'll try to play with Asterisk.NET... :)

Regards,
Troky
 

ZeroX

Portal Pro
October 26, 2005
60
0
Karlstad
Home Country
Sweden Sweden
i'm using trixbox, what exactly do I need to allow for this "manager" so that this could work ?? the asterisk is running on a public network so I don't want to open more then absolutly neccisary...
 

charli181

Retired Team Member
  • Premium Supporter
  • August 3, 2007
    800
    111
    Sydney
    Home Country
    Australia Australia
    i'm using trixbox, what exactly do I need to allow for this "manager" so that this could work ?? the asterisk is running on a public network so I don't want to open more then absolutly neccisary...

    ZeroX,

    Use thee link Trocky provided in Post number 3 in this topic or here it is again http://www.voip-info.org/wiki/index.php?page=Asterisk+config+manager.conf. It will show you how to configure/work out what port is used for the AMI and what port to open up.

    You can restrict access to the manager portal to only accept connection from 1 address (i.e. MP) if that is a major security concern.
     

    ZeroX

    Portal Pro
    October 26, 2005
    60
    0
    Karlstad
    Home Country
    Sweden Sweden
    i'm using trixbox, what exactly do I need to allow for this "manager" so that this could work ?? the asterisk is running on a public network so I don't want to open more then absolutly neccisary...

    ZeroX,

    Use thee link Trocky provided in Post number 3 in this topic or here it is again http://www.voip-info.org/wiki/index.php?page=Asterisk+config+manager.conf. It will show you how to configure/work out what port is used for the AMI and what port to open up.

    You can restrict access to the manager portal to only accept connection from 1 address (i.e. MP) if that is a major security concern.

    Thank you! will look into this asap....
     

    Jean-Marc

    Portal Pro
    February 28, 2007
    382
    32
    Home Country
    France France
    3CX software?

    Hi Troky,

    Could you tell me if your interesting plugin works with 3CX software? (that is a free ip pabx software)
    I think that Asterisk is not suported by windows xp.
    Thanks!!
     

    supra_x206

    Portal Member
    January 24, 2007
    26
    0
    39
    Home Country
    hi since you can make asterisk callerID work with MP.... then maybe we can do something so that we can make MP a SIP client also... think about a phone plugin that has a dialer, can send, recieve call, videos and stuff...
     

    Users who are viewing this thread

    Top Bottom