LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-18-2009, 10:44 AM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
International Calls


A very stupid question

I have a girlfriend that lives in Colombia and I live in the USA. My question is how can I call her via VOIP long distance for free if possible. I look at magicjack.com and skype. It looks very promising. Any suggestions would be greatly appriciated

Last edited by metallica1973; 08-18-2009 at 10:54 AM.
 
Old 08-18-2009, 11:09 AM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
You could install trixbox or asterisk on an old computer (PIII is sufficient), and use a softphone such as x-lite or zoiper
 
Old 08-18-2009, 11:14 AM   #3
evilted
Member
 
Registered: Aug 2009
Location: Ouagadougou, Burkina Faso
Distribution: centos
Posts: 92

Rep: Reputation: 18
why not use skype or msn or some instant messaging client if you both have pc's and internet access..?


setting up trixbox (which is asterisk - a freeware pbx) seems excessive just to talk to each other...
 
Old 08-18-2009, 12:40 PM   #4
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
With all respect I am using trixbox for my business and you have to pay for the service. I am in another country and would like to use something fast and free if possible.
 
Old 08-18-2009, 01:14 PM   #5
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
call quality on skype is very good, and good add ons/extras also
 
Old 08-18-2009, 05:42 PM   #6
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
The service you're paying for, I imagine, is to connect to the telephone network -- origination or termination. VoIP is free.

Last edited by Berhanie; 08-18-2009 at 05:54 PM.
 
Old 02-05-2010, 10:40 AM   #7
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
Is it possible to create an asterisk Box here in Colombia and forward calls from my asterisk box in the USA to this asterisk box here in Colombia and thus not having to pay the long distance minutes? In other words:

cell
|
|
|
Asterisk BOX -USA ----> ext 102 --forwards call --> Asterisk Box Colombia
|
|
|
Cell Colombia


I can see the cost from the cell to my PBX and the cost from the PBX in colombia to the cell but what about in between(forwarding the call from PBX to PBX)

I am just curious but VOIP works via UDP packets and etc so why can I just forward these packets or conversation using netcat or a utility and cut out the middleman? I hope I explained this correctly?
 
Old 02-05-2010, 11:26 AM   #8
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
If a skype call is free from a skype customer to another skype customer in whichever country via TCPIP then why cant I do the same with my asterisk servers and the only fee would be the cost of recieving calls on my DID and vice versa on the other end in this case colombia. I hope everyone can understand what I am saying. Skype is simply a direct ip to ip conversation so why can I do the same via Asterisk but in two different countries?
 
Old 02-05-2010, 11:32 AM   #9
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Yes, you can connect two asterisks via iax or sip. You wouldn't use netcat: there are protocols for doing this. On trixbox, you'd be setting up a 'trunk'; you'd then route calls through the correct trunk. E.g. you could have Asterisk-USA extensions start with 2 and Asterisk-Colombia extensions start with 1. Three-digit extensions would be routed to the inter-asterisk trunk depending on the initial digit. Regarding paid calls, my international calls are often cheaper than domestic ones -- all my calls go through a voip provider connected to a trixbox. If it works for you, you can get a colombian DID (telephone number) through a voip provider and receive calls to that number on your asterisk machine in the U.S. Then your contacts in colombia would be dialing a local number (from their perspective) to reach you in the U.S., and you'd be paying low rates to reach them through your voip provider. But, connecting two asterisks is betterer and cheap if you don't need the middleman. The cell phone adds a little complexity to the picture (and kind of forces you to eliminate the middle man), which you might solve, for example, by pairing each cell phone with an extension on its closest Asterisk server for incoming calls. For outgoing calls, the cell would have to first dial into the Asterisk server (using an external DID, not an extension) and then dial out through the server -- this called DISA, direct inward system access.

In short, it's possible to connect two servers. The protocol of choice is probably IAX over SIP, since SIP is something similar to ftp when it comes to firewall rules. Some links:

1. For straight Asterisk. Not sure if the link has good info, but the site is a good source of info in general:
here

2. For trixbox. This is a popular source. There's a section called "How to Connect 2 Boxes":
here
 
Old 02-05-2010, 11:37 AM   #10
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Quote:
Skype is simply a direct ip to ip conversation so why can I do the same via Asterisk but in two different countries?
You can. And, if everyone were using voip phones (e.g. a software phone), you could give each of them an extension on your Asterisk server,
no matter the country they lived in. There would not be a need for two servers.
 
Old 02-05-2010, 11:40 AM   #11
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

In my opinion it should be possible. You could connect using different protocols depending on your network setup. Have a look at this wiki:
Asterisk = Dual server. Two years ago I worked at a company in Belgium as IT Manager. During my time there they migrated from Siemens PBX to Asterisk based phone (don't remember the correct name, only that it was build around Asterisk). They set it up between the six offices of that company, spread out throughout Belgium. All offices were of course connected using the same provider on SDSL connection, using static IP. Don't know if that would have anything to do with it, but at least it's worth checking it out.

Kind regards,

Eric
 
Old 02-05-2010, 11:42 AM   #12
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Beaten by Berhanie
 
Old 02-05-2010, 07:13 PM   #13
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
thanks for the replies so what I should do is setup an asterisk box here in colombia and one in the USA, setup the trunks to speak to each other via sip or aix, create extentions, forward any incoming call on that local extention,forward the call to the appropiate extention and then have that extention DOD to the other country and then forward the incoming call to her cell phone in Colombia and do the same if she wants to call me in the states. Something like this:

PHP Code:
cell
|
|
|
Asterisk BOX-USA ----> ext 102 --forwards extention --> Asterisk Box-Col
                                                             
|
                                                             |
                                                            
ext 101
                                                             

                                                             | 
                                                           
cell 
The difficult part is forwarding the calls from the local extention to the other asterisk box extention. Where would on begin?

Last edited by metallica1973; 02-05-2010 at 07:28 PM.
 
Old 02-05-2010, 08:18 PM   #14
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
How can I interconnect two Asterisk Servers with a SIP trunk ?
 
Old 09-25-2010, 06:55 AM   #15
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,699

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I believe you can setup an external SIP extension to your trixbox. I've never played with trixbox so I can not provide any details.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how does java calls the system calls which are written in c babu198649 Linux - General 3 12-05-2011 03:40 AM
International SMS usa1234 Linux - Software 1 07-28-2009 09:54 AM
Slackware 12.1 International Вячеслав Slackware 10 08-24-2008 05:55 AM
international chars awl Slackware 8 09-01-2005 01:17 PM
international cd over_clock Linux - Newbie 3 11-17-2003 06:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration