Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Re: Protocol error, layer 2 (Read 11663 times)
Tank
YaBB Newbies
*
Offline


Phoner ist großartig!

Posts: 7
Joined: 24. Oct 2006
Gender: Male
Re: Protocol error, layer 2
24. Oct 2006 at 12:00
Print Post  
Hi, 

I'm sorry if I'm asking the same question that has already been answered (which is probably the case), but I don't understand the question in German, which is why I'm posting it in English here...

As you may have suspected, I get a 'layer 2 protocol error' as well. What can I do to solve this?

Let me know if I need to give you any more info...

Hope you can help me out!

Tank
  
Back to top
 
IP Logged
 
JB
God Member
*****
Offline


Phoner-Support

Posts: 1691
Location: bei Bremen & Göttingen
Joined: 27. May 2004
Gender: Male
Re: Protocol error, layer 2
Reply #1 - 24. Oct 2006 at 20:53
Print Post  
Hello Tank,

in SIP-Mode (VoIP), "layer 2 protocol error" means, that there is something wrong with your connection to the internet (a network error happened).

Please check, if your settings are correct. If you are not using STUN or think, that this may be the reason for the error, please configure your router to forward some ports: UDP 5060 (if you have entered another port in the settings dialog, use your setting here), UDP 5062 (the port above + 2) and UDP 5064 (the port above + 4).

If this doesn't help, please send restart Phoner and try to place a call. After that, go to Window - Debug - SIP and send us a copy of the debug info.

sincerely, Jens
  
Back to top
 
IP Logged
 
Tank
YaBB Newbies
*
Offline


Phoner ist großartig!

Posts: 7
Joined: 24. Oct 2006
Gender: Male
Re: Protocol error, layer 2
Reply #2 - 27. Oct 2006 at 11:38
Print Post  
Hi Jens,

Thanks for your reply!

SIP is an Internet Protocol, and I'm just trying to use an ISDN-line as a phone line. 
So when I switch to SIP, you're right that I don't get a layer 2 protocol error anymore, but it also doesn't do anything at all for that matter...

Is it possible to use Phoner through an ISDN-phone line, without involving the Internet in the first place?


In CAPI it seems to work at first, at least, when a call comes in, it's recognized, but then the protocol error kicks in. Trying to place a call doesn't work at all (nothing happens and then a layer 2 protocol error). 

Is there any hope? Wink

Thanks again!

Tank
  
Back to top
 
IP Logged
 
JB
God Member
*****
Offline


Phoner-Support

Posts: 1691
Location: bei Bremen & Göttingen
Joined: 27. May 2004
Gender: Male
Re: Protocol error, layer 2
Reply #3 - 27. Oct 2006 at 12:10
Print Post  
Hi Tank,

I'm sorry, i supposed you are using VoIP, because the thread is about it - my mistake.

Of course, you can use CAPI / ISDN mode without having an internet connection.

Please say me what a kind of ISDN you use. Is it a german 64kBit line or a 56kBit line as used in the US? Which provider do you use?

But let's get the problem now.
Please restart Phoner and call the number Phoner is listening on. After the error occured, go to Window - Debug - Phoner and send us the debug log (you can xxx your number for security reasons).

Sincerely, Jens
  
Back to top
 
IP Logged
 
Tank
YaBB Newbies
*
Offline


Phoner ist großartig!

Posts: 7
Joined: 24. Oct 2006
Gender: Male
Re: Protocol error, layer 2
Reply #4 - 30. Oct 2006 at 12:02
Print Post  
Hi Jens,

Could be my mistake as well, my German is not what it used to be...  Grin

Anyway, I live in the Netherlands, so I guess it's a 64kbit line just like in Germany. 
Here's the debug log:

Phoner 1.89
11:58:36,656: loading device settings
11:58:36,656: loading general setting
11:58:36,796: initialising devices
11:58:36,796: OpenDevice (capi2032.dll)
11:58:36,796: LoadCAPI(capi2032.dll)
11:58:37,109: Installed
11:58:37,109: Billion Electric Co., Ltd.: 2.0 (3.26)
11:58:37,109: Register: 480 bytes blocksize
11:58:37,109: CAPI thread created: 0x0298
11:58:37,156: Listen Request
11:58:37,187: Info Request (interrogationDiversion - invoke)
11:58:37,187: devices initialised
11:58:37,203: loading debug
11:58:37,265: loading database
11:58:37,281: loading phonebook
11:58:37,312: phonebook loaded
11:58:37,312: loading settings
11:58:37,515: loading answering machine settings
11:58:37,546: updating names in log
11:58:37,671: Standalone: C:\Program Files\Phoner\phoner.exe
11:58:37,687: Listen Confirm
11:58:37,687: Info Confirm: illegal Controller/PLCI
11:58:53,296: Connect Indication
11:58:53,312:  CIP: 1 (speech)
11:58:53,312:  CalledPartyNumber: xxxxxxxxx
11:58:53,312:  CallingPartyNumber: xxxxxxxxxx
11:58:53,312: phone book lookup for xxxxxxxxxx: (xxx) xxxxxx [(xxx) xxxxxx]
11:58:53,312: Alert Request
11:58:53,390: Alert Confirm
11:59:00,781: Disconnect Indication: protocol error, layer 2
11:59:01,015: OpenDevice (capi2032.dll)
11:59:01,015: LoadCAPI(capi2032.dll)
11:59:01,015: Installed
11:59:01,015: Billion Electric Co., Ltd.: 2.0 (3.26)
11:59:01,015: Register: 1024 bytes blocksize
11:59:01,015: CAPI thread created: 0x0368
11:59:01,031: Listen Request
11:59:01,062: Disconnect Response
11:59:01,093: Listen Confirm

Thanks for your help!

All the best,
Tank
  
Back to top
 
IP Logged
 
JB
God Member
*****
Offline


Phoner-Support

Posts: 1691
Location: bei Bremen & Göttingen
Joined: 27. May 2004
Gender: Male
Re: Protocol error, layer 2
Reply #5 - 31. Oct 2006 at 16:55
Print Post  
Hello Tank,

a layer 2 protocol error is an error in the data link, which arrouses here, because the connection to your ISDN-card failes:

Tank wrote on 30. Oct 2006 at 12:02:
11:58:37,687: Listen Confirm
11:58:37,687: Info Confirm: illegal Controller/PLCI

Normally, Phoner gets some facility information after entering listening mode - your ISDN-card failes here.

Please have a look in the configuration window Options - Communication - CAPI. What is mentioned about the capabilities of your card on the right? I suppose that there is no information, because the connection failed in the beginning.

Sincerely, Jens
  
Back to top
 
IP Logged
 
Tank
YaBB Newbies
*
Offline


Phoner ist großartig!

Posts: 7
Joined: 24. Oct 2006
Gender: Male
Re: Protocol error, layer 2
Reply #6 - 31. Oct 2006 at 19:19
Print Post  
Hi Jens,

Actually, the window on the right provides quite some info. 
Here's all info:



Does that make you any wiser?
Thanks again for your help!

Tank
  
Back to top
 
IP Logged
 
JB
God Member
*****
Offline


Phoner-Support

Posts: 1691
Location: bei Bremen & Göttingen
Joined: 27. May 2004
Gender: Male
Re: Protocol error, layer 2
Reply #7 - 31. Oct 2006 at 19:40
Print Post  
Moin Tank,

I'm sorry, but your image is not displayed here so i cannot conclude anything. Please append the file to your posting.

sincerely Jens
  
Back to top
 
IP Logged
 
Tank
YaBB Newbies
*
Offline


Phoner ist großartig!

Posts: 7
Joined: 24. Oct 2006
Gender: Male
Re: Protocol error, layer 2
Reply #8 - 01. Nov 2006 at 14:11
Print Post  
Hmm, 

That's odd, it worked yesterday...
Well here it is attached. 

Cheers,
Tank
  

Phoner.JPG ( 180 KB | Downloads )
Phoner.JPG
Back to top
 
IP Logged
 
JB
God Member
*****
Offline


Phoner-Support

Posts: 1691
Location: bei Bremen & Göttingen
Joined: 27. May 2004
Gender: Male
Re: Protocol error, layer 2
Reply #9 - 01. Nov 2006 at 17:19
Print Post  
Moin Tank,

I have thinked a bit on your Debug Tank wrote on 30. Oct 2006 at 12:02:
11:58:37,687: Listen Confirm
11:58:37,687: Info Confirm: illegal Controller/PLCI
and maybe it works if you choose another Controller in the configuration window (see your screencopy).

Please let us know, if it helps.

Sincerely, Jens
  
Back to top
 
IP Logged
 
Tank
YaBB Newbies
*
Offline


Phoner ist großartig!

Posts: 7
Joined: 24. Oct 2006
Gender: Male
Re: Protocol error, layer 2
Reply #10 - 01. Nov 2006 at 18:47
Print Post  
Hi Jens,

I'm not sure if I understood correctly what you mean...
Anyway, what I did was I tried to select another number in the pulldown menu on the left (under 'controller', where it says '1' in the screenshot). 

However, the only other option is '0', and I can't choose that one, as it automatically stays at '1'.

So that didn't work either Wink

Any ideas left..?  Grin

Thanks!
Tank
  
Back to top
 
IP Logged
 
Phoner Admin
YaBB Administrator
*****
Offline



Posts: 11524
Location: Germany
Joined: 12. Oct 2003
Gender: Male
Re: Protocol error, layer 2
Reply #11 - 01. Nov 2006 at 20:17
Print Post  
Hi Tank,

Is your PC (with this Billion card) directly connected to the NTBA (I don't know, if you call it the same in Netherlands)? This means, is the ISDN card connected to a PBX (Private Branch Exchange) or directly to the net from your provider?
There are different kinds of ISDN lines: Point-to-point and point-to-multipoint. A normal phone can only be plugged to a point-to-multipoint line (same as your ISDN card).
If you are connected to a PBX with internal S0 bus, what protocol is used there? DSS1?
Do you use any other CAPI based applications? Do they work well?
  
Back to top
WWW  
IP Logged
 
Tank
YaBB Newbies
*
Offline


Phoner ist großartig!

Posts: 7
Joined: 24. Oct 2006
Gender: Male
Re: Protocol error, layer 2
Reply #12 - 02. Nov 2006 at 13:51
Print Post  
Hi,

The card is connected to some kind of PBX-box, not directly to the PSTN. 

I can't really figure out the construction, as it's quite complex (at least when I look at the wires). 

But in a practical sense, things are basically like this. 

- When using a normal phone, I need to dial a number first (like '0') to get an 'outside line' or external connection to the PSTN to make a phonecall.
- The line to which the ISDN card is connected does not require a '0'. It should be possible to directly dial the number and place the call. 

With incoming calls, this is what happens:

- People can call different numbers here to get to specific devices. For instance, for just calling a phone, people can dial xxx-xxxxxx0 or xxx-xxxxxx1. However, the line to the ISDN card in my PC is a dedicated line with the dedicated number of xxx-xxxxxx3. 
- When I call xxx-xxxxxx0 or xxx-xxxxxx1, all phones ring (which is normal), and Phoner recognizes a call coming in. After about 8 seconds without even trying to answer the call, I get the layer 2 protocol error. 
- When I call xxx-xxxxxx3, not all Phones ring, as I'm calling the dedicated line for my ISDN-card, and Phoner recognizes the call coming in at this number. But then, after about 8 seconds, without even trying to answer the call, I get the layer 2 protocol error. 

I'm not sure if that's relevant at all, but I thought I'd just share that. 

With regard to the protocol question, I think you're right, it's DSS-1. 

I don't use any other CAPI-based applications. 


Hope that was of any help...

Thanks anyway!

Tank
  
Back to top
 
IP Logged
 
JB
God Member
*****
Offline


Phoner-Support

Posts: 1691
Location: bei Bremen & Göttingen
Joined: 27. May 2004
Gender: Male
Re: Protocol error, layer 2
Reply #13 - 02. Nov 2006 at 18:36
Print Post  
Hello Tank,

it may be possible, that te pbx causes the problem, but to be sure, I have to ask you to test it.

Please connect your ISDN-device directly to your NTBA (the box, in which the cable goes, after it comes out of the wall - if you have DSL, it is the second box) and call your Phoner. Does it work well now?

Sincerely Jens
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint