Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » VOIP etc » Voice Over IP - VOIP » VOIP Tech Chat » Asterisk@home Questions
Uniqs:
457
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[MyPhoneCOmpany] Echo issues?? »
« [SunRocket] Caller Id Time Changed  
cbrogers

join:2003-12-01
Plano, TX

Asterisk@home Questions

I have built an Asterisk@Home box, and have a few questions for those experts out there. I have setup two trunks for pstn termination, two outgoing routes, and I am getting confused on the dial plans for each trunk and ougoing route. I want to be able to choose which trunk it will take. Can some please help me?

ropeguru
Premium
join:2001-01-25
Bridgeport, WV
clubs:

Re: Asterisk@home Questions

How are you wanting to choose which outgoing trunk it will use? By extension or by dialed numbers??
--
FWD#: 223611
cbrogers

join:2003-12-01
Plano, TX

Re: Asterisk@home Questions

by dialed numbers.

ropeguru
Premium
join:2001-01-25
Bridgeport, WV
clubs:
·VOIPo


1 edit
Click for full size
When you setup the outbound routing, you put a number pattern in the Dial Patterns section. For toll free numbers I have:

1800NXXXXXX
1866NXXXXXX
1877NXXXXXX
1888NXXXXXX

in that section. You then define at the bottom of that screen, the trunk order in which you wish to use.

See pic above...
--
FWD#: 223611
cbrogers

join:2003-12-01
Plano, TX

Re: Asterisk@home Questions

I have that working. I have 1XXNXXXXXX for all calls outgoing. However I have two providers voipjet and voicepule connect which both require 11 digit dialing. So a@h never just picks the first trunk to dial out. So on both outbound routing I have 1XXNXXXXXX for each provider. It just uses the first one which is voipjet. Is there a way so that if i hit 9 then the number it will use voipjet and if I use 8 then the number it will use voicepulse?

ropeguru
Premium
join:2001-01-25
Bridgeport, WV
clubs:
·VOIPo

Yes, you can...

If you hover your mouse button over the "Dial Patterns" phrase, you will get an example of how you can set it up.

For what you want you would create two outbound routes.

The first for using a 9 to get to voipjet you would put in the patterns section: 9|1XXNXXXXXX

And for Voicepulse outbound you would put in: 8|1XXNXXXXXX as the pattern. the "|" character tells the system to look for the specified digit pattern, but do not include any digits to the left of of the "|" character in the number sent to the provider.

So if you dialed 91502555121 then the system would use the 9 to select that out bound route and only transmit 15055551212 to your provider.
--
FWD#: 223611
cbrogers

join:2003-12-01
Plano, TX

Re: Asterisk@home Questions

So I do not need any dial patterns on the trunks right? This is all done via the outbound routes?

ropeguru
Premium
join:2001-01-25
Bridgeport, WV
clubs:
·VOIPo

Re: Asterisk@home Questions

That is the way I do all of mine and it works great. And if you have an issue where you want a specific number to go through a specic route; Say you want to dial 915025551212 to specifically go out voicepulse, but the 9 is setup for voipjet, you can create an additional outbound route with the dial pattern of 9|15025551212 and just move it above the voipjet outbound route and it will send it through voicepulse.

So I guess what I am trying to say is that the order preference is based on the order from top to bottom as listed in the routes on the right side of the page.
--
FWD#: 223611
cbrogers

join:2003-12-01
Plano, TX

Re: Asterisk@home Questions

I am still having problems with my dial plans. I have two outbound providers and do not have any dial patters in either of the trunks. I only have dial patters in the outbound routing. I want to be able to choose which outbound route based on a number. I cannot get this to work.

ropeguru
Premium
join:2001-01-25
Bridgeport, WV
clubs:
·VOIPo


1 edit
Click for full size
Click for full size
Ok, lets take a step back here...

You have the trunks setup... And lets use Voicepulse as the test.

In your Voicepulse trunk setup, you have cleared out all dialing rules. At the top of the web page when you are at the setup screen for the Voicepulse trunk, it should say "In use by 1 route."

Next, look at your setup for the outbound routing you are trying to use for Voicepulse. In the dialing patterns you should have 9|1NXXNXXXXXX as the pattern. Under the trunk sequence, you should only have your Voicepulse trunk listed.

Once you have this setup this way, try dialing on your phone, 918042681212 and see if you get the weather forecast from Verizon in Richmond, VA

FYI - the | character is obtained by holding your shift key and pressing the key above the enter key that has the back slash on it.

If this does not work for you we can dig a little deeper.
--
FWD#: 223611
cbrogers

join:2003-12-01
Plano, TX

Re: Asterisk@home Questions

I finally got it working. The thing that was messing me up was the default outbound route that is there when you install asterisk@home. It had a 9| for the dial pattern. Once I deleted that, it is working. I can now dial 8 + the number and it goes out voipjet or 9 + the number and it goes out voicepulse. I got my Grandstream 2000 delivered yesterday and got it setup. Very cool phone. Thank you so much for your help.

ropeguru
Premium
join:2001-01-25
Bridgeport, WV
clubs:
Anytime... And if you need help any other time, setup freeworld dialup account and call me on 223611
--
FWD#: 223611
TemporalFlux
Premium
join:2003-08-07
Ont, Canada
·Rogers Hi-Speed
·TekSavvy Solutions..

Wow I didn't know there was a web interface for this... I have been editing the files with VI. Can someone explain what a trunk is? I started playing with this just a few days ago...
--
If you need a compiler to compile a compiler then where did the first compiler come from?

ropeguru
Premium
join:2001-01-25
Bridgeport, WV
clubs:
·VOIPo

A trunk is an incoming/outgoing connection to the outside world. So if I have an account with Broadvoice where they send me telephone calls or I send out going calls to them, then I set them up as a trunk.

Do not get that confused with phones inside your location, as they are called extensions.
--
FWD#: 223611
TemporalFlux
Premium
join:2003-08-07
Ont, Canada
·Rogers Hi-Speed
·TekSavvy Solutions..

Re: Asterisk@home Questions

Ahhhh!! Ok I have a trunk with iax.cc and I didn't even know it I am slowly learning the terminology. Thanks for the info!

I am wondering if there are any other companies like iax.cc that may be better for me... Any suggestions? I am in Ontario.

Also I am under the impression that if I have two external SIP extensions that they can have the PBX set up the call but the audio will be sent directly between the extensions. Is this true or am I in the potato field?

Thanks, Matt
--
If you need a compiler to compile a compiler then where did the first compiler come from?

ropeguru
Premium
join:2001-01-25
Bridgeport, WV
clubs:
·VOIPo

Re: Asterisk@home Questions

said by TemporalFlux See Profile :

Ahhhh!! Ok I have a trunk with iax.cc and I didn't even know it I am slowly learning the terminology. Thanks for the info!

I am wondering if there are any other companies like iax.cc that may be better for me... Any suggestions? I am in Ontario.

Also I am under the impression that if I have two external SIP extensions that they can have the PBX set up the call but the audio will be sent directly between the extensions. Is this true or am I in the potato field?

Thanks, Matt
There are lots of carriers out there. Best thing I can say is to go over to www.voip-info.org and look around. Some great info over there.

As far as your SIP audio question. Yes, when you dial from one extension to the other, you can have your Asterisk box setup the call then let the audio go directly between the two extensions. That is call a reinvite.

If your extensions are on the same network with no NAT between it works pretty well. But SIP and NAT do not get along very well. So I just always allow the Asterisk box just pass the audio for me. If you are using the same codecs, ie. GSM, G711u or G729, on every device, then Asterisk does what is called a native bridge and doesn't utilize hardly any cpu time. Only when it has to transcode between two different codecs does it start eating at your cpu usage.
--
FWD#: 223611
Forums » VOIP etc » Voice Over IP - VOIP » VOIP Tech Chat[MyPhoneCOmpany] Echo issues?? »
« [SunRocket] Caller Id Time Changed  


Sunday, 06-Dec 12:25:02 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [163] Comcast Releasing Promised Usage Meter
· [147] Avast Antivirus Has Gone Mad
· [135] The Bandwidth Hog Does Not Exist
· [128] Comcast Makes NBC Universal Acquisition Official
· [105] Graduate Student Unveils Sprint's GPS Sharing With Feds
· [101] Google Invades ISP, OpenDNS Turf With Google Public DNS
· [85] FCC Ponders Moving From PSTN To IP Voice
· [82] Latest Consumer Reports Survey Not Kind To AT&T
· [81] New Bill Aims To Limit ETFs
· [75] Sprint Defuses GPS Privacy Media Bomb
Most people now reading
· Bulb for garage door opener [Home Repair & Improvement]
· Wife might have to work in.... Iowa for a few months!!! [General Questions]
· Is there any true cure for, or way to prevent, a hangover? [General Questions]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· How fast is your upstream internet connection? [General Questions]
· False positive in Avast! or is it real? [Security]
· [DNS] Google's public DNS... performance increases? [Comcast HSI]
· Maximizing Rogue DPS for 3.1 [World of Warcraft]
· Windows 7 boot manager editing questions [Microsoft Help]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]