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.


Beaker

74 posts

Master Geek


#29822 20-Jan-2009 16:53
Send private message

Im trying to set up a trixbox for our internal PABX and having no end of problems

softphones just ring, but nothing ever happens.  I cant seem to get the trunk to register and the guides are awfully confusing compared to what WxC sent me

Ive tried editing the sip.conf and sip_additional.conf as suggested in http://www.geekzone.co.nz/forums.asp?ForumId=65&TopicId=17174  but it doesnt seem to take effect in the web interface, tried rebooting, same thing.   Are the usernames and passwords supposed to remain in the aparent hashed formats?


here is what xnet sent me

Trunk/Peer Settings:
[General]
port = 5060
dtmfmode = rfc2833
disallow=all
allow=g729
allow=ulaw
allow=alaw

registertimeout = 20
regseconds = 180

[VFX]
type=peer
fromuser=37411XXX ; this is your VFX Number without the leading 0 i.e. 9950XXXX
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=xxxxxxxxxxxxxxxxxxxxxxxxxxxx
username=yyyyyyyyyyyyyyyyyyyyy

Registration Details:
 
register=37411XXX:xxxxxxxxxxxxxxxxxxxx:yyyyyyyyyyyyyyyyy@pan.wxnz.net/37411XXX



can someone please tell me what to enter and where.

Also now I cant seem to dial internally, always says everyone is busy!!

View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #190844 20-Jan-2009 17:15
Send private message

Follow Tony's guide here and then buy the big guy a beer for saving you a few hours.

The only obvious change is that the disallow=all comment must be located above the allow field in the trunk settings. The order did not used to matter.


If you're in Wellington and need help let me know.




 
 
 

GoodSync. Easily back up and sync your files with GoodSync. Simple and secure file backup and synchronisation software will ensure that your files are never lost (affiliate link).
coffeebaron
6198 posts

Uber Geek

Trusted
Lifetime subscriber

  #190932 20-Jan-2009 22:40
Send private message

Take out allow=g729

This codec requires a license, and although Trixbox can pass through this codec, it often causes too many problems if not setup correctly.




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


Beaker

74 posts

Master Geek


  #190954 21-Jan-2009 07:24
Send private message

Thanks,Ill try that today,

Interestingly, I threw the details into a Virtual Machine I was playing with before I put it on the full blown machine (prior to setting up any trunks) , and it worked perfectly.   Except it still doesnt accept incoming calls, gives me xnets voicemail prompts.  any suggestions there?  I have the incoming routes pretty much blank



sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #190964 21-Jan-2009 08:11
Send private message

Beaker: Thanks,Ill try that today,

Interestingly, I threw the details into a Virtual Machine I was playing with before I put it on the full blown machine (prior to setting up any trunks) , and it worked perfectly.   Except it still doesnt accept incoming calls, gives me xnets voicemail prompts.  any suggestions there?  I have the incoming routes pretty much blank


When you say "pretty much" do you mean you have none? Without an incoming route you won't get any incoming calls.




Beaker

74 posts

Master Geek


  #190969 21-Jan-2009 08:41
Send private message

What I have set is

Any DID / CID going thru to my ring group, which all extentions are added to.


Someone mentioned having to put the trixbox on an external IP?  surely NAT should work, or is it best to put it in a DMZ


What im getting when I dial the number is.

'The Party you are trying to call, is not available' please try again later'  so I think its not passing thru to my trixbox.

Do I have to put anything under 'user context' and fill out the incoming section?

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #190976 21-Jan-2009 09:56
Send private message

You have remembered to edit your host file to add the wxc IP address?

What do you get if you do a sip show registry or sip show peers? Are you registered OK?

joshp
205 posts

Master Geek

Trusted
WorldxChange

  #190983 21-Jan-2009 10:17
Send private message

If you can PM me your number I can check your registration state. One little trip in trixbox, when entering the registration string in the GUI, trixbox automagically populates the register= string, so if you have entered in there registration=blahblah, trixbox will generate registration=registration=

Try removing the registration= in the gui see if that helps. If I get your number I should be able to look a little deeper for you.

Cheers

Josh






Beaker

74 posts

Master Geek


  #191068 21-Jan-2009 14:59
Send private message

got it working!  not sure what did it.

but here is my config


port=5060
dtmfmode=rfc2833
disallow=all
allow=ulaw&alaw
registertimeout=20
regseconds=180
type=friend
fromuser=3XXXXXXX
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=(supplied by xnet)
username=(supplied by xnet)
bindport=5060
bindip=0.0.0.0
externip=my external IP address
domain=pan.wxnz.net
allowexternaldomains=yes

Beaker

74 posts

Master Geek


  #191397 22-Jan-2009 22:19
Send private message

OK, Now what I want to be able to do, is be able to transfer calls to my mobile.

so what ive set up is.

IVR for me. Press 1 to leave voicemail, press 2 to be sent to my mobile.

so I added my mobile number in the asterisk phonebook. and on the IVR< clicked on phonebook entries.. and my entry I entered is not there..  im sure thats how its supposed to work??

mruane
420 posts

Ultimate Geek


  #191453 23-Jan-2009 09:03
Send private message

Using the IVR to call outbound will work - I use it myself. In my case, I created a Ring Group consisting of one number - the mobile number followed by the # character.  In the IVR menu, select the numeric option and direct it to the ring group.

Just be sure that you have an available outgoing trunk to handle the call. Remember you will be consuming one trunk with the incoming call. Some providers allow two calls on the same trunk (one inbound and one outbound) but probably not all providers.

Cheers Mike

Beaker

74 posts

Master Geek


  #192682 29-Jan-2009 10:28
Send private message

OK have changed nothing, now I have a new problem, if someone calls in, user can hear me, I can hear them, if I call out, I cant hear them, they cant hear me.  Ive forwarded UDP / TCP ports 5060-5070 to my trixbox, was working fine up until yesterday

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #192683 29-Jan-2009 10:31
Send private message

Beaker: OK have changed nothing, now I have a new problem, if someone calls in, user can hear me, I can hear them, if I call out, I cant hear them, they cant hear me.  Ive forwarded UDP / TCP ports 5060-5070 to my trixbox, was working fine up until yesterday


You obviously have a NAT issue or a firewall blocking the RTP traffic. SIP traffic is carried on port 5060, RTP (voice) used 10000-20000 by default in Asterisk. You need to edit rtp.conf to reduce this slightly (10001-10050 is fine) and then open these ports.

Beaker

74 posts

Master Geek


  #192692 29-Jan-2009 11:02
Send private message

Have tried this, also gone to the point of setting my trixbox as a DMZ IP.  so any unrouted ports will see it

sbiddle
30853 posts

Uber Geek

Retired Mod
Trusted
Biddle Corp
Lifetime subscriber

  #192697 29-Jan-2009 11:35
Send private message

Without knowing your exact setup or having access to the box it's hard to really know what it could be. 


Beaker

74 posts

Master Geek


  #192926 30-Jan-2009 14:36
Send private message

this is really becoming painful now


yesterday I reset everything and it worked again, now I have a proper IP phone, I can dial out the trunk, but the other end cant hear me.    if I dial a user on the LAN, I cant hear them, they cant hear me.

this is friggan annoying the crap out of me


 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Logitech Introduces New G522 Gaming Headset
Posted 21-May-2025 19:01


LG Announces New Ultragear OLED Range for 2025
Posted 20-May-2025 16:35


Sandisk Raises the Bar With WD_BLACK SN8100 NVME SSD
Posted 20-May-2025 16:29


Sony Introduces the Next Evolution of Noise Cancelling with the WH-1000XM6
Posted 20-May-2025 16:22


Samsung Reveals Its 2025 Line-up of Home Appliances and AV Solutions
Posted 20-May-2025 16:11


Hisense NZ Unveils Local 2025 ULED Range
Posted 20-May-2025 16:00


Synology Launches BeeStation Plus
Posted 20-May-2025 15:55


New Suunto Run Available in Australia and New Zealand
Posted 13-May-2025 21:00


Cricut Maker 4 Review
Posted 12-May-2025 15:18


Dynabook Launches Ultra-Light Portégé Z40L-N Copilot+PC with Self-Replaceable Battery
Posted 8-May-2025 14:08


Shopify Sidekick Gets a Major Reasoning Upgrade, Plus Free Image Generation
Posted 8-May-2025 14:03


Microsoft Introduces New Surface Copilot+ PCs
Posted 8-May-2025 13:56


D-Link A/NZ launches DWR-933M 4G+ LTE Cat6 Wi-Fi 6 Mobile Hotspot
Posted 8-May-2025 13:49


Synology Expands DiskStation Lineup with DS1825+ and DS1525+
Posted 8-May-2025 13:44


JBL Releases Next Generation Flip 7 and Charge 6
Posted 8-May-2025 13:41









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.







Backblaze unlimited backup