Solved

how to make asterisk ring

Posted on 2009-05-17
5
955 Views
Last Modified: 2013-11-12
When people call into our phone system  the caller doesn't hear any ringing... (and if they don't know us, they hang up which is a great way of getting rid of tele marketers)

its something to do with my config as it happened after I changed everything to make all the phones ring at the same time.

The way i have the system set up is like this:

1 sip account to a sip provider for our incoming & outgoing calls to the rest of the world

4 internal sip extensions, 3 use x-lite and 1 uses a ATD for an analogue wireless phone.

when a caller dials our phone number all our phones ring at the same time and whoever picks up first answers it.

the config below is just the parts I can see which may be related to this issue,

Cheers to any helpers :)


# this is the extension or whatever you call it of when phone calls come from the outside world, they end up where which makes our phones ring:
 
[from-sipout]
 
exten => 1234,1,Answer
exten => 1234,2,Dial(SIP/tim&SIP/chris&SIP/ata&SIP/deva)
;exten => 1234,3,Dial(SIP/timcell,2;0,tr) ; this calls my cell phone if no one else answers but not used.
exten => 1234,5,Voicemail(222)
exten => 1234,6,Hangup

Open in new window

0
Comment
Question by:timbo007
  • 3
  • 2
5 Comments
 

Author Comment

by:timbo007
ID: 24406326
perhaps I can explain myself better with some more examples... the [from-sipout] is called from where the incoming phone line comes from and here is the parts in the sip.conf which match.. although there is no reference to from-sipout except where it says context...

[sipout]
type=friend                      
secret=XX
username=09974XX                  
fromuser=09974XX                  
fromdomain=tim      
host=sip.kiwilink.co.nz
;usereqphone=yes                  
call-limit=2                        
;outboundproxy=proxy.provider.domain      ;
canreinvite=no
qualify=yes
context=from-sipout
;context=maincontext
;disallow=all
;allow=alaw
insecure=invite

[general]
...
register => 09974XXX:XXXXsip.kiwilink.co.nz/1234 ; 202.180.76.167
...


so that ext 1234 handles all the incoming calls i guess.. which somehow goes straight to [from-sipout]...
you can see i've really messed with it to get it going... mostly trial and error :)
0
 
LVL 19

Accepted Solution

by:
feptias earned 250 total points
ID: 24409852
Try removing the line:
exten => 1234,1,Answer
...and then adjust the step numbering, of course.

The simplest way would be to replace it with this:
exten => 1234,1,Noop
0
 

Author Comment

by:timbo007
ID: 24410926
haha, so you mean when it says 'answer' it means it picks up the line and then goes to the next step which just dials all our extensions hence its silent because nothing is being sent back to the caller...? what it originally did was play an mp3 which was the hold music, i'd prefer that to happen, is it easy to do? but hey you've fixed my problem, funny I never tried that, I tried so much else :)
0
 

Author Closing Comment

by:timbo007
ID: 31582338
thanks!
0
 
LVL 19

Expert Comment

by:feptias
ID: 24411001
I often use Asterisk as a gateway, converting SIP to E1 or vice versa. For this, you never want the call to be answered by Asterisk, only to be routed onward. If the call is answered by Asterisk, then the caller starts to pay for the call from that point.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco ISR - SIP and CUBE - CUCM 10 5 62
ShoreTel 220T1 How to change IP address of phone? 5 62
Analog Phone 2 79
Lync - CUCM Integration Question 2 26
Ever wanted to query Cisco Call Manager CDR records from MS SQL Server? Here's how! CUCM can be configured to upload a CDR file to a given FTP server every minute. This article will show you how to set this up, schedule the import of this data an…
I recently purchased a Bluetooth headset called the Music Jogger (model BSH10). The control buttons on it look like this: One of my goals is to use it as the microphone and speakers for Skype calls. In that respect, it works well. However, I …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now