OBiTALK Community

General Support => Installation and Set-Up (Devices) => Topic started by: jrinco11 on April 15, 2011, 12:23:24 AM

Title: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on April 15, 2011, 12:23:24 AM
Hi all -- I'm having problems getting my UK land line to work w/the Obi110.  Simply plugging the land line into the LINE port, and then trying to call it, does nothing (no incoming call logged in the call history tab).   I then proceeded with changing the regional settings based on the Hong Kong settings listed here (http://www.obitalk.com/forum/index.php?topic=622.0 (http://www.obitalk.com/forum/index.php?topic=622.0)], as I've seen a few posts saying the HK settings mimic the UK settings, and still no luck.

Under the PHONE and LINE port status page, I have:
Line port:
  *State:  on hook
  *LoopCurrent:  0 mA
  *VBAT:   (blank)
  *TipRingVoltage:  0 V
  *LastCallerInfo:  --

looks like the obi110 doesn't even think anything's connected?  (however, I plug the same line into any number of land line phones, and I get dial tone and everything)

any suggestions or things I'm missing that I need to do in order to get the obi110 to work w/my UK land line?  (google voice and sipgate are working great, however!)

Title: Re: Getting a UK PSTN line to work with OBI110
Post by: OBiSupport on April 15, 2011, 09:52:51 AM
When you have the LINE port connected,
Do you see the LINE led (the 4th, next to telephone led) light up?

Can you please try the following:

1. Disconnect the power adaptor from OBi110
2. Lift up your analog phone, do you hear dial tone ?

if yes, continue...
3. hang up your phone, wait ~3 second, and off hook again.
   do you hear dial tone ?

Please email to support@obihai.com with answers to the above.
Also, indicate your 9 digit OBi No.

-Obihai Support Team
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on April 15, 2011, 10:14:12 AM
no LED and no dial tone after trying the instructions - I'll be sending an email to support - thanks!
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: patty on April 17, 2011, 09:58:30 AM
RJ11 may not work in UK, they use a BS6312 jack
check out this link
http://en.wikipedia.org/wiki/BS_6312
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on April 17, 2011, 10:31:52 AM
The wall jacks are indeed the BS6312, but when plugging into the actual phone itself, they're RJ11 (I'm using a BS6312 to RJ11 cable) -- I thought at first that perhaps the wiring isn't mapped correctly, but I tried using the same cable in a US land line phone I brought from the US and it works (got a dial tone when plugged into the wall socket using the same cable I'm using now)
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on April 20, 2011, 03:35:12 AM
anyone else have any ideas?  (emailed support 5 days ago w/no response yet, so was hoping someone else in the forum may have some suggestions?)
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: LeftRight on April 20, 2011, 09:13:25 AM
One more thing you might try is to connect your FXO port to FXS port using a telephone line (like the one coming with the package), then, open the PHONE and LINE status page, and see if you can read TipRingVoltage. This way, the line voltage is provided by OBi110 itself, and it should guarantee you FXO port sense a voltage around -45 V if the unit is not defective.

If you have a line splitter, you can also connect both a regular telephone and FXO port to your FXS port, then, make a call into your SP1/OBiTALK, your phone will ring, so does your LINE port. Open PHONE and LINE status page again, you should see the LINE port state becomes "ringing".

If both 2 steps go well, then, we can look ahead to see why UK BS 6312 does not work with the LINE port
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: elminakid on April 20, 2011, 11:12:11 AM
JRINCO11
Im setting up a OBI for my inlaws in London. Reading ur forum msg I thought u might be able to help me. I have SP1 set to GV and looking for a local VOIP provider local to london, so I can call using their obi to call other friends. SO questions is do u know of any local providers(sip) and also did u have issues calling the US via GV.
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: lhm. on April 20, 2011, 12:02:23 PM
 @elminakid

localphone.com
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on April 20, 2011, 12:04:52 PM
Quote from: LeftRight on April 20, 2011, 09:13:25 AM
One more thing you might try is to connect your FXO port to FXS port using a telephone line (like the one coming with the package), then, open the PHONE and LINE status page, and see if you can read TipRingVoltage. This way, the line voltage is provided by OBi110 itself, and it should guarantee you FXO port sense a voltage around -45 V if the unit is not defective.

If you have a line splitter, you can also connect both a regular telephone and FXO port to your FXS port, then, make a call into your SP1/OBiTALK, your phone will ring, so does your LINE port. Open PHONE and LINE status page again, you should see the LINE port state becomes "ringing".

If both 2 steps go well, then, we can look ahead to see why UK BS 6312 does not work with the LINE port

ah good idea -- I connected the FXO to the FXS and I am getting a TipRingVoltage of -47V (which I am not getting when I plug in the line directly from the wall).   Unfortunately, I don't have a line splitter, so I won't be able to test that unless I pick one up tomorrow (it's 8pm here and everything closes at like 5...::sigh::).  

What I'm using right now for my land line phone is a 431a to RJ11 cable (.  After a bit of research, it appears 431A is the plug type which goes into a BS6312 standard jack.  

(http://www.maplin.co.uk/bt-to-us-extension-cords-8913?tabid=1&qv=y&c=ebook&u=ecat)%5B/url)
Quote from: elminakid on April 20, 2011, 11:12:11 AM
JRINCO11
Im setting up a OBI for my inlaws in London. Reading ur forum msg I thought u might be able to help me. I have SP1 set to GV and looking for a local VOIP provider local to london, so I can call using their obi to call other friends. SO questions is do u know of any local providers(sip) and also did u have issues calling the US via GV.

There's plenty of uk sip/voip providers.  I currently use sipgate.co.uk and voipfone -- I've actually got voipfone providing service for my outgoing landline calls as they're way cheaper than BT and don't charge connection fees for each call like BT does (BT still provides my incoming landline calls).  

As far as using GV, I've had no problems using it here in the UK either with the OBI110, IncrediblePBX/asterisk, or through gmail.  (just remember that you have to initially sign up with GV from a US ip address)
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: RonR on April 20, 2011, 12:29:59 PM
Quote from: jrinco11 on April 20, 2011, 12:04:52 PMUnfortunately, I don't have a line splitter, so I won't be able to test that unless I pick one up tomorrow (it's 8pm here and everything closes at like 5...::sigh::).
You don't actually need a splitter and regular telephone connected to it to run the test (just have the PHONE Port to LINE Port connection made).  Granted, when you call into SP1/OBiTALK you won't hear the call arrive, but you should see the LINE Port LED blinking and see the LINE Port 'ringing' status.
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on April 20, 2011, 12:41:33 PM
oh man.... turns out, I was using the wrong cable!  The cable I was using indeed had a RJ11 on one end, and 431A on the other, but it was meant for a UK DSL modem connection (the red and green wire ended up on pin 1 and 4 of the RJ11 instead of 2 and 3 like it needs to be).  I happened to find another 431A to RJ11 in my mess of cables, plugged it in, and it works great - now all I need to do is change my dial plan to allow UK dialing.   (ugh, and I knew that the DSL modems using just the two wires, but I thought they used the two inside wires....::sigh:: ).   For those who may manage to end up doing what I did....make sure you are using a non-dsl hook up cable in the UK!

Thanks for everyone's suggestions, and helping me figure out that I at least didn't have a defective unit!

One more question.   Do I still need to change the dialtone settings and such like I tried doing in the OP?

Title: Re: Getting a UK PSTN line to work with OBI110
Post by: CelticComms on April 23, 2011, 06:05:30 AM
The phone and line impedance should be different in the UK.

I suggest setting the line port impedance to 370+(620||310nF).

For the phone port impedance I would probably select 320+(1050||230nF) which looks closest to BT's nominal values.

Both Line and Phone ports should be set to V23 method for CallerID.

The gain settings and some other settings should also be adjusted - hopefully somebody from Obi can give a complete list.
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on April 28, 2011, 03:12:37 AM
thanks CelticComms, however, now when I dial from my phone (**8), it rings once, disconnects, and I get a dial tone.  My guess is that the double ring from UK dialed numbers is getting interpreted as a disconnect tone or something.   Could this be due to using the wrong value for DisconnectTonePattern?  (it currently has 480-30,620-30;10;(.25+.25) in there now)
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: yhfung on April 28, 2011, 03:26:36 PM
Have you tried the disconnection tone pattern for OBi device as shown in the following thread?

http://www.obitalk.com/forum/index.php?topic=767.0


YH
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on April 28, 2011, 04:17:55 PM
yes, and unfortunately that didn't help things - also, I couldn't find where to enter in the ringback tone (if I indeed was supposed to try that as well)
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: LeftRight on April 28, 2011, 09:51:19 PM
Quote from: jrinco11 on April 28, 2011, 03:12:37 AM
thanks CelticComms, however, now when I dial from my phone (**8), it rings once, disconnects, and I get a dial tone.  My guess is that the double ring from UK dialed numbers is getting interpreted as a disconnect tone or something.   Could this be due to using the wrong value for DisconnectTonePattern?  (it currently has 480-30,620-30;10;(.25+.25) in there now)

It is unlikely the UK ringback tone is interpreted as disconnect tone if you are using the default. The tone pattern you listed (  480-30,620-30;10;(.25+.25) ) is the US disconnect tone, very different from UK ringback/disconnect tone.

To further confirm this, you can actually disable disconnect tone detect -- (uncheck "DetectDisconnectTone"), and call out again using **8, and see if you still experience the same.
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on May 16, 2011, 03:15:50 AM
nope, unfortunately I am already using the disconnect tone value - any other suggestions?
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: LeftRight on May 17, 2011, 06:10:01 PM
You may try following settings under your tone settings, and see whether it helps

Go to obi expert configuration -> Tone Settings -> Tone Profile A/B :

Dial tone:       350-18,440-18;20
Ringback tone:   400-18,450-18;20;(.4+.2,.4+2)
Busy tone:     400-18;20;(.375+.375)
Reorder tone:   400-18;20

Go to obi expert configuration -> Physical Interface -> LINE port:

DisconnectTonePattern:   400-30;20

Other settings you might try, but not sure whether those are related to your problem --

Go to obi expert configuration -> Physical Interface -> LINE port:

RingFrequencyMin    10
RingFrequencyMax   100
RingThreshold         13.50-16.50
RingValidationTime   256
   
ACImpedance         320+(1050||230 nF)
OnHookSpeed         3 ms (ETSI)
CurrentLimitingEnable   Enable
CallerIDDetectMethod   FSK (V.23)


Go to obi expert configuration -> Physical Interface -> PHONE port:

Impedance             320+(1050||230 nF)
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on May 18, 2011, 12:22:01 AM
LeftRight, thanks for the reply!  I saw your update this morning, as well as Obihai's twitter update(http://twitter.com/#!/Obihai/statuses/70633753344622592 (http://twitter.com/#!/Obihai/statuses/70633753344622592)) saying the obi110 is now available in the UK, so I'm quite excited to finally get this working - I edited my config to match your settings for just Tone Profile B...do I need to do it for both A and B?  I assume that I would just choose either Tone Profile B from Physical Interface -> LINE -> LINE Port -> ToneProfile and then I would make my changes in Tone Profile B and then leave A alone?   (doing so seems to work!)
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on May 18, 2011, 12:32:33 AM
perhaps this belongs in a different thread now, but how would I go about getting numbers dialed starting with a 0 (ie, 0xxxxxxxxxx) to be routed through the LINE port and any other international or US local (1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|01144xxxxxxxxxxx|011xx.|(Mipd)|[^*]@@.)  go to SP1, with out, for example, having to dial **8 to get to the LINE port to dial local UK numbers?

EDIT:  ah .. I need to edit the "Setup Wizard"->"Phone OutboundCallRoute" to handle this...trying now..

EDIT 2: okay, so I got it working to when I dial local UK numbers it uses the LINE port and for any US or other Int'l numbers it uses the primary line (SP1 which is GV).  However, when I dial a local UK number, it takes about 8 seconds before the call actually connects.  I dial a number, wait about 12 seconds, I get a single US ring tone, it sounds like it hangs up, wait another 5 seconds, and then I start getting a UK ring tone (and the call starts ringing the number I dialed).   

I simply added the Mli digitmap to the front of my outbound route, and for the LINE digitmap, I just placed (0xxxxxxxxxxx) to match UK numbers:

outbound route before:  {([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

outbound route now: {(Mli):li},{([1-9]x?*(Mpli)):pp},{(<#:>|911):li},{**0:aa},{***:aa2},{(<**1:>(Msp1)):sp1},{(<**2:>(Msp2)):sp2},{(<**8:>(Mli)):li},{(<**9:>(Mpp)):pp},{(Mpli):pli}

physical interface -> line -> digit map:  (0xxxxxxxxxx)

any suggestions?
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: LeftRight on May 18, 2011, 10:40:26 AM
One option to call out on your LINE port is to:  Press #, hear dial tone from PSTN, then dial your local UK number.

If you choose * * 8 for dialing out on LINE port, then,  OBi takes some extra time to send the digits out to the PSTN, which could include (after you finish dialing the number):

1/ digit map timeout (2 seconds), changeable in the LINE port DigitMap
2/ Dial delay (500 ms by default)
3/ re-generate DTMF digits, each digit takes 400 ms by default (200 ms ON, 200 OFF).
4/ Extra delay after sending out all digits before OBi passes audio over (2 seconds)

Also, you may press a terminating # at the end of dialing an international number. You can also modify LINE port DigitMap to reduce the timeout if amount of digits are known for international number.

(1), (2), (3) are all changeable in OBi settings, and you may get help from OBi support on this ...
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on July 12, 2011, 12:28:30 PM
hmm, I'm still getting random issues where I'll pick up an incoming call from the LINE port and it will be dial tone (as if the call instantly disconnects).  Perhaps now that the obi110 is sold on amazon.co.uk, someone has the ability to list all the settings pertaining to the phone/line port on a UK version of the obi110?
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: jrinco11 on July 28, 2011, 05:33:38 AM
would it be possible to get a full list of correct UK settings for the obi110?  I've purchased a new land line phone and now I am unable to get a dialtone, or incoming calls (however, when plugged directly into the pstn line - not through the obi110 - the phone works fine).  Perhaps I could import the settings from a uk-sold obi110?
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: mrbenjaminjo on October 08, 2011, 03:25:02 AM
I'm having trouble with inbound UK PSTN.

Test scenarios:

-Phone LED lit
-Line LED lit
-Inbound SIP causes phone on phone port to ring.
-Outbound SIP call works.
-Outbound PSTN call works.
-# gets PSTN line dial tone, line LED flashes, outbound works.
-Power off to OBI PSTN pass-through works, phone rings.
-Phone connected direct to PSTN, phone rings.
-PSTN inbound, line LED does not flash, phone does not ring (call history blank)
-PSTN inbound, dial # to connect to PSTN call, picks up inbound (call history logs call)
-Phone & Line Status show correct lastcallerinfo for Line Port Status, even though phone does not ring.

Basically the Obi isn't seeing the PSTN line ring, and I'm pretty sure that everything above points at a config issue (perhaps ring detection?)

I'm configuring the device directly.

Thanks for any help you can offer!



Ben.

Title: Re: Getting a UK PSTN line to work with OBI110
Post by: Stewart on October 08, 2011, 07:15:07 AM
It seems that you've covered everything, so I've no idea what may be wrong.

1. Confirm that firmware is up-to-date.

2. CallerIDDetectMethod should be FSK(V.23).

3. Try changing RingThreshold to 13.50-16.50 and/or RingValidationTime to 150.

4. If no luck, report what is shown under Line Port Status, when idle and when it is being rung.
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: Ostracus on October 08, 2011, 08:08:39 AM
This may have nothing to do with it, but aren't some telephony equipment sensitive to an incorrectly wired jack (polarity reversal, red to green, green to red)?
Title: Re: Getting a UK PSTN line to work with OBI110
Post by: mrbenjaminjo on October 08, 2011, 03:35:51 PM
Thanks Stewart, those settings helped.  I paired the device to OBITALK and I think it screwed my UK LINE settings up.  Your suggestions have got me working, though the ring tone is slightly off and the phone carries on ringing a couple of times when the caller has already hung up, so I think some other values are still "out"..

Any idea where I can get to see all of the default LINE settings for the UK build?

Ben.

Title: Re: Getting a UK PSTN line to work with OBI110
Post by: Stewart on October 08, 2011, 04:35:54 PM
http://www.provu.co.uk/pdf/sipura/sipura_uk_regional_settings.pdf

This is the closest thing I could find; the numbers are there but the parameter names are of course all different.  If you figure out the correspondence, you should be able to get the proper call progress tones, ring cadence, etc.

However, when an unanswered call is abandoned, the OBi has no way to tell, other than not detecting ringing for a while, so there will always be a delay before the phone port ringing stops.  For the default (US) settings, this timeout needs to be > 4 seconds (default American ring is two seconds on, four seconds off).  I don't know whether this parameter is adjustable -- I don't see anything that has a plausible name and value.  If it can be changed, I suppose ~2.5 sec. would be suitable for UK.