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.


#30473 9-Feb-2009 22:05
Send private message

Righto, after much pulling out of hair I'm throwing this won out to the experts. I've taken a number of screen shots in the hope someone can spot something wrong with my config.

From the top - had WXC change my existing account from VFX to Asterisk. GOt the settings by email, setup Trixbox and pasted in the settings emailed to me by WXC.

Using a Linksys SPA2102, I factory reset that so its no longer locked in to VFX.

Now I get a dial tone, but after dialing a number there's about a 5sec pause before I get a voice saying cannot connect. Similarly dialing into my number from my mobile I get another recorded message.

I've taken some screenshots that may or may not help with diagnosis;



Trixbox

http://picasaweb.google.com/bpgray/Trixbox?feat=directlink

I've also set the DMZ to open traffic in both directions to my Trixbox to 58.28.20.150 in an effort to get it working.
My routers an SMC router
I'm using a Linsys PAP2T SPA2102 with my Uniden cordless phone
I also have a Snom M3 VOIP phone

Please help......its driving me nuts.

Create new topic
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #195004 9-Feb-2009 22:23
Send private message

Where did you get your VFX settings from? Did you try following Tony's VFX + trixbox guide? That has everything you need to be up and running.





  #195010 9-Feb-2009 22:36
Send private message

I used Tony's guide here;
http://www.geekzone.co.nz/tonyhughes/4086

and the VFX settings emailed to me by WXC.

I have a funny feeling it might be some settings in my router not quite right? Regardless of whether the PAP2T is workign correctly, I should at least be able to dial out using the softphone shouldnt I? (X-Lite on a Mac). I've set up port fowarding to my Trixbox for 5060 and 10000 - 20000 TCP&UDP hopefully thats right?


joshp
205 posts

Master Geek

Trusted
WorldxChange

  #195055 10-Feb-2009 08:33
Send private message

Looking at your call records, there are no calls being generated from your box (none that are getting through to us) and calls to your box are not being acknowledged, i.e. we send an invite and your box does not respond.

This could mean that you are blocking request from/to us on your modem or your asterisk box has a configuration issue.

From you asterisk box try and determine if you are sending/receiving the calls, you can do this by using the below command from cli:

ngrep -d eth0 port 5060 and host 58.28.20.150

this assumes that you are using eth0 as your primary network interface, change it accordingly.

If you can see the sip messages leaving your box, then take a look at the modem, try putting your asterisk box in the dmz initially and work back from there.

If you can't see inbound sip packets that you know that your modem is blocking it.

If you can't see sip packets out and you can see sip packets being sent to the asterisk box then you know it will be a configuration issue.

Note, I have only seen one registration attempt being sent from your box in the last two days, I suspect that there may be an issue with your router blocking the traffic.

Cheers






sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #195059 10-Feb-2009 08:48
Send private message

Try remvoing the ; comment field in your user details (this is your VFX number blah blah).

There is no need to have seperate entries for outgoing and incoming, these can all be put in the outgoing field like Tony's config file shows.

The fact joshp says you have registed once indicates you probably did add WXC's IP to your hosts file?

Also change your dialplan to something simple such as x. which will allow all calls and delete the 9_ trunk, there is no need to dial 9 to get out.


mruane
420 posts

Ultimate Geek


  #195102 10-Feb-2009 13:17
Send private message

Grayskull

Neither of your screen shots show the Register string that you are using - what does your register string consist of (please dont post the actual details) i.e. this is what is should look like.

Register String
<Phone No>:<secret from VFX>:<username from VFX>@pan.wxnz.net/<Phone No>

Your screenshots indicate that the trunk is not registering at all (well at the time your grabbed the screen shot).


Could the one registration attempt that joshp refers to be the result of many attempts and a lucky shot on one occasion becase a setting was actually correct.  My Trunk USER details panel is empty and the PEER details panel looks different to the one in your screen shot.  This is what my one looks like:


PEER Details

username=<as provided by VFX>
type=peer
secret=<as provided by VFX>
nat=yes
insecure=invite,port
host=pan.wxnz.net
fromuser=<as provided by VFX without the leading zero>
fromdomain=as.wxcnz.net
canreinvite=no
dtmfmode=rfc2833

Cheers Mike


sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #195112 10-Feb-2009 14:14
Send private message

I assume you have an inbound route set? Easiest is to set this direct to an extension for testing purposes.

 
 
 

Trade NZ and US shares and funds with Sharesies (affiliate link).
  #195161 10-Feb-2009 18:12
Send private message

sbiddle: I assume you have an inbound route set? Easiest is to set this direct to an extension for testing purposes.


yup, done that.

I can make outgoing calls but incoming calls go straight to the answerphone. Someone mentioned turning off my VFX voicemail, but I'm currently locked out of MyVFX account and awaiting this to be unlocked by WXC? perhaps this is why there are no incoming calls?

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #195182 10-Feb-2009 20:19
Send private message

if you do a "sip show registry" are you succesfully registered?

  #195241 11-Feb-2009 07:03
Send private message

sbiddle: if you do a "sip show registry" are you succesfully registered?


Its showing its state as registered.

As an aside, i just ran the
asterisk -rx "sip show registry"
command in Terminal (on a Mac). Whats the easiest way to run Trixbox commands, does everyone do it command line like that or some other tricky way?

Cheers.

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #195245 11-Feb-2009 07:54
Send private message

You can either use ssh or the CLI option in FreePBX.

  #195249 11-Feb-2009 08:41
Send private message

sbiddle: You can either use ssh or the CLI option in FreePBX.


Excuse the ignorance, I've tried to google it, but cant find details of how to open the CLI option? I found this reference;
asterisk -r
do you run that from a Terminal/console window, or is there a way to run it remote via a web interface? My Trixbox is in the basement and is now headless, w/o screen/keyboard,etc so just after the easiest way forward.

Also wondering if there's a way to setup remote log in via the internet (say from my work to home) - or is this not recommended due to security issues?

Thanks again for everyones help.

mruane
420 posts

Ultimate Geek


  #195256 11-Feb-2009 09:19
Send private message

The easiest way to check your registrations is to use the web interface that Trixbox 2.6 provides. 

After you have switched from User Mode to Admin Mode on the Trixbox main web page, select the PBX tab and open the PBX Settings option. Select the Tools tab and click the Asterisk Info menu option.  On the right of the screen you will see a menu with an entry for Registries. Just click that.  The screen that open will show you the state of all of your trunks. If they say Registered - your good to go.  Beats grubing around with the Asterisk CLI any day.

Cheers Mike

  #195377 11-Feb-2009 18:45
Send private message

Here's my status

Sip Registry

Host Username Refresh State Reg.Time
pan.wxnz.net:5060 99**** 165 Registered Wed, 11 Feb 2009 18:44:13
IAX2 Registry

Host dnsmgr Username Perceived Refresh State
still no incoming calls tho?

  #195414 11-Feb-2009 22:12
Send private message

Well I ditched the SMB router, got my new Linksys router up & running, and wouldn't ya know it - I can now receive incoming calls & make outgoing (all only via the softphone so far, still got to get the PAP2T and Snom M3 working - tomorrows project).

Thanks guys for all the help.

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.