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


Topic # 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
+1 received by user: 1

Trusted
WorldxChange

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




27286 posts

Uber Geek
+1 received by user: 6719

Moderator
Trusted
Biddle Corp
Lifetime subscriber

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


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

27286 posts

Uber Geek
+1 received by user: 6719

Moderator
Trusted
Biddle Corp
Lifetime subscriber

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


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

27286 posts

Uber Geek
+1 received by user: 6719

Moderator
Trusted
Biddle Corp
Lifetime subscriber

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


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

27286 posts

Uber Geek
+1 received by user: 6719

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 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
+1 received by user: 1

Trusted
WorldxChange

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


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

So where exactly do I inpout the Dial Plan?




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

27286 posts

Uber Geek
+1 received by user: 6719

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  Reply # 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.

5291 posts

Uber Geek
+1 received by user: 2318

Trusted
Lifetime subscriber

  Reply # 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. If your still stuck on ADSL or VDSL, why not spend from $150 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.
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


  Reply # 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
+1 received by user: 1

Trusted
WorldxChange

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



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

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


Geekzone Live »

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.