News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Voip Problems

Started by geoffrey, February 25, 2008, 10:35:13 AM

Previous topic - Next topic

geoffrey

I have had no luck at all getting my VOIP to work.  I am attempting to use Nufone and setting it up using the LMCE included wizard.  The wizard sets up an IAX trunk and writes my info to /etc/asterisk/iax_additional.conf.  a file, iax.conf, is also present and looks as if it is not changed at all during the setup process.

I have port-forwarded to the port indicated in the iax.conf (4569)

I have successfully used the Nufone account on a Mac OSX softphone (Zoiper) on the same network so I know it works.

I have also tried variations of including an externip=XXXXX.dyndns.org in the iax_additional.conf to account for the non-static IP address from my ISP (although, as far as I know this should only matter to incoming calls not outgoing)

whenever I try to call out, I get a "Call dropped: Normal clearing." and nothing else.

any ideas?
Asus M2NSLI Deluxe
AMD Athlon 64 X2 BE-2400 2.3GHz
Asus EN6200TC512 Graphic Card
WinTV PVR-150 MCE
(2) Samsung T166 SATA II 500GB
Corsair TwinX 2GB CL5 DDR2-800

nite_man

How do you make calls? In my experience the IP phone or PC with softphone should be in the internal LMCE network i. e. 192.168.80.XXX. Also, for troubleshooting you cam use following:
- tcpdump:
tcpdump -i eth1 -vvv port 5060 -Xx -s 1600 -w /tmp/asterisk-tcpdump.txt
- asterisk manager (http://www.voip-info.org/wiki-Asterisk+manager+API):
telnet localhost 5038
Action: login
Username: admin
Secret: password
Events: on

see its configuration into /etc/asterisk.manager.conf
- your numbering plan
- asterisk log: /var/log/asterisk/full
- asterisk console - asterisk -r
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

geoffrey

my attempts at calls have been with the orbiter embedded phone in my core.

is there something extra, other than sticking a 9 in front of the number, I have to do to get it to use the external network? (which in my case is 192.168.1.xxx as opposed to the internal 192.168.80.xxx)
Asus M2NSLI Deluxe
AMD Athlon 64 X2 BE-2400 2.3GHz
Asus EN6200TC512 Graphic Card
WinTV PVR-150 MCE
(2) Samsung T166 SATA II 500GB
Corsair TwinX 2GB CL5 DDR2-800

nite_man

Quote from: geoffrey on February 25, 2008, 03:30:53 PM
my attempts at calls have been with the orbiter embedded phone in my core.

is there something extra, other than sticking a 9 in front of the number, I have to do to get it to use the external network? (which in my case is 192.168.1.xxx as opposed to the internal 192.168.80.xxx)


As I know the embedded phone doesn't work (if I'm wrong, please, correct me). So, you should use some other. In my case I tried to make a call from Nokia770. I use provider Voipstunt. So, when could call from Nokia directly to Voipstunt. But I couldn't do it from Nokia via Asterisk. And the reason was the Nokia wasn't in the same network as Asterisk. Maybe it's possible to configure as you want but it's definitely not from the box.

Regarding the 9 in front of the number. You can define any prefix as you want. To do that just modify rules on the trunk page. I suspect that 9 us used by default. 
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

geoffrey

#4
Quote from: Michael on February 25, 2008, 03:55:20 PM

As I know the embedded phone doesn't work (if I'm wrong, please, correct me).


I can confirm that it certainly does not work on my system, although i accept that the weak link in the chain could be the operator... :P

thanks for your help...you have given me a reason to go buy a new piece of equipment for the LMCE setup.
Asus M2NSLI Deluxe
AMD Athlon 64 X2 BE-2400 2.3GHz
Asus EN6200TC512 Graphic Card
WinTV PVR-150 MCE
(2) Samsung T166 SATA II 500GB
Corsair TwinX 2GB CL5 DDR2-800

bulek

Quote from: Michael on February 25, 2008, 02:55:54 PM
How do you make calls? In my experience the IP phone or PC with softphone should be in the internal LMCE network i. e. 192.168.80.XXX. Also, for troubleshooting you cam use following:
- tcpdump:
tcpdump -i eth1 -vvv port 5060 -Xx -s 1600 -w /tmp/asterisk-tcpdump.txt
- asterisk manager (http://www.voip-info.org/wiki-Asterisk+manager+API):
telnet localhost 5038
Action: login
Username: admin
Secret: password
Events: on

see its configuration into /etc/asterisk.manager.conf
- your numbering plan
- asterisk log: /var/log/asterisk/full
- asterisk console - asterisk -r


Hi,

just my 2 cents. It's probably a bit easier if you just "connect" to running asterisk console with "asterisk -vvvvvvvvvvvvvvvvvvrgc".


Thanks in advance,

regards,

Bulek.

geoffrey

now it is time for a dumb question....using either of those two methods, what am I looking for?
Asus M2NSLI Deluxe
AMD Athlon 64 X2 BE-2400 2.3GHz
Asus EN6200TC512 Graphic Card
WinTV PVR-150 MCE
(2) Samsung T166 SATA II 500GB
Corsair TwinX 2GB CL5 DDR2-800

bulek

Quote from: geoffrey on February 25, 2008, 07:51:15 PM
now it is time for a dumb question....using either of those two methods, what am I looking for?
You'll get verbose output (even more verbose will be in /var/log/asterisk/full log). Maybe you could clear logs first and then make a call and study logs for suspicious messages.... The reason fr hanging up the call should be explained in logs...

Thanks in advance,

regards,

Bulek.

totallymaxed

Quote from: Michael on February 25, 2008, 03:55:20 PM
Quote from: geoffrey on February 25, 2008, 03:30:53 PM
my attempts at calls have been with the orbiter embedded phone in my core.

is there something extra, other than sticking a 9 in front of the number, I have to do to get it to use the external network? (which in my case is 192.168.1.xxx as opposed to the internal 192.168.80.xxx)


As I know the embedded phone doesn't work (if I'm wrong, please, correct me). So, you should use some other. In my case I tried to make a call from Nokia770. I use provider Voipstunt. So, when could call from Nokia directly to Voipstunt. But I couldn't do it from Nokia via Asterisk. And the reason was the Nokia wasn't in the same network as Asterisk. Maybe it's possible to configure as you want but it's definitely not from the box.

Regarding the 9 in front of the number. You can define any prefix as you want. To do that just modify rules on the trunk page. I suspect that 9 us used by default. 

We have Nokia 800 & 770 working from both inside and outside the LAN... and also the softphone is working inside too. All done using the standard setup and tools.
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

nite_man

QuoteWe have Nokia 800 & 770 working from both inside and outside the LAN... and also the softphone is working inside too. All done using the standard setup and tools.

Strange. I can connect to asterisk from external network but I cannot make a call via VoipStunt. It seems there is a problem with NAT. I have a bit complicated internet connection I guess. In any case using methods which I described above the call can be traced to find the problem.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

geoffrey

Andrew,

just so I understand what you are saying (and so I don't spend lots of time trying to get something to work that is impossible) in your experience, I can make and receive phone calls using just the embedded softphone on a hybrid core? so it should simply be a matter of troubleshooting and then tweaking my settings.
Asus M2NSLI Deluxe
AMD Athlon 64 X2 BE-2400 2.3GHz
Asus EN6200TC512 Graphic Card
WinTV PVR-150 MCE
(2) Samsung T166 SATA II 500GB
Corsair TwinX 2GB CL5 DDR2-800

bulek

Quote from: totallymaxed on February 25, 2008, 09:31:01 PM
Quote from: Michael on February 25, 2008, 03:55:20 PM
Quote from: geoffrey on February 25, 2008, 03:30:53 PM
my attempts at calls have been with the orbiter embedded phone in my core.

is there something extra, other than sticking a 9 in front of the number, I have to do to get it to use the external network? (which in my case is 192.168.1.xxx as opposed to the internal 192.168.80.xxx)


As I know the embedded phone doesn't work (if I'm wrong, please, correct me). So, you should use some other. In my case I tried to make a call from Nokia770. I use provider Voipstunt. So, when could call from Nokia directly to Voipstunt. But I couldn't do it from Nokia via Asterisk. And the reason was the Nokia wasn't in the same network as Asterisk. Maybe it's possible to configure as you want but it's definitely not from the box.

Regarding the 9 in front of the number. You can define any prefix as you want. To do that just modify rules on the trunk page. I suspect that 9 us used by default. 

We have Nokia 800 & 770 working from both inside and outside the LAN... and also the softphone is working inside too. All done using the standard setup and tools.
Hi,

I'd kindly ask if you can post more setup info on Wiki. I also have general problems with SIP clients (N800 & X-lite) outside LinuxMCE. Working example is more than welcome....


Thanks in advance,

Regards,

Bulek.
Thanks in advance,

regards,

Bulek.

Zaerc

The orbiter-phones on my hybrid and MDs seem to be working just fine (apart from the fact that I don't have microphones hooked up to them).
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

bulek

Quote from: Zaerc on February 26, 2008, 06:25:08 PM
The orbiter-phones on my hybrid and MDs seem to be working just fine (apart from the fact that I don't have microphones hooked up to them).

Yeap, the problems usually begin with SIP clients when you try to go through NAT or Firewall in either direction...

regards,

Bulek.

Thanks in advance,

regards,

Bulek.