Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


AllNightNerding

411 posts

Ultimate Geek


#27613 1-Nov-2008 17:51
Send private message

I have a voip line running with xnet, through an asterisk box.

For a while no Telstra numbers have been able to Dial out, and about half the telstra numbers dialing in go through, the other half get diverted to voicemail.

They are in the local calling area for me, and I cant see anything that is wrong in the web config of the asterisk server.




-- Divett Enterprises -- The Power Of Tomorrow --

Create new topic
joshp
205 posts

Master Geek

Trusted
WorldxChange

  #175383 3-Nov-2008 08:19
Send private message

Do you have any examples of this? are the calls going to voicemail on the Asterisk system or on the VFX system?  Try running sip captures
and some Asterisk debugging during these calls.

For sip captures (you may need to install ngrep - run these from command line)

ngrep -d eth0 port 5060

(this should give you all sip messages between VFX and Asterisk as well as all sip messages between Asterisk and your sip
phone.)  if you want to see messages only between your Asterisk server and VFX then use:

ngrep -d eth0 port 5060 and host 58.28.20.150

For Asterisk debugging run this from command line:

asterisk -vvvvvr

(the more v's represents the verbosity)

Hopefully these can give you a better idea on what is happening when these calls come in.

Cheers

Josh






sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #175386 3-Nov-2008 08:45
Send private message

I'm assuming you mean they are going to your VFX voicemail? If this is the case then it would seem as if your Asterisk box isn't registered properly. If it was registered then all calls should hit your box.

What LICA is your number in?

What happens when you dial out? Is it Alison (Asterisk voice) giving you the "your call cannot proceed" or Neil Waka (WxC voice) saying the call cannot be connected?





AllNightNerding

411 posts

Ultimate Geek


  #175494 3-Nov-2008 17:30
Send private message

When I run ngrep -d eth0 port 5060 and ngrep -d eth0 port 5060 and host 58.28.20.150 sections of numbers and text comes up, but im not sure what im supposed to be looking at in it.

with asterisk -vvvvvvvvvvvvvvvvr
What am I looking for in this?

my number is in Christchurch, (03) and the telstra numbers calling in and out are local as well.

I think it is Neil Waka saying: "The number you have dialed is not in service, please check the number you have called and try again. Thankyou."

The voicemail I think goes through to the asterisk voicemail.




-- Divett Enterprises -- The Power Of Tomorrow --



sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #175522 3-Nov-2008 19:49
Send private message

If inbound calls are hitting your Asterisk box and then going to voicemail it sounds very much like a configuration issue with Asterisk and nothing to do with VFX. Likewise if 100% of calls are failing and getting Neil Waka it sounds like there are issues with the numbers that you are sending to VFX.

What are you using for your dialplan and also for incoming routes?

AllNightNerding

411 posts

Ultimate Geek


  #175542 3-Nov-2008 20:40
Send private message

It is only one a couple of Telstras numbers that this happens.

The Dialplan is:

disallow=all
allow=ulaw&alaw
canreinvite=no
context=from-trunk
dtmfmode=rfc2833
fromdomain=as.wxcnz.net
fromuser=3741XXXX
host=as.wxcnz.net
insecure=invite,port
nat=yes
secret=XXXPASWORDXXX
type=peer
username=XXXUSERNAMEXXX

That what is under Outgoing Peer details.


and then for incoming:

secret=***password***
type=user
context=from-trunk


Is that what you are wanting?




-- Divett Enterprises -- The Power Of Tomorrow --

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #175551 3-Nov-2008 21:08
Send private message

No. That's your trunk settings.

You will have an inbound route defined somewhere (ie where all inbound calls go to) and also a dialplan that defines all outgoing calls. The dialplan matches the number you dial with predetermined routes for 1 or more providers so it knows how to route outbound calls. The inbound route defines what happens to all inbound calls, ie they go to an IVR or ring a particular extension or ring group.


Are you using Asterisk or a GUI based system such as Elastix or trixbox? If you are using plain asterisk you will have have set an incoming route and dialplan in extensions.conf - if you are running FreePBX these are in outbound and inbound routes.



AllNightNerding

411 posts

Ultimate Geek


  #175558 3-Nov-2008 21:45
Send private message

*gets confused* :D

there is Asterisk is on the computer, and then you access the web control interface which is Trixbox and then go into Free PBX in there.

Here is what the Inbound Routes panel:

Inbound Routes




-- Divett Enterprises -- The Power Of Tomorrow --

 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #175568 3-Nov-2008 22:02
Send private message

It's hard to tell if you have an inbound route set as any existing routes would be shown on the left.

If you don't have any routes you need to set one and set a destination.


You also need to define your dialplan in outbound routes and set this up with all required numbers.

Assuming you're wanting a dialplan accessible from all extensions you just need to load something like this

082210
083210
111
00.
020.
021.
024.
026.
027.
028.
03xxxxxxx
04xxxxxxx
0508xxxxxx
06xxxxxxx
07xxxxxxx
0800xxxxxx
09xxxxxxx
xxxxxxx

and set the trunk sequence at the bottom to your VFX trunk name

This means that all calls that are 7 digits long (xxxxxxx) are routed directly along with all other calls that pattern match the above details. You will not bw able to dial anything else (it you couldn't dial 123 for example since there is no pattern match)


joshp
205 posts

Master Geek

Trusted
WorldxChange

  #175625 4-Nov-2008 08:03
Send private message

sbiddles dialplan should help with your outbound calls, if you are still having issues with it.. PM me an example call, I can take a look at what
digits you are sending us..

In terms of the inbound calls, if you are seeing text scroll past when using the ngrep command on an inbound call that goes to voicemail, it means that
the call is hitting the Asterisk box, and that your internal routing is not correctly setup.  Start with a basic setup where all calls go through to a single
extension, and work on from there.




AllNightNerding

411 posts

Ultimate Geek


  #175760 4-Nov-2008 17:07
Send private message

So where exactly do I inpout the Dial Plan?




-- Divett Enterprises -- The Power Of Tomorrow --

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #175764 4-Nov-2008 17:11
Send private message

AllNightNerding: So where exactly do I inpout the Dial Plan?


Into outbound routes.

From reading your posts it's obvious you don't know a lot about Asterisk - have you read Tony's guide on setting it up? He goes through all of these things which are essential to actually get incoming and outgoing calls to work.

coffeebaron
6231 posts

Uber Geek

Trusted
Lifetime subscriber

  #175774 4-Nov-2008 17:31
Send private message

You don't have a default rule of "9" for outside line do you? This would cause issues with TelstraClear numbers that generally start with "9". Asterisk would strip the "9" and send out only the next six digits to actually dial.




Rural IT and Broadband support.

 

Broadband troubleshooting and master filter installs.
Starlink installer - one month free: https://www.starlink.com/?referral=RC-32845-88860-71 
Wi-Fi and networking
Cel-Fi supply and installer - boost your mobile phone coverage legally

 

Need help in Auckland, Waikato or BoP? Click my email button, or email me direct: [my user name] at geekzonemail dot com


AllNightNerding

411 posts

Ultimate Geek


  #175775 4-Nov-2008 17:37
Send private message

Tryed putting that into it, and it didnt work, I took out the 9|. as well and that didnt change anything (both with and without the 9 infront of the telstra number.




-- Divett Enterprises -- The Power Of Tomorrow --

joshp
205 posts

Master Geek

Trusted
WorldxChange

  #176103 5-Nov-2008 13:52
Send private message

Can I please get you to PM me your details, i.e. Phone number/Name etc.  I'll have a look through your call records see if I can't spot anything from this side.

Cheers




Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.