VoIP hardware is developing fast - this is where you ask all those “how do I make my SIP Telephone, Adapter or Asterisk box work with my voip provider?” questions.
100 %

Advertisement

By Sponsor

Advertisement

By Sponsor
User avatar
By petertmooney
#4981
on other phones, 1-4, I want them to be able to call other rooms, 1-4. ring group 0. (basically all internal) and they should ideally also be able to ring local and national numbers that are free in our call package, so all beginning with 01 or 02.

Is that easy enough, or rocket science?

Where on earth did you learn all this? Fascinating stuff.
User avatar
By WelshPaul
#4982
petertmooney wrote: Fri 22nd September 2017, 23:18 on other phones, 1-4, I want them to be able to call other rooms, 1-4.
Try this:
Code: Select all
{[1-4]|8|^x+|^*|^#}
petertmooney wrote: Fri 22nd September 2017, 23:18 ring group 0. (basically all internal) and they should ideally also be able to ring local and national numbers that are free in our call package, so all beginning with 01 or 02.
This should do just that? Although you need to press 9 for an outside line first.
Code: Select all
{*1|[0-8]|9,100|9,101|9,111|9,112|9,155|9,195|9,999|9,116xxx|9,116111|9,116123|9,118xxx|9,1471|9,157[1-2]|9,08001111|9,0845464x|9,0[1235789]xxxxxxxxx|9,00xxx+|9,x+|9,\+x+|9,*x+|9,*xx*x+}
Extensions 6 & 7 are mobiles correct? What softphone are you using?
petertmooney wrote: Fri 22nd September 2017, 23:18 Where on earth did you learn all this? Fascinating stuff.
Always found telecommunications interesting. Discovered VoIP back in 2006 after looking for a PBX suitable for my business needs. Like most people, I was looking to save as much money as I could so decided to setup my own server. It grew from there, all self taught. :P

I'm actually a web developer. :-D
User avatar
By petertmooney
#4983
so, would this allow calling callgroup and 1 to 8? and 9 for the others?
I did I completely f that up?
{[0-9]|8|^x+|^*|^#|*1|[0-8]|9,100|9,101|9,111|9,112|9,155|9,195|9,999|9,116xxx|9,116111|9,116123|9,118xxx|9,1471|9,157[1-2]|9,08001111|9,0845464x|9,0[1235789]xxxxxxxxx|9,00xxx+|9,x+|9,\+x+|9,*x+|9,*xx*x+}

I was a web developer by trade, too! lol found myself spending too much time in front of computers, so opened a B&B. Now, I'm back at computers building sites for friends, constantly, for no pay, and working 24 hour shifts in B&B. lmao such is life.
User avatar
By petertmooney
#4984
I'd love to configure the obi 100, after buying it pointlessly. It would be handy as a it could connect to the cordless dect phone for portability I guess.
had a try there, but free pbx logs keep saying wrong password, even though I know its correct.
Why is nothing EVER simple?
To top it off I've had an eyebrow mishap and an alcoholic guest pmsl
There's been this one eyebrow hair all day in my vision. I thought I will sort this now with a razor. put the wrong blade on and bye bye brow. Had no choice but to do the same to the other. I look like I've been exposed to radiation lmao
Breakfast will be interesting ffs.
User avatar
By WelshPaul
#4985
petertmooney wrote: Sat 23rd September 2017, 01:02 so, would this allow calling callgroup and 1 to 8? and 9 for the others?
I did I completely f that up?
{[0-9]|8|^x+|^*|^#|*1|[0-8]|9,100|9,101|9,111|9,112|9,155|9,195|9,999|9,116xxx|9,116111|9,116123|9,118xxx|9,1471|9,157[1-2]|9,08001111|9,0845464x|9,0[1235789]xxxxxxxxx|9,00xxx+|9,x+|9,\+x+|9,*x+|9,*xx*x+}
Yep, you screwed it up lol. You need to think ahead when writing a dial plan. Having [0-9] (instead of "[0-9]", use "x") allows for dialling only one digit numbers through 0-9 only, you can't dial two digit numbers or longer anymore because the first digit dialled will matches this syntax and the phone likely dials out immediately. Also, The 8 in the above dial plan is no longer required, it's now included in this [0-9] and this |^x+|^*|^#| blocks everything else.

As for this part:
Code: Select all
*1|[0-8]|9,100|9,101|9,111|9,112|9,155|9,195|9,999|9,116xxx|9,116111|9,116123|9,118xxx|9,1471|9,157[1-2]|9,08001111|9,0845464x|9,0[1235789]xxxxxxxxx|9,00xxx+|9,x+|9,\+x+|9,*x+|9,*xx*x+
Well the *1 is now blocked by |^x+|^*|^#|, [0-8] is now obsolete because its included in [0-9] and the rest of the dial plan will no longer work because of this [0-9] and this |^x+|^*|^#|.

Taken from the GXV3275 admin guide:
Configures the dial plan to establish the expected number and pattern of digits for a telephone number. This parameter configures the allowed dial-plan for the phone. Note: Starting from firmware 1.0.3.92, dial plan logic has been improved allowing the phone to dial out directly when there is only one rule perfectly matched.

Dial Plan Rules:
1. Accepted Digits: 1,2,3,4,5,6,7,8,9,0 , *, #, A,a,B,b,C,c,D,d,+
2. Grammar: x – any digit from 0-9;
  1. xx+ or xx. – at least 2 digit numbers
  2. xx – only 2 digit numbers
  3. ^ - exclude
  4. [3-5] – any digit of 3, 4, or 5
  5. [147] – any digit of 1, 4, or 7
  6. <2=011> - replace digit 2 with 011 when dialing
  7. | - the OR operand
  8. \+ - add + to the dialing number
  • Example 1: {[369]11 | 1617xxxxxxx} Allow 311, 611, and 911 or any 10 digit numbers with leading digits 1617
  • Example 2: {^1900x+ | <=1617>xxxxxxx} Block any number of leading digits 1900 or add prefix 1617 for any dialed 7 digit numbers
  • Example 3: {1xxx[2-9]xxxxxx | <2=011>x+} Allow any number with leading digit 1 followed by a 3 digit number, followed by any number between 2 and 9, followed by any 7 digit number OR allow any length of numbers with leading digit 2, replacing the 2 with 011 when dialed.
3. Default: Outgoing – { x+ | \+x+ | *x+ | *xx*x+ } Allow any number of digits, OR any number with a leading +, OR any number with a leading *, OR any number with a leading * followed by a 2 digits number and a *. To dial + from keypad, press on 0 until + appears on LCD.
Example of a simple dial plan used in a Home/Office in the US:
{^1900x. | <=1617>[2-9]xxxxxx | 1[2-9]xx[2-9]xxxxxx | 011[2-9]x. | [3469]11 } Explanation of example rule (reading from left to right):
  • ^1900x. – prevents dialing any number started with 1900
  • <=1617>[2-9]xxxxxx – allow dialing to local area code (617) numbers by dialing 7 numbers and 1617 area code will be added automatically
  • 1[2-9]xx[2-9]xxxxxx |- allow dialing to any US/Canada Number with 11 digits length
  • 011[2-9]x. – allow international calls starting with 011
  • [3469]11 – allow dialing special and emergency numbers 311, 411, 611 and 911
Note: In some cases, where the user wishes to dial strings such as *123 to activate voice mail or other applications provided by their service provider, the * should be predefined inside the dial plan feature. An example dial plan will be: {*x+} which allows the user to dial * followed by any length of numbers.
http://www.grandstream.com/sites/defaul ... _guide.pdf
petertmooney wrote: Sat 23rd September 2017, 01:02 I was a web developer by trade, too!
It's a pretty saturated market, don't blame you for changing direction. Saying that, 24 hour shifts running a B&B doesn't sound much fun either! :smoker:
petertmooney wrote: Sat 23rd September 2017, 01:06 I'd love to configure the obi 100, after buying it pointlessly. It would be handy as a it could connect to the cordless dect phone for portability I guess.
You need to create a new extension to register the OBi100 against, but you're going to run into problems here! As you have created extensions numbered 1-8 (you can't have an extension 9 as 9 is used for an outside line) how are you going to call extension 10? If you press 1, before you press the 0 extension 1 will ring. We need to check if the GXV3275 has some sort of time parameter for matching dial plan strings. Anyway, configure the OBi100 like so:
  1. Factory reset the OBi100
  2. Upload the UK XML file located here to your OBi100
  3. Navigate to Service Providers > ITSP Profile A > SIP and look for the ProxyServer parameter. Once found, remove the tick from the Default check box and enter 192.168.1.34 in the empty field. Now look for the RegisterExpiresparameter, remove the tick from the Default check box and replace the default value of 3600 with 60. Click submit!
  4. Navigate to Voice Services > SP1 Service and under the SIP Credentials section, look for the AuthUserName and AuthPassword parameters. Again remove the tick from the Default check box for both parameters and enter the extension UserID in the AuthUserName field and the extension password in the AuthPassword field. Click submit and finally click on the reboot button located in the top right hand corner of the GUI.
Attachments
sip.png
sip.png (35.92 KiB) Viewed 140 times
credentials.png
credentials.png (34.75 KiB) Viewed 141 times
User avatar
By WelshPaul
#4987
Did you manage to get that OBi100 registered?

Check out this post. Shutting down your PI by pulling the mains plug can lead to SD card corruption. I strongly recommend that you implement that feature! :)

Don't forget that you also need to setup an IVR, DISA and record a greeting so extensions 1-4 can be granted an outside line if requested. :thumbsup:
User avatar
By WelshPaul
#4991
petertmooney wrote:Hey Paul
I've not had a moment to myself yesterday or today to be honest. I will get a look at the obi100 and other recommendations around lunch tomorrow, hopefully...
Whats DISA?
DISA allows outside callers to call into the PBX and obtain an internal dialtone. However, we are going to assign it to an IVR menu so that you can transfer callers to the IVR and when ready, press 1 for a dialtone as shown in the video posted here.
petertmooney wrote:I did notice that call volume, external calls in particular is very low. Is there anyway of adjusting this? Handsets are already turned up. internal calls seem loud enough.
Navigate to the Physical Interfaces > LINE Port page and scroll down to the Port Setting section, look for:
  • ChannelTxGain: 0
  • ChannelRxGain: 5
Adjust these values up or down until you reach a suitable sound level.
User avatar
By petertmooney
#4994
Sorry, seems to have fixed itself after a restart. lol
I'd like to back it up.
I installed on a 12gb card though. So the back up is ridiculously big using that win32 tool even though I'm only using a fraction of the card.
Are there any easy ways of doing this, that I can mess up?
User avatar
By WelshPaul
#4996
petertmooney wrote:Paul, again with the torment, but my calls are not working again. All internal are fine. External calls from pbx say service unavailable and calling in doesn't ring. I'm not aware of anything being changed. any suggestions? HELP! lol
Odd, did you give the OBi110 a static IP address? Could be a case that your routers DHCP server issued a new IP or that it renewed the current one and that caused a blip! I would recommend assigning a static IP to the OBi110, Raspberry PI and IP phones.
petertmooney wrote:I'd like to back it up.
I installed on a 12gb card though. So the back up is ridiculously big using that win32 tool even though I'm only using a fraction of the card.
Are there any easy ways of doing this, that I can mess up?
The win32 tool takes an image of the entire SD card, not just any files on it. My backup is 32GB! :P

I have a brand new 32GB SD card sitting in a draw here and should my current SD card ever fail, all I need do is write the backup image to the new card and pop it in my PI, takes minutes. You can use the "Backup and Restore" module located under the "Admin" tab on your FreePBX GUI. Be warned though, using this method will require that you reinstall and configure raspbx as well as all updates/upgrades before restoring your FreePBX backup.
User avatar
By petertmooney
#5009
probably a stupid question, but, on the obi110 is the phone port just a pass through for failures etc? or does it function like the obi 100.
If it works like the obi100 I can use it and put the 100 elsewhere for faxes going out.
extension 10 works fine. I cant call it because it has double digits, but I can answer external calls on it and I can ring out on it. perfect for what I need.
User avatar
By WelshPaul
#5010
petertmooney wrote:probably a stupid question, but, on the obi110 is the phone port just a pass through for failures etc? or does it function like the obi 100.
It does indeed work the same as the OBi100.
petertmooney wrote: If it works like the obi100 I can use it and put the 100 elsewhere for faxes going out.
Short answer, Yes. :P

You should be able to dial out without needing to make any additional configuration changes. Do you want the phone attached to the OBi110 to ring on incoming calls too? If so, on the OBi110 navigate to Physical Interfaces > Line Port and modify the InboundCallRoute parameter as shown below:
Code: Select all
{SP1(YOUR LANDLINE NUMBER HERE)},{ph}
petertmooney wrote:extension 10 works fine. I cant call it because it has double digits, but I can answer external calls on it and I can ring out on it. perfect for what I need.
You could alter the dial plan so that you can call extension 10, this would result in a delay when calling extension 1 though (only by a few seconds).

Try using the following dial plan on the phone registered against extension 8:
Code: Select all
{*1|1.|[02-8]|9,100|9,101|9,111|9,112|9,155|9,195|9,999|9,116xxx|9,116111|9,116123|9,118xxx|9,1471|9,157[1-2]|9,08001111|9,0845464x|9,0[1235789]xxxxxxxxx|9,00xxx+|9,x+|9,\+x+|9,*x+|9,*xx*x+}
Any problems, revert back to this:
Code: Select all
{*1|[0-8]|9,100|9,101|9,111|9,112|9,155|9,195|9,999|9,116xxx|9,116111|9,116123|9,118xxx|9,1471|9,157[1-2]|9,08001111|9,0845464x|9,0[1235789]xxxxxxxxx|9,00xxx+|9,x+|9,\+x+|9,*x+|9,*xx*x+}

Advertisement

By Sponsor
  • 1
  • 5
  • 6
  • 7
  • 8
  • 9

In the past month, Microsoft have changed their sp…

Porting NGN Issue...

Hi WelshPaul, thanks for the replies and your ef…

Not at this time no. :dunno: Having just looked…

Hello, I have a Google Voice number as well as …