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

70 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
Affiliate link
 
 
 

Affiliate link: Trend Micro provides enhanced protection against viruses, malware, ransomware and spyware and more for your connected devices.
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.




coffeebaron
5923 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
Wi-Fi and networking
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


Beaker

70 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

70 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

70 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

70 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

70 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

70 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

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

D-Link G415 4G Smart Router Review
Posted 27-Jun-2022 17:24


New Zealand Video Game Sales Reaches $540 Million
Posted 26-Jun-2022 14:49


Github Copilot Generally Available to All Developers
Posted 26-Jun-2022 14:37


Logitech G Introduces the New Astro A10 Headset
Posted 26-Jun-2022 14:20


Fitbit introduces Sleep Profiles
Posted 26-Jun-2022 14:11


Synology Introduces FlashStation FS3410
Posted 26-Jun-2022 14:04


Intel Arc A380 Graphics First Available in China
Posted 15-Jun-2022 17:08


JBL Introduces PartyBox Encore Essential Speaker
Posted 15-Jun-2022 17:05


New TVNZ+ streaming brand launches
Posted 13-Jun-2022 08:35


Chromecast With Google TV Review
Posted 10-Jun-2022 17:10


Xbox Gaming on Your Samsung Smart TV No Console Required
Posted 10-Jun-2022 00:01


Xbox Cloud Gaming Now Available in New Zealand
Posted 10-Jun-2022 00:01


HP Envy Inspire 7900e Review
Posted 9-Jun-2022 20:31


Philips Hue Starter Kit Review
Posted 4-Jun-2022 11:10


Sony Expands Its Wireless Speaker X-series Range
Posted 4-Jun-2022 10:25









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.