ISDN Caller-ID (1 Viewer)

umtauscher

Portal Member
October 8, 2004
14
0
Cologne, Germany
Thanks again. I will check out the latest CVS tonight.
Additionally I will try to get a log of a call from another country tomorrow.
I will get back to you.

Cheers

Umtauscher
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
Please wait, I'm working on refacturing the code at the moment. I'd prefer to let you test the stuff with the version I'm working on currently. I'll let you know when it's in CVS.
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
Ok, I just committed changes, especially interesting for PBX-owners. There is no config anymore, all leading zeros are stripped, so no need for entering, how many digits should be stripped before processing.

Internal calls should also work now for all PBX users. For number-lookup, you have to enter the internal numbers as follows:

isdn_04.jpg


This means: As country, choose your country. As area code, enter a capital i. And as the phone number enter the internal number. In this case it's 13. Be careful, if you edit the number in Outlook again, it reformats it a bit weird. You have to correct it again, before you save the contact. This is, because letters usually are not allowed in area codes. You can check the correct number in the picture (2nd line "Privat: +49 (I) 13"). Maybe I'll change this in the future, but this is the current implementation and should work for both of you.

The current implementation is more a workaround, than proper code. I need your log-lines (new version) including the buffer, etc. To find out if there is not a bit hidden somewhere which indicates what kind of call comes in (international, national, internal) at your PBX. (This is addressed to ALL ISDN-users, of course!)

BTW, you can check, if you got the new version I just committed. The new version puts a much longer buffer output to the log.
 

MichaelK

Portal Pro
January 1, 2005
133
0
Kaarst, Germany
Hi mPod

sorry for my delay with the test, i was a little bit busy yesterday.
I have now made a little test at my work. The first call is an internal
call from my pbx at work. the second call is from my mobilephone,
and the thir call is an normal external call.
I think all is working fine at the moment. The internal call has an "unknown" areacode because of the "I". this looks not very nice in the popup window, but it has a low priority. it's only cosmetic ;-)
great work mPod, this is going to be a very cool plugin.
btw. at work i have outlook 2002. i think this is the reason for the outlook exeption in the log ? because there is no picture in the contact ?


15.06.2005 14:46:30 ISDN: Home location: Essen-Kettwig (2054), Germany (+49)
15.06.2005 14:46:30 ISDN: Application registered with CAPI (2)
15.06.2005 14:46:30 ISDN: CAPI signaling activated
15.06.2005 14:46:37 ISDN: Buffer: (4)(128)640(5)(0)(128)197(0)(0)(3)(128)(144)(163)
15.06.2005 14:46:37 ISDN: stripped 0 leading zeros
15.06.2005 14:46:37 ISDN: CalledID: 640
15.06.2005 14:46:37 ISDN: CallerID: 197
15.06.2005 14:46:37 Outlook exception: Array-Index außerhalb des zulässigen Bereichs.
15.06.2005 14:46:38 ISDN: Incoming call from Peter Test (unknown, Germany / +49 (I) 197)
15.06.2005 14:46:38 Texturemanager loaded temporay:Thumbs\yac\text-message.jpg 111x148 format:X8R8G8B8
15.06.2005 14:46:38 texturemanager:added:Thumbs\yac\text-message.jpg total:2 mem left:60817408
15.06.2005 14:46:38 window:MediaPortal.Dialogs.GUIDialogNotify init
15.06.2005 14:46:46 texturemanager:dispose:Thumbs\yac\text-message.jpg frames:1 total:3 mem left:59768832
15.06.2005 14:47:08 ISDN: Buffer: (4)(128)640(12)(33)(131)1631234567(0)(0)(3)(128)(144)(163)(0)(2)(145)(129)
15.06.2005 14:47:08 ISDN: stripped 0 leading zeros
15.06.2005 14:47:08 ISDN: CalledID: 640
15.06.2005 14:47:08 ISDN: CallerID: 1631234567
15.06.2005 14:47:09 Outlook exception: Array-Index außerhalb des zulässigen Bereichs.
15.06.2005 14:47:09 ISDN: Incoming call from Michael Käfer (E1 (E-Plus Mobilfunk), Germany / +49 (163) 2054198)
15.06.2005 14:47:09 Texturemanager loaded temporay:Thumbs\yac\text-message.jpg 111x148 format:X8R8G8B8
15.06.2005 14:47:09 texturemanager:added:Thumbs\yac\text-message.jpg total:2 mem left:59768832
15.06.2005 14:47:09 texturemanager:dispose:Thumbs\yac\text-message.jpg frames:1 total:3 mem left:59768832
15.06.2005 14:47:09 Texturemanager loaded temporay:Thumbs\yac\text-message.jpg 111x148 format:X8R8G8B8
15.06.2005 14:47:09 texturemanager:added:Thumbs\yac\text-message.jpg total:2 mem left:59768832
15.06.2005 14:47:09 window:MediaPortal.Dialogs.GUIDialogNotify init
15.06.2005 14:47:17 texturemanager:dispose:Thumbs\yac\text-message.jpg frames:1 total:3 mem left:59768832
15.06.2005 14:47:23 ISDN: Buffer: (4)(128)640(13)(33)(129)20541234567(0)(0)(3)(128)(144)(163)
15.06.2005 14:47:23 ISDN: stripped 0 leading zeros
15.06.2005 14:47:23 ISDN: CalledID: 640
15.06.2005 14:47:23 ISDN: CallerID: 20541234567
15.06.2005 14:47:24 Outlook exception: Array-Index außerhalb des zulässigen Bereichs.
15.06.2005 14:47:24 ISDN: Incoming call from Peter Test (Essen-Kettwig, Germany / +49 (2054) 1234567)
15.06.2005 14:47:24 Texturemanager loaded temporay:Thumbs\yac\text-message.jpg 111x148 format:X8R8G8B8
15.06.2005 14:47:24 texturemanager:added:Thumbs\yac\text-message.jpg total:2 mem left:59768832
15.06.2005 14:47:24 texturemanager:dispose:Thumbs\yac\text-message.jpg frames:1 total:3 mem left:59768832
15.06.2005 14:47:24 Texturemanager loaded temporay:Thumbs\yac\text-message.jpg 111x148 format:X8R8G8B8
15.06.2005 14:47:24 texturemanager:added:Thumbs\yac\text-message.jpg total:2 mem left:59768832
15.06.2005 14:47:24 window:MediaPortal.Dialogs.GUIDialogNotify init
15.06.2005 14:47:32 texturemanager:dispose:Thumbs\yac\text-message.jpg frames:1 total:3 mem left:59768832
15.06.2005 14:47:33 Mediaportal.OnExit()
15.06.2005 14:47:33 PlugInManager.Stop()
15.06.2005 14:47:33 ISDN: CAPI released (2)
15.06.2005 14:47:33 Mediaportal.OnExit()
15.06.2005 14:47:33 MediaPortal done
 

MichaelK

Portal Pro
January 1, 2005
133
0
Kaarst, Germany
Hi mPod

now i am at home and nothing works anymore :-(
i get no popup. all isdn messages in the log are ok. for intern,mobile and normal calls all seems to be ok, but no popup. i get an error in the log:

15.06.2005 18:40:21 Exception: System.InvalidCastException: Specified cast is not valid.
at MediaPortal.GUI.Home.HomeWindow.ShowNotify(String strHeading, String description, String imgFileName)
at MediaPortal.GUI.Home.HomeWindow.OnGlobalMessage(GUIMessage message)
at MediaPortal.GUI.Library.SendMessageHandler.Invoke(GUIMessage message)
at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)


i tried to copy back the cvs from the last two days but nothing happens. in all cvs is this error. i dont know what happens here, yesterday it worked.
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
Thx for the data. That's exactly what I need to support different configs. It would be perfect if other users also give me their buffer-logs, too...

Concerning the exception: Could you give me the log entries around this exception (10 lines before and some after this exception). It's not being caught in my code, so it's hard to find out why it occurs. The other log lines might help me locating the problem. I'm not sure if it is a problem of the plugin or another MP bug. Maybe you try removing MP, installing the 0.1.2.0 again and putting the latest CVS on top. Don't forget to re-register DirectShowHelper.dll, it has been changed several times the past days.
 

MichaelK

Portal Pro
January 1, 2005
133
0
Kaarst, Germany
ok, i have made an uninstall, then new install and latest cvs. the db directory an mpconfig are the old ones. now it works again (didn't understand that really :-( )

but mpod, did you change anythin in the code ? now the internal calls are not recognized anymore. in outlook i have addes my internal phone as follow: +49 (I) 15 , and here is the log

17.06.2005 17:44:14 ISDN: Home location: Neuss (2131), Germany (+49)
17.06.2005 17:44:15 ISDN: Application registered with CAPI (1)
17.06.2005 17:44:15 ISDN: CAPI signaling activated
17.06.2005 17:44:20 ISDN: Buffer: (3)(193)13(4)(65)(128)15(0)(0)(3)(128)(144)(163)(0)(2)(145)(129)
17.06.2005 17:44:20 ISDN: stripped 0 leading zeros
17.06.2005 17:44:20 ISDN: CalledID: 13
17.06.2005 17:44:20 ISDN: CallerID: 15
17.06.2005 17:44:21 ISDN: Incoming call (Mobilfunk (GSM und UMTS/IMT-2000), Germany / +49 (15) )
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
MichaelK said:
ok, i have made an uninstall, then new install and latest cvs. the db directory an mpconfig are the old ones. now it works again (didn't understand that really :-( )

but mpod, did you change anythin in the code ? now the internal calls are not recognized anymore. in outlook i have addes my internal phone as follow: +49 (I) 15 , and here is the log

17.06.2005 17:44:14 ISDN: Home location: Neuss (2131), Germany (+49)
17.06.2005 17:44:15 ISDN: Application registered with CAPI (1)
17.06.2005 17:44:15 ISDN: CAPI signaling activated
17.06.2005 17:44:20 ISDN: Buffer: (3)(193)13(4)(65)(128)15(0)(0)(3)(128)(144)(163)(0)(2)(145)(129)
17.06.2005 17:44:20 ISDN: stripped 0 leading zeros
17.06.2005 17:44:20 ISDN: CalledID: 13
17.06.2005 17:44:20 ISDN: CallerID: 15
17.06.2005 17:44:21 ISDN: Incoming call (Mobilfunk (GSM und UMTS/IMT-2000), Germany / +49 (15) )
LOL! Didn't think that something like that would happen :lol:

Until it's fixed, remove the following line (and other potentially conflicting ones with your config) from your ISDNCodes.xml:
Code:
<area iso="de" areacode="15" location="Mobilfunk (GSM und UMTS/IMT-2000)"/>
You PBX-guys are pretty surprising, btw. :wink:
 
D

djsky

Guest
Error Message 1.3prerelease

Hello @ all,
I installed the Mediaportal 1.3 pre Today and I get the following error message in the "MP-folder\log\error.log" after each call:

Code:
03.07.2005 17:18:05 ISDN: Cannot load country codes from ISDNCountryCodes.xml
03.07.2005 17:18:05 ISDN: Cannot load translator codes from ISDNCountryCodes.xml
03.07.2005 17:18:05 ISDN: Cannot load area codes from ISDNAreaCodes.xml

I had a look into the MP folder and there is only a "ISDNCodes.xml" file that includes both information "country" and "area" I created 2 copies of that file and renamed them to the missing file names, but that didn't work.


This is the entry of my Mediaportal log file. I didn't install Outlook yet so this outlook error should be OK until I installed Outlook.

Code:
03.07.2005 17:16:58 ISDN: 0
03.07.2005 17:16:58 ISDN: CalledID: 73
03.07.2005 17:16:58 ISDN: CallerID: +00172891234
03.07.2005 17:16:58 Outlook exception: Das COM-Objekt mit der CLSID {0006F03A-0000-0000-C000-000000000046} ist ungültig oder wurde nicht registriert. (unknown or not registered)
03.07.2005 17:16:58 ISDN: Incoming call (unknown, unknown / + () 001728968412)
03.07.2005 17:16:58   Loading references from skin\Project X\references.xml
03.07.2005 17:16:58   original skin size:720x576
03.07.2005 17:16:58 window:MediaPortal.Dialogs.GUIDialogNotify init
03.07.2005 17:17:06 window:MediaPortal.Dialogs.GUIDialogNotify init
03.07.2005 17:17:23 Mediaportal.OnExit()
03.07.2005 17:17:23 Card:1 stop
03.07.2005 17:17:23   PlugInManager.Stop()
03.07.2005 17:17:23 PowerScheduler: Stop() 
03.07.2005 17:17:23 Mediaportal.OnExit()
03.07.2005 17:17:23 MediaPortal done
03.07.2005 17:17:23 ISDN: CAPI released (1)
03.07.2005 17:17:23 open folderdatabase

My ISDN Configuration is as follow:

external S0->HiCom PBX->internal S0-> Lancom-IL2->Lan->htpc->LanCapi->MP-ISDN-Monitor

My internal Phone Numbers are 2 Digits, actually I configurated the 73 for Mediaportal. The PBX is sending the leading 0 to the internal S0 that you normally have to dial to get to the external S0. So for international calls, you'd have 3x0s in front of the number.

Do you have any Idea what I can do to fix that 2 problems?
 

mPod

Portal Pro
January 26, 2005
2,084
3
Berlin
Home Country
Germany Germany
Due to a packaging error, the wrong sources made it into the 0.1.3.0 pre-release. To get ISDN CID running, you need a later CVS version. It should all be fine then.

Let me know, if I have to change the sources to get your PBX configuration working. If you got problems, post the log here again, please.

Concerning the Outlook error: If you don't wanna install Outlook, it's also ok. The error message in the log is not more than a warning, it should not harm the rest of the ISDN CID plugin.
 

Users who are viewing this thread

Top Bottom