| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #12 (permalink) |
| Portal Member | alright before i start playing with my Asterisk box, i want to ask the question on here i keep getting a cannot connect to server (i am at school so i dont know the exact message) error message now my question, i have my Cisco phone right on my desk working fine, i can ping the server from all of my machines, i have tried the the plugin on several machines with the same error message, do you suspect it is the clients or the server? |
| | |
| | #13 (permalink) |
| Docs Team Join Date: Aug 2007 Location: Sydney Age: 36
Posts: 608
Thanks: 30
Thanked 32 Times in 26 Posts
Country: | as stated in the first post, you need to ensure that the manager.conf file has been modified to allow the IP address to connect otherwise the server will block it. Also this is where the username and password are set for the connection. to test it without the plugin, you could open a command prompt, and start a telnet session to ip addr and port number you specified in the conf file. Then you should be able to login with the following commands Action: login Username: yourusername Secret: yourpassword NOTE:- there is a space after the : Further info can be found here http://www.voip-info.org/wiki-Asterisk+manager+API
__________________ Bubble wrap is the solution to all of life's problems...!!! |
| | |
| | #14 (permalink) | ||
| Portal Member | Quote:
did you manage to connect with telnet ? This will test the connection AND your login details for the Callmanager. Thanks charli181 - I will add that to the documentation. Good luck Gregor Quote:
I tried to reproduce that without success. Can you set Debug Level to 3 and send logs ? Also the AsteriskCID section from your MediaPortal.xml could be helpfull (please delete your Secret entry). Thanks, Gregor Last edited by GregorV; 2008-02-01 at 21:40. Reason: Automerged Doublepost | ||
| | |
| | #15 (permalink) |
| Portal Member | alright i got it working perfectly, sorry the server was not configured right, also using telnet might be the best, our server has it disabled one suggestion, i have a plasma, can you turn the screen off or black and remove the dialog box when on the phone? Last edited by fairchild; 2008-02-06 at 04:43. |
| | |
| | #16 (permalink) |
| Portal Member | alright so when watching tv using tv server (latest svn) using both ATSC and anolog tuners after the call come in the media pauses fine, however when i hang up it resumes but the audio is just a buzz noise, i have to hit pause and play to get the sound working again..... why dont you just use the built in pause function of mediaportal?? It would solve my tv issue and the autoturn off (blank) screen when paused. Mediaportal has that feature already built in when pausing a move, tv, music ect... if the plugin called the pause function i think that would solve the problem Also 2 more things... How did u get the picture to show up when the person called, i couldnt find information on that... and also whey when i am connected on the phone does it now show the name? Is this something that can be added or is it just like that on mine |
| | |
| | #17 (permalink) | ||
| Portal Member | Quote:
the Asterisk plugin calls MP's pause function (at least I belive that this is the one). Code: MediaPortal.Player.g_Player.Pause(); What is that what happens to your video ? From what I understand your picture is black when someone calls - it just should stop moving. I am afraid I didn't get you. Are you talking about the source code, when you ask: Quote:
Code: private static string GetCallerImage(string name) Currently the plugin closes the message box 3 sec after the call is established. It would not be too difficult to keep the message open while the call is established. Is that how you would like it to work ? Gregor | ||
| | |
| | #18 (permalink) | |
| Docs Team Join Date: Aug 2007 Location: Sydney Age: 36
Posts: 608
Thanks: 30
Thanked 32 Times in 26 Posts
Country: | Quote:
__________________ Bubble wrap is the solution to all of life's problems...!!! | |
| | |
| | #19 (permalink) |
| Portal Member | sorry i must have been tired when i posted my response, let me clear things up First of all i don't work directly with my Asterisk Server so that side of the conversation is sort of limited at my end.. So it was my issue when it couldn't connect to the server, no user name and password were set up. and we also have telnet disabled. My Issues: 1.) When TV (haven't tested yet with a video) resumes the audio is a high pitched buzz, now if i hit the spacebar or remote control pause and and then hit remote control play or spacebar again it resumes fine What i noticed was when i was on the phone it did not pull up the little time-line box at the top when watching tv like it does when you pause it, so i don't think the plugin is calling the right pause function 1.) Possible Solution: Can you just use a hook to call the spacebar or trigger the remote control to pause the video/music/tv? If you read the config file or wherever the hotkeys are stored you could just hook the play/pause function key -=-- I am sort of new to Media Portal and i am still picking at the code so if i say something thats not true or cant be done, please someone let me know -=-=- 2.) When paused and i am on the phone the built in mediaportal function (Blank screen when idle) does not work. This is very important for me because i have a plasma which if the same image is left on the screen i can get temporary and in extreme cases perminate burn in. 2.) Possible Solution: If the first issue is corrected by using the pause function that the keyboard or remote control use it will fix itself because the built in media portal setting will blank the screen when the media is paused. ------ Other things i noticed... The caller ID works but what i was trying to say is i notice 2 different popups: Incoming Call with number and Name and (When i pick up the phone) Connecting.... The second screen should be something like the first, if i am on the phone i would like the name and number to still be displayed. My other question is... How in the read me did u get your picture on the caller id box? Is it an Asterisk thing? THANKS!!! Last edited by fairchild; 2008-02-08 at 04:54. |
| | |
| | #20 (permalink) | |
| Docs Team Join Date: Aug 2007 Location: Sydney Age: 36
Posts: 608
Thanks: 30
Thanked 32 Times in 26 Posts
Country: | the telnet function is a test. The asterisk box does not need the telnet service turned on. This is an old IT trick to ensure you can connect to a specific port on a Server where an Application is listenind. This trick can be used for POP3 Servers, SMTP, vitually anything. The command to get it to connect to the right port is as follows: From a command prompt; telnet servername portnumber eg. telnet mypop3server 21 the response back should either be a blank screen or asking for a user name. If you get an error saying "Could not connect on port ... " then you have a problem on the network or the application that is supposed to be listening. As for Quote:
Hope this helps a bit. As for 1 & 2, I will leave that for the GregorV. I personally don't pause the tv/video/music as there are other people watching the screen. I know in testing with earlier version of the plugin, the audio never resumed correctly. Strange stuff.
__________________ Bubble wrap is the solution to all of life's problems...!!! | |
| | |
![]() |
| Bookmarks |
| Tags |
| asterisk, callerid, continues, plugin |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Asterisk CallerID plugin | troky | Plugins | 31 | 2007-12-21 14:11 |
| MP stops every some seconds and then continues | patricon | 0.2.3.0 RC1 and SVN Builds | 2 | 2007-09-03 19:03 |
| ISDN CallerID Plugin Bugs | MichaelK | 0.2.2.0 Final and SVN Builds | 3 | 2007-02-01 20:32 |
| ISDN CallerID Plugin generates allways an Error | MichaelK | The old Bugreport Forum | 3 | 2006-03-14 17:42 |
| CallerID for ISDN | MichaelK | Improvement Suggestions | 3 | 2005-04-29 21:14 |