Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FreePBX + SPA 3102 Problems

187 views
Skip to first unread message

Dave

unread,
Oct 26, 2013, 11:36:20 AM10/26/13
to
Ok, from my other posts here you will no doubt no I have been playing
FreePBX on a Raspberry PI and now just got myself a Linksys SPA 3102. I've
got it all working, sort off. The 3102 is all logged into FreePBX ok as an
extension and a truck (PSTN Line). I've followed the instructions Graham.
posted but I getting the 'All Circuits Are Busy Now' message when I select
the BT line as a destination, it works ok when I set Sipgate for example so
it's an issue with the 3102 settings I think. I've not tested inbound yet -
no cell phone coverage here for one thing!

Thanks BTW to all the help from group members that have helped me so
far - Thank you all !

Dave

Bob Eager

unread,
Oct 26, 2013, 12:08:54 PM10/26/13
to
Has the PSTN line ('Line 2') registered with the server OK? Does the web
interface show 'registered'?

Here is a fragment of the script I use to provision mine. Ignore the
code, but ensure you have these settings:

call item 'VoIP-To-PSTN-Gateway_Enable_2_','Yes'
call item 'VoIP_Caller_Auth_Method_2_','None'
call item 'VoIP_PIN_Max_Retry_2_',3
call item 'One_Stage_Dialing_2_','Yes'
call item 'Line_1_VoIP_Caller_DP_2_','None'
call item 'VoIP_Caller_Default_DP_2_',2
call item 'Line_1_Fallback_DP_2_','None'
call item 'VoIP_Caller_ID_Pattern_2_',''
call item 'VoIP_Access_List',''
do i = 1 to 8
call item 'VoIP_Caller_'i'_PIN_2_',''
call item 'VoIP_Caller_'i'_DP_2_','None'
end



--
Use the BIG mirror service in the UK: http://www.mirrorservice.org
My posts (including this one) are my copyright and if @diy_forums on
Twitter wish to tweet them they can pay me £30 a post
*lightning surge protection* - a w_tom conductor

Dave

unread,
Oct 26, 2013, 12:30:21 PM10/26/13
to


"Bob Eager" <news...@eager.cx> wrote in message
news:bd27om...@mid.individual.net...
Yes, Both Line 1 Status and PSTN Line Status are showing registered the
other settings are now the same as yours - still have the All Circuits Are
Busy Now (ACABN).






Dave

unread,
Oct 26, 2013, 1:21:44 PM10/26/13
to


"Dave" <m...@me.com> wrote in message news:l4gqmu$5mq$1...@dont-email.me...
Red face time :-) . I was sat on the floor in our hallway and just checking
the leads and thinking then I discovered the Line lead was not plugged all
the way in !!
I knew I didn't want to plug it all the way in just far enough to make
contact. This is because the 'barb' is missing from that line lead and I
didn't want to press it all the way in because it's difficult to remove.

I can now make outbound calls ! Just discovered caller ID is not working
from another extension, small point. Also takes ages to dial from analogue
phone - I think this an issue with dial_timeout in FreePBX

Dave.

Dave

unread,
Oct 26, 2013, 2:25:24 PM10/26/13
to


"Dave" <m...@me.com> wrote in message news:l4gtpg$nh5$1...@dont-email.me...
No inbound either - testing with BT's 17070 ringback test ... there appears
to be loop current flowing looking at the voice info page, so the 3102 is
recognising the ringing but not answering it or passing it on ?




Bob Eager

unread,
Oct 26, 2013, 3:13:41 PM10/26/13
to
Any use?

call item 'PSTN-To-VoIP_Gateway_Enable_2_','Yes'
call item 'PSTN_Caller_Auth_Method_2_','None'
call item 'PSTN_Ring_Thru_Line_1_2_','No'
call item 'PSTN_PIN_Max_Retry_2_',3
call item 'PSTN_CID_For_VoIP_CID_2_','Yes'
call item 'PSTN_CID_Number_Prefix_2_',''
call item 'PSTN_Caller_Default_DP_2_',g.pstn_dp
call item 'Off_Hook_While_Calling_VoIP_2_','No'
call item 'Line_1_Signal_Hook_Flash_To_PSTN_2_','Disabled'
call item 'PSTN_CID_Name_Prefix_2_',''
call item 'PSTN_Caller_ID_Pattern_2_',''
call item 'PSTN_Access_List',''
do i = 1 to 8
call item 'PSTN_Caller_'i'_PIN_2_',''
call item 'PSTN_Caller_'i'_DP_2_','1'

Dave

unread,
Oct 26, 2013, 3:45:41 PM10/26/13
to


"Bob Eager" <news...@eager.cx> wrote in message
news:bd2ij5...@mid.individual.net...
Yes, here are my settings ..
http://farm6.staticflickr.com/5476/10498580965_0ae1b52586_o.jpg


Graham.

unread,
Oct 26, 2013, 3:46:49 PM10/26/13
to
>>>> Twitter wish to tweet them they can pay me Ł30 a post
>>>> *lightning surge protection* - a w_tom conductor
>>>
>>> Yes, Both Line 1 Status and PSTN Line Status are showing registered the
>>> other settings are now the same as yours - still have the All Circuits
>>> Are Busy Now (ACABN).
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> Red face time :-) . I was sat on the floor in our hallway and just
>> checking the leads and thinking then I discovered the Line lead was not
>> plugged all the way in !!
>> I knew I didn't want to plug it all the way in just far enough to make
>> contact. This is because the 'barb' is missing from that line lead and I
>> didn't want to press it all the way in because it's difficult to remove.
>>
>> I can now make outbound calls ! Just discovered caller ID is not
>> working from another extension, small point. Also takes ages to dial from
>> analogue phone - I think this an issue with dial_timeout in FreePBX
>>
>> Dave.
>
>No inbound either - testing with BT's 17070 ringback test ... there appears
>to be loop current flowing looking at the voice info page, so the 3102 is
>recognising the ringing but not answering it or passing it on ?


Hi Dave,
Do you still see a long delay if you append # at the end?

As the FXO and FXS are behind a common network interface and therefore
share a MAC they need to have different ports assigned, and by default
the SPA has 5061 assigned to the FSO. In the freepbx trunk, you should
have a line in PEER Details that says

port=5061

Here are my PEER Details in full


disallow=all
allow=ulaw
canreinvite=no
context=from-trunk
dtmfmode=rfc2833
host=dynamic
incominglimit=1
nat=never
port=5061
qualify=yes
secret=????
type=friend
username=1-pstn


SSH into the RPi and issue "asterisk -rvvvvv" at the root prompt,
then see what it spews out when the POTS line rings.


--
Graham.

%Profound_observation%

Graham.

unread,
Oct 26, 2013, 4:01:32 PM10/26/13
to
>>>>>> Twitter wish to tweet them they can pay me Ł30 a post *lightning
>> Twitter wish to tweet them they can pay me Ł30 a post
>> *lightning surge protection* - a w_tom conductor
>
>Yes, here are my settings ..
>http://farm6.staticflickr.com/5476/10498580965_0ae1b52586_o.jpg
>


That looks fine, and I take it you modified the "Dial Plan 2" further
up the page to (S0<:01234567890>) matching the DID of your inbound
route in Freepbx?

And the inbound route has a valid destination set?

As I said, SSH into the console and ring the line.

--
Graham.

%Profound_observation%

Dave

unread,
Oct 26, 2013, 4:17:35 PM10/26/13
to


"Graham." <m...@privacy.net> wrote in message
news:na5o6991kmdfd8vg1...@4ax.com...
>>>>> Twitter wish to tweet them they can pay me £30 a post
Hi Graham,

Yes, a # appended speeds it up, I think it can be adjusted with
dial_timeout somewhere but can cause problems.

Peer details exactly like yours, I'll look into a more verbose output .

my lash-up !

http://farm6.staticflickr.com/5529/10498054304_09feec4d57_k.jpg


Dave.

Dave

unread,
Oct 26, 2013, 4:33:33 PM10/26/13
to


"Graham." <m...@privacy.net> wrote in message
news:nf7o69loooraohsft...@4ax.com...
>>>>>>> Twitter wish to tweet them they can pay me £30 a post *lightning
>>> Twitter wish to tweet them they can pay me £30 a post
>>> *lightning surge protection* - a w_tom conductor
>>
>>Yes, here are my settings ..
>>http://farm6.staticflickr.com/5476/10498580965_0ae1b52586_o.jpg
>>
>
>
> That looks fine, and I take it you modified the "Dial Plan 2" further
> up the page to (S0<:01234567890>) matching the DID of your inbound
> route in Freepbx?
>
> And the inbound route has a valid destination set?
>
> As I said, SSH into the console and ring the line.
>
> --
> Graham.
>
> %Profound_observation%

Erm no, must have missed that, not sure what to set to ? I have a route
ANY/ANY to pick it up, then sends it to the 3102's FXS port extension.


Graham.

unread,
Oct 26, 2013, 4:53:22 PM10/26/13
to
A man after my own heart Dave, most of my projects look as messy as
that, but I'm quite proud of the neatness of my final configuration

http://www.flickr.com/photos/g3zvt/10499539866/lightbox/

Note the second PAP2 has been removed, three extensions are
sufficient. And the disaster recovery spare SD card, very impotent.

I bet you don't work much DX with that PLA going.




--
Graham.

%Profound_observation%

Graham.

unread,
Oct 26, 2013, 5:03:02 PM10/26/13
to
--
Graham.

%Profound_observation%

Dave

unread,
Oct 26, 2013, 5:13:50 PM10/26/13
to


"Graham." <m...@privacy.net> wrote in message
news:1gao69l72fcfacr1h...@4ax.com...
Not a PLA, won't have them in the house the PI puts out a bit of noise on
lower bands as it is. The one in the right socket is a Maplin power meter
(16Watts Draytek+Rpi+3102).
The one in left socket is the dect phone power supply.

Dave


Graham.

unread,
Oct 26, 2013, 5:27:45 PM10/26/13
to
On Sat, 26 Oct 2013 21:33:33 +0100, "Dave" <m...@me.com> wrote:

>
>
OK I have just tried a few things and with a ANY/ANY route set it does
work, but not when dial plan 2 is set to (xx.) (The caller hears a
DISA dialtone)

If I set it to
(S0<:0>) (any digit(s) can follow the colon), then it does follow the
"/" route.

Make a specific route for it by putting the same number in the Freepbx
inbound route DID, as in the SPA PSTN line Dial plan 2, The obvious
string to use is your POTS phone number so for example
01234567890 in the DID
and (S0<:01234567890>) in DP2

Try that.



--
Graham.

%Profound_observation%

Graham.

unread,
Oct 26, 2013, 5:43:51 PM10/26/13
to

>>
>> A man after my own heart Dave, most of my projects look as messy as
>> that, but I'm quite proud of the neatness of my final configuration
>>
>> http://www.flickr.com/photos/g3zvt/10499539866/lightbox/
>>
>> Note the second PAP2 has been removed, three extensions are
>> sufficient. And the disaster recovery spare SD card, very impotent.
>>
>> I bet you don't work much DX with that PLA going.
>>
>>
>>
>>
>> --
>> Graham.
>>
>> %Profound_observation%
>
>Not a PLA, won't have them in the house the PI puts out a bit of noise on
>lower bands as it is. The one in the right socket is a Maplin power meter
>(16Watts Draytek+Rpi+3102).
>The one in left socket is the dect phone power supply.
>
>Dave


Apology tendered!
I mistook that power meter for one.

I have a similar power meter, an HO1569 that I picked up for under a
fiver IIRC.

--
Graham.

%Profound_observation%

Dave

unread,
Oct 27, 2013, 5:51:19 AM10/27/13
to


"Graham." <m...@privacy.net> wrote in message
news:rgbo69dcshr674c1c...@4ax.com...
Hi Graham,
Just tried that and it seemed to work, sort of, When I dial 17070 from the
line directly then quickly swap the over to the 3102 to receive the call
that works ok, and the 3102 FXS phone rings as directed. However, when I
dial out via the 3102 I get a weird BT message about 'Sorry, if you want to
access your messaging service from home you must dial 1571 - goodbye !'.
Looking at the CDR record it appears to dial 17070 ?. It would appear that
the 3102 is really dialling something else ??

The outbound route is very simple just a dot . to wildcard everything to the
3102 route out, nothing prefixed or appended.



Graham.

unread,
Oct 27, 2013, 6:53:38 AM10/27/13
to
Can't you use a mobile to make the calls?

You seem to have discovered a "feature" in the BT system.
The Betamax trunk is presenting the same CLI as the actual line you
are dialling hence the message from 1571.

I hadn't realised it did that, (never had 1571) but I can see why it
might do that.
I think you can dial an 0800 and cancel 1571, It is unnecessary with
Asterisk , you will agree!

So, use a mobile,
or present a different number (or no CLI).


Your getting there!

--
Graham.

%Profound_observation%

Graham.

unread,
Oct 27, 2013, 7:08:19 AM10/27/13
to

>Your getting there!

You're not your.
Sorry.

--
Graham.

%Profound_observation%

Dave

unread,
Oct 27, 2013, 7:18:27 AM10/27/13
to


"Graham." <m...@privacy.net> wrote in message
news:farp69tfn40bptmmo...@4ax.com...
Morning Graham,

No mobile coverage at home, Orange or O2, have to up the hill - not that
useful ..

That's what I thought never heard that BT announcement before - I'll try to
record it !, not really sure why it's doing it. I thought 1571 would play
nicely with FreePBX.
It is the DP2 that is causing it because if I change it back to how it was
were back to normal.

I have it set up very simply, any number goes via the 3102 to BT line and
the other way back in to the 3102. I knew the 3102 was a beast to configure
but not realised how much so. I'll try to document my findings to add to the
list of other 3102 setup pages I found - some more useful than others.

My wife keeps saying I have more patience than she does and I will get there
in the end !! - I hope so...



Graham.

unread,
Oct 27, 2013, 7:52:16 AM10/27/13
to
When you hear that anouncment I bet it's working correctly.

It's only you that gets it because you are presenting your own number
on the outgoing trunk.

Take the dog for a walk up the hill...

--
Graham.

%Profound_observation%

Dave

unread,
Oct 27, 2013, 8:10:57 AM10/27/13
to


"Graham." <m...@privacy.net> wrote in message
news:3usp691r7k2svjvrh...@4ax.com...
Not you as well !! - drives my wife crazy less/fewer etc etc.....I really
know better, not thinking

Dave.


Dave

unread,
Oct 27, 2013, 8:18:14 AM10/27/13
to


"Graham." <m...@privacy.net> wrote in message
news:edvp69dmure25tfvg...@4ax.com...
Yeah!, got it - I think, changed 'Voip caller default DP' from 2 to None
under 'PSTN Line' that seemed to do it, Ringback now works no caller ID
displayed but it's a start !

BT is going to get really annoyed at me continually calling 17070 ringback -
but it's better than walking up the hill - no dog BTW, and it's getting very
windy hihi !!

Dave.


Graham.

unread,
Oct 27, 2013, 10:29:01 AM10/27/13
to

>
>Yeah!, got it - I think, changed 'Voip caller default DP' from 2 to None
>under 'PSTN Line' that seemed to do it, Ringback now works no caller ID
>displayed but it's a start !
>
>BT is going to get really annoyed at me continually calling 17070 ringback -
>but it's better than walking up the hill - no dog BTW, and it's getting very
>windy hihi !!
>
>Dave.
>


Can you post a screenshot of your "International control" at the foot
of the PSTN Line tab?

--
Graham.

%Profound_observation%

Dave

unread,
Oct 27, 2013, 12:20:44 PM10/27/13
to


"Graham." wrote in message
news:dm8q69p80cnlqq57q...@4ax.com...
Just came of the phone with my father (54 minutes!), it seemed to work quite
well a bit of quantization ? and a little quite but ok. Incidentally caller
ID displayed ok on my mobile phone running cSipsimple, but still not working
on the normal land line dect phone via the 3102 FXS port.

Here is a capture of the said PSTN Line tab
http://farm4.staticflickr.com/3751/10515214445_97d8584fbf_o.jpg

Dave.

Dave

unread,
Oct 27, 2013, 1:05:48 PM10/27/13
to


"Dave" wrote in message news:l4jeh2$1h1$1...@dont-email.me...
- Another school boy error, quiet not quite - roll eyes !

Graham.

unread,
Oct 27, 2013, 3:30:18 PM10/27/13
to
On Sun, 27 Oct 2013 16:20:44 -0000, "Dave" <m...@me.com> wrote:

>
>
>"Graham." wrote in message
>news:dm8q69p80cnlqq57q...@4ax.com...
>
>
>>
>>Yeah!, got it - I think, changed 'Voip caller default DP' from 2 to None
>>under 'PSTN Line' that seemed to do it, Ringback now works no caller ID
>>displayed but it's a start !
>>
>>BT is going to get really annoyed at me continually calling 17070
>>ringback -
>>but it's better than walking up the hill - no dog BTW, and it's getting
>>very
>>windy hihi !!
>>
>>Dave.
>>
>
>
>Can you post a screenshot of your "International control" at the foot
>of the PSTN Line tab?

Much the same as I have, but you might want to try "detect polarity
reversal"=yes if incoming if the SPA does not release the line in a
timely manner after an incoming call.

Play around with the two gain settings till you get a nice balance,
mine are set at 0 & 6, I think you can go negative if you want.

In the regional tab under distinctive ring patterns I have changed
Ring1 Cadence to a British
60(.4/.2,.4/2)
Not only does it sound more familiar, it also helps a little in
reducing the delay before the extension starts to ring, or so it
seemed to me.


I have made various notes about other matters that you may or may not
have already addressed.

eg. How to enter an SMTP server address so Freepbx can email you your
voicemail.

Various file locations so you can do some manual housekeeping, I have
to keep an eye on the call recordings because they could fill my 4GB
card if I'm not careful.

There's a patch you need to do if you want to upload large files as
system recordings for announcements and music on hold.


Just ask if you need help with any of that.



--
Graham.

%Profound_observation%

Dave

unread,
Oct 28, 2013, 7:49:48 AM10/28/13
to


"Graham." <m...@privacy.net> wrote in message
news:ieoq6915leqpn07il...@4ax.com...
I have made most of the changes you've suggested. File locations would be
helpful, I've found the recording but would be nice as you say for some
'housekeeping', clear CDR records etc I have a 8GB card and it's saying 48%
full.

The biggest problem I have is no caller ID on the phone, it shows ok in the
CDR records but not the phone. I've tried loads of different configurations
still no go. The phone is a French dect phone but it has worked fine with BT
for many years (I assume the CID firmware would detect / work everywhere)

Everything else seems to work thus far. One thing I did notice is my fathers
CID displays in the CDR as 01234-567 8901 (number changed!) with the
hyphen and space ? this makes it difficult to put into an inbound route ?.
BT's 17070 ringback number shows the normal 080012345678 with no spaces or
hyphen.

Dave.



Dave

unread,
Oct 28, 2013, 10:46:16 AM10/28/13
to


"Dave" wrote in message news:l4ll6a$p60$1...@dont-email.me...
Just sorted the caller ID set Caller Id method to DTMF(Finland,Sweden) and
Caller ID FSK Standard method to Bell 202 and it worked ! - Very strange.

All I need to sort now is the CID format ....



ßodincus

unread,
Oct 28, 2013, 11:42:25 AM10/28/13
to
| · : · : · : · : · : · : · Original Message · : · : · : · : · : · : ·
| From: Dave
| Date: 28/10/13 11:49
> The phone is a French dect phone but it has
> worked fine with BT for many years (I assume the CID firmware would
> detect / work everywhere)
>
France uses a different method to pass the CLID than the UK.
Most of the European countries do.

http://www.ainslie.org.uk/callerid/cli_faq.htm

This might help:

http://www.cisco.com/en/US/docs/voice_ip_comm/csbpvga/ata/administration/guide/ATA_AG_v3_NC-WEB.pdf

Look at page 154 for a start.

Basically you need the SPA3102 to translate the CLID it received from
your BT line into the ETSI CallerID for your french phone.

--
ßodincus - The Y2K Druid

Dave

unread,
Oct 28, 2013, 12:54:19 PM10/28/13
to


"�odincus" <nob...@this.address> wrote in message
news:BBvbu.953$ql7...@fx33.am4...
> | � : � : � : � : � : � : � Original Message � : � : � : � : � : � : �
> �odincus - The Y2K Druid
>
Many Thanks for the very useful links, What I don't understand is the phone
works fine on the BT line ? also I think the phone, a Alcatel which is
marketed here by BT under there branding.
What it might be is the volume is very loud for the dial tone and that being
high may distort the FSK CID burst after the first ring when it's set to
ETSI with PR (UK) - just a hunch.


ßodincus

unread,
Oct 28, 2013, 1:06:50 PM10/28/13
to
| · : · : · : · : · : · : · Original Message · : · : · : · : · : · : ·
| From: Dave
| Date: 28/10/13 16:54

>
>
> "ßodincus" <nob...@this.address> wrote in message
> news:BBvbu.953$ql7...@fx33.am4...
>> | · : · : · : · : · : · : · Original Message · : · : · : · : · : · : ·
>> | From: Dave
>> | Date: 28/10/13 11:49
>> > The phone is a French dect phone but it has
>>> worked fine with BT for many years (I assume the CID firmware would
>>> detect / work everywhere)
>>>
>> France uses a different method to pass the CLID than the UK.
>> Most of the European countries do.
>>
>> http://www.ainslie.org.uk/callerid/cli_faq.htm
>>
>> This might help:
>>
>> http://www.cisco.com/en/US/docs/voice_ip_comm/csbpvga/ata/administration/guide/ATA_AG_v3_NC-WEB.pdf
>>
>>
>> Look at page 154 for a start.
>>
>> Basically you need the SPA3102 to translate the CLID it received from
>> your BT line into the ETSI CallerID for your french phone.
>>
>> --
>> ßodincus - The Y2K Druid
>>
> Many Thanks for the very useful links, What I don't understand is the
> phone works fine on the BT line ? also I think the phone, a Alcatel
> which is marketed here by BT under there branding.
> What it might be is the volume is very loud for the dial tone and that
> being high may distort the FSK CID burst after the first ring when it's
> set to ETSI with PR (UK) - just a hunch.
>
>
France uses a different set of parameters for the line (impedance and
capacity) too. Have a dig in that PDF and try tweaking that, and then
the gains.

You only need to work on the FXS side (User 1), don't touch anything on
the FXO (Line 1): if the PBX receives a CLID from the SPA3102 that bit
is OK.

Dave

unread,
Oct 28, 2013, 1:22:53 PM10/28/13
to


"�odincus" <nob...@this.address> wrote in message
news:JQwbu.956$ql7...@fx33.am4...
> | � : � : � : � : � : � : � Original Message � : � : � : � : � : � : �
> | From: Dave
> | Date: 28/10/13 16:54
>
>>
>>
>> "�odincus" <nob...@this.address> wrote in message
>> news:BBvbu.953$ql7...@fx33.am4...
>>> | � : � : � : � : � : � : � Original Message � : � : � : � : � : � : �
>>> | From: Dave
>>> | Date: 28/10/13 11:49
>>> > The phone is a French dect phone but it has
>>>> worked fine with BT for many years (I assume the CID firmware would
>>>> detect / work everywhere)
>>>>
>>> France uses a different method to pass the CLID than the UK.
>>> Most of the European countries do.
>>>
>>> http://www.ainslie.org.uk/callerid/cli_faq.htm
>>>
>>> This might help:
>>>
>>> http://www.cisco.com/en/US/docs/voice_ip_comm/csbpvga/ata/administration/guide/ATA_AG_v3_NC-WEB.pdf
>>>
>>>
>>> Look at page 154 for a start.
>>>
>>> Basically you need the SPA3102 to translate the CLID it received from
>>> your BT line into the ETSI CallerID for your french phone.
>>>
>>> --
>>> �odincus - The Y2K Druid
>>>
>> Many Thanks for the very useful links, What I don't understand is the
>> phone works fine on the BT line ? also I think the phone, a Alcatel
>> which is marketed here by BT under there branding.
>> What it might be is the volume is very loud for the dial tone and that
>> being high may distort the FSK CID burst after the first ring when it's
>> set to ETSI with PR (UK) - just a hunch.
>>
>>
> France uses a different set of parameters for the line (impedance and
> capacity) too. Have a dig in that PDF and try tweaking that, and then the
> gains.
>
> You only need to work on the FXS side (User 1), don't touch anything on
> the FXO (Line 1): if the PBX receives a CLID from the SPA3102 that bit is
> OK.
>
> --
> �odincus - The Y2K Druid

Ah ok, all I 'fiddled' with is the Regional tab, at the bottom under
Miscellaneous .

>

ßodincus

unread,
Oct 28, 2013, 2:32:31 PM10/28/13
to
| · : · : · : · : · : · : · Original Message · : · : · : · : · : · : ·
| From: Dave
| Date: 28/10/13 17:22

>
>
> "ßodincus" <nob...@this.address> wrote in message
> news:JQwbu.956$ql7...@fx33.am4...
>> | · : · : · : · : · : · : · Original Message · : · : · : · : · : · : ·
>> | From: Dave
>> | Date: 28/10/13 16:54
>>
>>>
>>>
>>> "ßodincus" <nob...@this.address> wrote in message
>>> news:BBvbu.953$ql7...@fx33.am4...
>>>> | · : · : · : · : · : · : · Original Message · : · : · : · : · : · : ·
>>>> | From: Dave
>>>> | Date: 28/10/13 11:49
>>>> > The phone is a French dect phone but it has
>>>>> worked fine with BT for many years (I assume the CID firmware would
>>>>> detect / work everywhere)
>>>>>
>>>> France uses a different method to pass the CLID than the UK.
>>>> Most of the European countries do.
>>>>
>>>> http://www.ainslie.org.uk/callerid/cli_faq.htm
>>>>
>>>> This might help:
>>>>
>>>> http://www.cisco.com/en/US/docs/voice_ip_comm/csbpvga/ata/administration/guide/ATA_AG_v3_NC-WEB.pdf
>>>>
>>>>
>>>>
>>>> Look at page 154 for a start.
>>>>
>>>> Basically you need the SPA3102 to translate the CLID it received from
>>>> your BT line into the ETSI CallerID for your french phone.
>>>>
>>>> --
>>>> ßodincus - The Y2K Druid
>>>>
>>> Many Thanks for the very useful links, What I don't understand is the
>>> phone works fine on the BT line ? also I think the phone, a Alcatel
>>> which is marketed here by BT under there branding.
>>> What it might be is the volume is very loud for the dial tone and that
>>> being high may distort the FSK CID burst after the first ring when it's
>>> set to ETSI with PR (UK) - just a hunch.
>>>
>>>
>> France uses a different set of parameters for the line (impedance and
>> capacity) too. Have a dig in that PDF and try tweaking that, and then
>> the gains.
>>
>> You only need to work on the FXS side (User 1), don't touch anything
>> on the FXO (Line 1): if the PBX receives a CLID from the SPA3102 that
>> bit is OK.
>>
>> --
>> ßodincus - The Y2K Druid
>
> Ah ok, all I 'fiddled' with is the Regional tab, at the bottom under
> Miscellaneous .
>
>>
If you say the tones are loud the line impedance is very likely wrong
for the phone you're using.
You're not making it easy for yourself tho...

Dave

unread,
Oct 28, 2013, 4:45:26 PM10/28/13
to


"ßodincus" <nob...@this.address> wrote in message
news:25ybu.54651$gq3....@fx01.am4...
I know, it's not easy - change - try - change back again !. The PDF has been
very helpful though !

I've reduced the dial tone from the Regional Tab under Call Progress Tones -
Dial tone then the -19db reduced to -22db and it's better.

Next problem, there is no date+time on the caller ID display on the dect
phone - as I had with BT, should there be ?


Graham.

unread,
Oct 28, 2013, 6:47:38 PM10/28/13
to

>
>I have made most of the changes you've suggested. File locations would be
>helpful, I've found the recording but would be nice as you say for some
>'housekeeping', clear CDR records etc I have a 8GB card and it's saying 48%
>full.
>
>The biggest problem I have is no caller ID on the phone, it shows ok in the
>CDR records but not the phone. I've tried loads of different configurations
>still no go. The phone is a French dect phone but it has worked fine with BT
>for many years (I assume the CID firmware would detect / work everywhere)
>
>Everything else seems to work thus far. One thing I did notice is my fathers
>CID displays in the CDR as 01234-567 8901 (number changed!) with the
>hyphen and space ? this makes it difficult to put into an inbound route ?.
>BT's 17070 ringback number shows the normal 080012345678 with no spaces or
>hyphen.
>
>Dave.


Incidentally the cards I am using are only 4GB and cost �2.73 from
Ebay.
They are fast cards, in fact they are not SDHC as recommended, just SD
but they perform very well in this application.

According to the notes I made you can clear all the CDR data by SSH
into the root prompt, then:
mysql -p
Enter root password again (raspberry)
use asteriskcdrdb
DELETE FROM cdr
exit


Not tried it, source:
http://forums.whirlpool.net.au/forum-replies.cfm?t=698136

If you want to remove call recordings, I find it convenient to remove
entire directories, as the structure is year/month/day

So, for example, if you wanted to remove all today's recordings you
could issue:

rm -r /var/spool/asterisk/monitor/2013/10/28

Likewise you could delete an entire month, or even year. The directory
structure appears to be self-healing when next written to.

As I mentioned you can only upload relatively short audio clips for
announcements and MOH until you change some defaults.


nano /etc/php5/apache2/php.ini

It's a big file, use the search facility in nano to find & change:

upload_max_filesize = 20M (was 2M)
and also

post_max_size = 20M (was 8M)
After this you need to restart Apache:

service apache2 restart

source: http://www.raspberry-asterisk.org/calling-on-gsm3g-networks/



--
Graham.

%Profound_observation%

ßodincus

unread,
Oct 29, 2013, 7:12:51 AM10/29/13
to
| · : · : · : · : · : · : · Original Message · : · : · : · : · : · : ·
| From: Dave
| Date: 28/10/13 20:45
I'm not sure, does the French standard delivers the time/date with the
CLID info?

You said your phone was showing CLID OK before, when directly connected
to the PSTN, so why not try to deliver the CLID using the BT standard?

BTW, is your PSTN line with BT or on another provider? Cable uses a
different (again) standard, verify.

To answer all these questions, look at the first link I've sent you and
dig deeper looking at the links referenced there.

I've long given up on PSTN, so my memory on all this is a bit hazy.

Dave

unread,
Oct 29, 2013, 7:29:15 AM10/29/13
to


"ßodincus" <nob...@this.address> wrote in message
news:TKMbu.30993$sz2....@fx03.am4...
Yes, when we had the phone in France it displayed date & time + CID ok.
Also the same here on the BT PSTN line CID + date & time all ok. When I set
the 3102 to the UK standard it doesn't work - weird.

I'll look into the links some more , I'm getting there slowly ! - thanks
mainly to all the help from here..


Dave

unread,
Oct 30, 2013, 12:56:03 PM10/30/13
to


"Graham." wrote in message
news:uunt69prrhu8ukh51...@4ax.com...
All worked ok CDR erased etc. Any ideas how to swap around CallerID name and
number ?. I've got callerID working (with date & time!) BUT the trunk name
is displayed first. On a single line display this is not very useful, It's
being sent but I can only see it after the call (pressing ID and then OK on
the phone twice). I set Bellcore under the regional tab incidentally, the
phone blankly refuses to work on the UK setting.

Dave.

Dave

unread,
Oct 30, 2013, 1:52:20 PM10/30/13
to


"Dave" wrote in message news:l4rdn4$qge$1...@dont-email.me...
At Last ! - just got callerID to work with the UK setting phew,, I lowered
the ring voltage from 85 to 70 and it worked - yeah.

I still have the problem of displaying trunk name first though :-/


Dave

unread,
Nov 2, 2013, 9:03:36 AM11/2/13
to


"Dave" <m...@me.com> wrote in message news:l4rh0l$fe4$1...@dont-email.me...
Fixed this issue - easy really, on the 3102 under the PSTN Line tab, remove
the display name (clear it) under Subscriber Information, callerID now shows
properly as apposed to showing the trunk display name.

Dave.

Dave

unread,
Nov 2, 2013, 10:21:15 AM11/2/13
to


"Dave" <m...@me.com> wrote in message news:l52t79$8aq$1...@dont-email.me...
UPDATE.

Bit to quick off the mark, the CID is showing the first 8 digits not the
full CID, but the full CID is there when I hang up the call as before with
the display/trunk name...

Anyone know how to fix this ?

Graham.

unread,
Nov 2, 2013, 2:08:19 PM11/2/13
to

>>>
>>> I still have the problem of displaying trunk name first though :-/
>>>
>>>
>>
>> Fixed this issue - easy really, on the 3102 under the PSTN Line tab,
>> remove the display name (clear it) under Subscriber Information, callerID
>> now shows properly as apposed to showing the trunk display name.
>>
>> Dave.
>
>UPDATE.
>
>Bit to quick off the mark, the CID is showing the first 8 digits not the
>full CID, but the full CID is there when I hang up the call as before with
>the display/trunk name...
>
>Anyone know how to fix this ?


Not sure. Is it a limitation of your handset?

The number is not so important if the callers name is displayed as
well. The Freepbx modules CID Lookup Sources & Asterisk Phonebook work
together to display the name if it's in the phone book, and the
CID Superfechta module can do multiple database dips including
saynoto0870. It also has a "UKPhoneinfo UK" lookup source that will at
least display the nearest large town or city based on the STD code, I
*did* get that working a few weeks ago but it doesn't want to play now
for some reason.

The Americans and Canadians have this CNAM reverse phonebook, I don't
know how complete the data is, but it would be great if we had
something like it freely available for the UK.

--
Graham.

%Profound_observation%

Dave

unread,
Nov 2, 2013, 3:21:19 PM11/2/13
to


"Graham." <m...@privacy.net> wrote in message
news:40ea79hiq9mkuchjv...@4ax.com...
I think the phone maybe getting confused, because when I go to save the
number in it's directory the phone tries to put the displayed short number
as the name in the directory then the number as normal. I think therefore,
the phone maybe truncating the first (CNAM?) part. At least now the first 8
digits are displayed rather than the trunk name. Thinking about it the phone
can save names up to 8 digits so I'm sure that's why it's getting truncated.
Obviously the phone on the BT line displays long numbers fine.

On this issue do you know of dect phone that can display long CNAM's ?
(16 digits?) and has recordable ringtones (wav/mp3) some of the Siemens
Gigasets do but can be pricey, I've seen the SL785
http://www.gigaset.com/en_UK/shop/gigaset-sl785.html

I've looked briefly into the CID Superfechta but couldn't really make it
out !? I've nothing in the Asterisk phonebook so neither are messy up the
CNAM/CID - I think... It would be very useful to have a lookup for the UK as
the yanks do, most USA numbers I've Googled have found their FULL details so
I would assume it is mostly complete over there.

I've also found this link to the space and minus issue in some UK numbers -
you may have found your own way around it of course.
http://www.freepbx.org/comment/56555

Dave.

Graham.

unread,
Nov 2, 2013, 5:19:44 PM11/2/13
to
Since I changed my line rental from BT to Primus Saver, the hyphens
have disappeared except, oddly, from one number.

Sorry, my DECT phones are Tesco Value. I have a wired POTS pots with a
big display badged BT Featureline phone MKII that I quite like.

Just tried a long name in Asterisk's phonebook and the Featureline
phone displays the first 20 characters with no rotation or split
lines.
Any additional characters are ignored.

--
Graham.

%Profound_observation%

Dave

unread,
Nov 3, 2013, 5:01:50 AM11/3/13
to


"Graham." <m...@privacy.net> wrote in message
news:nuoa79tr56fihbjgr...@4ax.com...
That's interesting that with Primus you don't get the hyphens ?, I've just
signed up with BT again for a year's 'Line rental saver' I was thinking
about Primus but owing to the negative comments I changed my mind !

Does your Tesco Dect phone have a one or two line display ? if it has only
one line does it display the CNAM or CID on it ?
I think my phone is doing the correct thing it's being told to but the
display is truncating it as mentioned before, there must be a way to tell
FreePBX not to send out CNAM with the CID data. I'll try out the work around
from the link I posted and see how that goes. As I see it this is the
biggest issue, because none of the other features will work properly with it
messed up - the phone directory, inbound routes etc.

Dave

Graham.

unread,
Nov 3, 2013, 8:48:57 AM11/3/13
to

>>
>> Since I changed my line rental from BT to Primus Saver, the hyphens
>> have disappeared except, oddly, from one number.
>>
>> Sorry, my DECT phones are Tesco Value. I have a wired POTS pots with a
>> big display badged BT Featureline phone MKII that I quite like.
>>
>> Just tried a long name in Asterisk's phonebook and the Featureline
>> phone displays the first 20 characters with no rotation or split
>> lines.
>> Any additional characters are ignored.
>>
>> --
>> Graham.
>>
>> %Profound_observation%
>
>That's interesting that with Primus you don't get the hyphens ?, I've just
>signed up with BT again for a year's 'Line rental saver' I was thinking
>about Primus but owing to the negative comments I changed my mind !
>
>Does your Tesco Dect phone have a one or two line display ? if it has only
>one line does it display the CNAM or CID on it ?
>I think my phone is doing the correct thing it's being told to but the
>display is truncating it as mentioned before, there must be a way to tell
>FreePBX not to send out CNAM with the CID data. I'll try out the work around
>from the link I posted and see how that goes. As I see it this is the
>biggest issue, because none of the other features will work properly with it
>messed up - the phone directory, inbound routes etc.
>
>Dave


Tesco DECT is single line and alternates the number and name. If the
name is longer than 12 characters it splits that too so Home Landline
displays

01234567890
Home Landlin
e
01234567890
Home Landlin
e

etc.

As for Primus, all I can say is I have started a thread in uk.telecom
title: Probably going to regret this..."

--
Graham.

%Profound_observation%
0 new messages