Koozali.org: home of the SME Server

A couple Selintra-Sail Questions

Offline del

  • *
  • 765
  • +0/-0
A couple Selintra-Sail Questions
« on: September 02, 2006, 05:59:20 PM »
Hi All,

After a little heartache and a lot of help from Jeff AKA Selintra I have managed to get my server up to scratch, thanks Jeff  :-)
I would like to experiment further :roll:
Is it possible to "force" an extension to use a certain trunk to dial out on? Also can I setup a softphone on my Laptop and use my internet domain name in the settings instead of my server's internal IP and use the extension when I am out on the road? I am using Selintra-sail-2.1.13-256 in server/gateway mode.

Thanks,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
A couple Selintra-Sail Questions
« Reply #1 on: September 02, 2006, 10:57:30 PM »
Quote
Is it possible to "force" an extension to use a certain trunk to dial out on?


We've often had requests for this.  Usually for the situation where a user has "work" phone(s) and "domestic" phone(s) and wants to have them separately billed.

This can be done but you will need SAIL-2.1.14 (with cluster capability).   Basically, you set the phones up on different clusters. Clusters have their own private routing so  they can use separate carriers or accounts.   You might set up two clusters, and call them something like "Office" and "Family".  You can still call between phones as long as you allow it in  the cluster definition.

Quote
Also can I setup a softphone on my Laptop and use... when I am out on the road?


Yes, of course.  However again it's best to use 2.1.14 (which has specific code in it to support remote extensions).  Also you will find life much easier if you run your sail PBX as server-gateway.  Getting remote phones to work with sail running on a server-only box is much more difficult.

Provided you have sail set up in S-G mode you will find you can get to it  from pretty much anywhere you can get a signal or link (even through pretty hefty corporate firewalls as long as they aren't specifically set-up to block outbound ports).

Kind Regards

Selintra

Offline del

  • *
  • 765
  • +0/-0
A couple Selintra-Sail Questions
« Reply #2 on: September 03, 2006, 01:25:21 AM »
Hi Selintra,

Bearing in mind how long is taken me to get things going as well as they are now  :-D  should I wait until SAIL-2.1.14 is more stable? I see that it is in your "Alpha Release" section :-)

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
A couple Selintra-Sail Questions
« Reply #3 on: September 03, 2006, 02:31:23 AM »
Quote
should I wait until SAIL-2.1.14 is more stable?


Nah, - Sam did 2.1.14 - it's a good 'un.


Best

Selintra

Offline del

  • *
  • 765
  • +0/-0
A couple Selintra-Sail Questions
« Reply #4 on: September 03, 2006, 02:47:49 AM »
Hi Selintra,

Your up late mate :-D
I will download and upgrade tomorrow :hammer:  so don't go too far away from your PC ;-)  I may need some help :-D

Regards,
Del time for a :pint:
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline del

  • *
  • 765
  • +0/-0
A couple Selintra-Sail Questions
« Reply #5 on: September 04, 2006, 08:00:16 PM »
Hi Selintra,

The upgrade seems to have gone well, everything is still working as normal. I have a friend in the UK who as been running SME for a couple of years and he  is going to install selintra/sail soon so we can do some experimenting/testing with siblings and remote extensions but in your docs you state that SME should be in server/gateway mode for the remote stuff, how do you get SME to be in this mode when it does not support the PPPoA protocol and therefore needs a router to act as the gateway? He currently forwards the ports he needs from the router to the server in server only mode. Just curious that's all because he has never managed to get it to run in SG mode.

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
A couple Selintra-Sail Questions
« Reply #6 on: September 04, 2006, 11:24:17 PM »
Hi Del

First of all, you don't need to be in SG mode for siblings to work.  Siblings, by default, use the IAX2 protocol so there's only one port to forward (4569) to your asterisk box making server-only fine.  However, if you just want to support a remote SIP phone (without any attendant asterisk box) then you are best running SG.

SME Server running in SG mode is fine under PPPoA provided your router can run either in "No-NAT" or half-bridge/bridge mode.  For No-NAT you will need at least two public IP Addresses (one for your router and one for your SG). For half-bridge/bridge mode a single IP will suffice.

In practice we have customers running both No-NAT and bridged depending upon their personal tastes/circumstances.

Kind Regards

Selintra

Offline jonroberts

  • ****
  • 111
  • +0/-0
    • http://www.westcountrybusiness.com
A couple Selintra-Sail Questions
« Reply #7 on: September 05, 2006, 11:02:09 AM »
Quote from: "del"
how do you get SME to be in SG mode when it does not support the PPPoA protocol


Del,

I'm in the UK and have a number of clients on SG mode.  All you need is a standard ADSL router (or ethernet modem, but I prefer routers) and 2 NIC cards in the server.

If you set the ADSL router up as normal and configure the external NIC of the SME to be in the same IP range as the Router internal IP, all outgoing will work just fine.  If you also want incoming, either port forward the router to the external IP of the SME or most routers have a DMZ option, which will just forward all traffic on to the SME.

So we have something like:

Internet
  |
ADSL Router (10.0.0.1)
  |
SME External IP (10.0.0.2)
  |
SME Internal IP (192.168.0.1)
  |
Local Network (192.168.0.x)

Substitute your IP addresses as required.

Jon
......

Offline del

  • *
  • 765
  • +0/-0
A couple Selintra-Sail Questions
« Reply #8 on: September 05, 2006, 02:00:35 PM »
Hi,

Thanks Selintra, thanks Jon. I will give it a try, my friend in the UK is not that SME or Linux savvy which is why I helped him install SME, he has never had a problem with it so I will help him set up his router as per Jon's setup and see how we get on. He is currently in Spain so it will be about a week before I can try anything but again I thank both of you for your help.

Regards,
Del
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown