LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-01-2013, 09:51 AM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,203

Rep: Reputation: 32
asterisk has no sound


I have installed asterisk on my Dell Dimension 3000 desktop so I can have a PBX, I was expecting it to be difficult but I was proven wrong since I got the softphones to communicate with each other (when one dials the extension to another phone the phone rings like it should). My problem here is that there is no sound between the two of the phones once the other phone answers. I have a softphone on my Linux PC (ekiga), and another running on my android tablet (zoiper) and I haven't been hearing any sounds. I think it might be an ekiga problem since ekiga isn't giving me any ringtones when I call it nor is it giving me any sound from the tablet. The tablet on the other hand rings but like I expected I answer and I don't hear any sound from the other end of the call. What is wrong here? Does this sound like an asterisk problem or an ekiga problem (Wasn't sure but I was also going to ask how to do something with asterisk).

I was also going to ask how to make the server play music on the phone when the caller dials a certain number. I have the phones calling each other but the music playing extension isn't working. here is the extensions.conf file
Code:
[general]
static=yes
writeprotect=no

[default]
exten => 1001,1,Answer()
exten => 1001,n,Dial(SIP/1001,20,tr)
exten => 1001,n,Hangup

exten => 1002,1,Answer()
exten => 1002,n,Dial(SIP/1002,20,tr)
exten => 1002,n,Hangup

exten => 500,1,Answer()
exten => 500,2,Dial()
exten => 500,3,Playback(/home/baronobeefdip/Music/all-night-long,skip)
exten => 500,n,Hangup
and in case you need it here is the sip.conf file
Code:
[general]
conetxt = default
bindport = 5060
bindaddr = 0.0.0.0
tcpbindaddr = 0.0.0.0
tcpenable = yes

[1001]
type = friend
callerid = User One <1001>
secret = ****
host = dynamic
careinvite = no
dtmfmode = rfc2833
mailbox = 1001
disallow = all
allow = ulaw
transport = udp

[1002]
type = friend
callerid = User Two <1002>
secret = ****
host = dynamic
careinvite = no
dtmfmode = rfc2833
mailbox = 1002
disallow = all
allow = ulaw
transport = udp
 
Old 04-01-2013, 11:09 AM   #2
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,203

Original Poster
Rep: Reputation: 32
I fixed the ekiga now it's ringing. But When I answer I still can't hear anything from the other end. I know the mic in my tablet works fine since I tested wit with evernote just a minute ago. Now I want to know how to make a test call from the asterisk server. Is there a command that will play the sound file that says something like "congratulations, you have just successfully installed a working asterisk server." I remember making a command that executed a call and played that file before but I have no idea what it was.

Last edited by baronobeefdip; 04-01-2013 at 11:21 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
CentOS-Asterisk- /var/spool/asterisk/monitor How to decipher who's call is who's? tananthulus Linux - Newbie 2 12-08-2009 05:50 AM
LXer: Installing The Asterisk PBX And The Asterisk Web-Based Provisioning GUI On Linu LXer Syndicated Linux News 0 09-25-2007 03:50 PM
LXer: VoIPowering Your Office with Asterisk: Shiny New Asterisk 1.4 LXer Syndicated Linux News 0 11-03-2006 07:54 AM
iam facing sound problems with asterisk Jimmy911 Fedora 2 03-31-2005 02:51 PM
sound problems with asterisk on mandrake Jimmy911 Mandriva 1 03-11-2005 03:21 PM


All times are GMT -5. The time now is 11:08 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration