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.


63 posts

Master Geek
+1 received by user: 2


Topic # 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
26633 posts

Uber Geek
+1 received by user: 6133

Moderator
Trusted
Biddle Corp
Lifetime subscriber

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




5218 posts

Uber Geek
+1 received by user: 2240

Trusted
Lifetime subscriber

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




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




63 posts

Master Geek
+1 received by user: 2


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

26633 posts

Uber Geek
+1 received by user: 6133

Moderator
Trusted
Biddle Corp
Lifetime subscriber

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






63 posts

Master Geek
+1 received by user: 2


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

26633 posts

Uber Geek
+1 received by user: 6133

Moderator
Trusted
Biddle Corp
Lifetime subscriber

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

205 posts

Master Geek
+1 received by user: 1

Trusted
WorldxChange

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






63 posts

Master Geek
+1 received by user: 2


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



63 posts

Master Geek
+1 received by user: 2


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

420 posts

Ultimate Geek
+1 received by user: 2


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



63 posts

Master Geek
+1 received by user: 2


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

26633 posts

Uber Geek
+1 received by user: 6133

Moderator
Trusted
Biddle Corp
Lifetime subscriber

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



63 posts

Master Geek
+1 received by user: 2


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

26633 posts

Uber Geek
+1 received by user: 6133

Moderator
Trusted
Biddle Corp
Lifetime subscriber

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




63 posts

Master Geek
+1 received by user: 2


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

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:





News »

Hawaiki Transpacific cable ready-for-service
Posted 20-Jul-2018 11:29


Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34



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.

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