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.




62 posts

Master Geek


Topic # 107825 20-Aug-2012 15:10 Send private message

Hi to all,
I am currently updating my VoIP box to Elastix 2.3 from 1.6 and upon trying to register the VfX trunks it fails. I am using the exact same settings as the old machine. Does anyone know what has changed between versions? Here is my current setting...

username=XXXX
type=peer
secret=XXXX
regseconds=180
registertimeout=20
port=5060
host=pan.wxnz.net
dtmfmode=rfc2833
disallow=all
allow=g729&ulaw&alaw


USER Context : my phone nr without zero

username=XXXX
type=peer
secret=XXXXX
nat=yes
insecure=invite,port
host=pan.wxnz.net
fromuser=my phone nr without zero
context=from-trunk
canreinvite=no


Registrtation string : phonenr:XXXX:XXXX@pan.wxnz.net/phonenr

Thank you in advance for the excellent help I have always got in this forum! :)
Chris

Create new topic
24581 posts

Uber Geek
+1 received by user: 4551

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 674673 20-Aug-2012 17:18 Send private message

You don't need both trunk and user fields - just leave the data in the trunk field.

There was also a small gripe with FreePBX at one stage that needed disallow at the top of the entry field, no idea if this still is the case because I always have it at the top anyway.

4808 posts

Uber Geek
+1 received by user: 1857

Trusted
Subscriber

  Reply # 674676 20-Aug-2012 17:29 Send private message

Sometimes when changing open VFX hardware / setup, the old config can be stuck registered. Leave off overnight and see if it kicks in tomorrow.




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




62 posts

Master Geek


  Reply # 674950 21-Aug-2012 09:14 Send private message

@sbiddle... I have used this configuration on the server for almost two years now, so I don't think that will solve it... I will give it a go though...
@coffeebaron I have two VfX numbers and registered one with a softphone (the one I needed to keep active while playing around with the new server) and was trying to register the other on the server. The softphone worked immediately, but the Elastix didn't.

I will try playing around a bit more with the settings, thank you both for your replies...



62 posts

Master Geek


  Reply # 675504 22-Aug-2012 15:01 Send private message

Sorted...
I needed to change type=peer to type=user and it now works. Oh, and to make it clear, I had registered the trunk, I only couldn't get incoming calls, although outgoing worked fine...
I am no Asterisk expert, so can someone roughly please explain why this is happening?

And I also deleted the stuff in the user field, made no difference, thanks @sbiddle for making it simpler ;)



62 posts

Master Geek


  Reply # 675525 22-Aug-2012 16:03 Send private message

OK,
I THOUGHT it was sorted. As soon as I changed to type=user I lost the ability to make calls from the trunk...
So no it is either type=peer and I can make calls but not receive, or type=user and I can receive but not make calls!

Any help greatly appreciated.. :)

Create new topic



Amazon prices in US$






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.



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.