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.




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
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




29119 posts

Uber Geek

Moderator
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?





 
 
 
 




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 --

29119 posts

Uber Geek

Moderator
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?



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 --

29119 posts

Uber Geek

Moderator
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.





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 --

 
 
 
 


29119 posts

Uber Geek

Moderator
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)


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.






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 --

29119 posts

Uber Geek

Moderator
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.

5699 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.




Chorus has spent $1.4 billion on making their xDSL broadband network faster and even more now as they are upgrading their rural Conklins. If your still stuck on ADSL or VDSL, why not spend $195 on a master filter install to make sure you are getting the most out of your connection?
I install - Naked DSL, DSL Master Splitters, VoIP, data cabling and general computer support for home and small business.

 

Cel-Fi supply and installer - boost your mobile phone coverage legally
Rural Broadband RBI installer for Ultimate Broadband and Full Flavour

 

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




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 --

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 »

Freeview On Demand app launches on Sony Android TVs
Posted 6-Aug-2020 13:35


UFB hits more than one million connections
Posted 6-Aug-2020 09:42


D-Link A/NZ extends COVR Wi-Fi EasyMesh System series with new three-pack
Posted 4-Aug-2020 15:01


New Zealand software Rfider tracks coffee from Colombia all the way to New Zealand businesses
Posted 3-Aug-2020 10:35


Logitech G launches Pro X Wireless gaming headset
Posted 3-Aug-2020 10:21


Sony Alpha 7S III provides supreme imaging performance
Posted 3-Aug-2020 10:11


Sony introduces first CFexpress Type A memory card
Posted 3-Aug-2020 10:05


Marsello acquires Goody consolidating online and in-store marketing position
Posted 30-Jul-2020 16:26


Fonterra first major customer for Microsoft's New Zealand datacentre
Posted 30-Jul-2020 08:07


Everything we learnt at the IBM Cloud Forum 2020
Posted 29-Jul-2020 14:45


Dropbox launches native HelloSign workflow and data residency in Australia
Posted 29-Jul-2020 12:48


Spark launches 5G in Palmerston North
Posted 29-Jul-2020 09:50


Lenovo brings speed and smarter features to new 5G mobile gaming phone
Posted 28-Jul-2020 22:00


Withings raises $60 million to enable bridge between patients and healthcare
Posted 28-Jul-2020 21:51


QNAP integrates Catalyst Cloud Object Storage into Hybrid Backup solution
Posted 28-Jul-2020 21:40



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.

Alternatively, you can receive a daily email with Geekzone updates.