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.



13 posts

Geek


Topic # 103004 28-May-2012 12:38 Send private message

I have a VFX sip trunk installed on a ubuntu 12.04 amd64 box, and having trouble with dial out and receive calls in May 2012.

Appologies if another post covers this, but I couldn't find any. Pointers appreciated.

Asterisk/1.8.10.1~dfsg-1ubuntu1
Asterisk GUI-version : SVN--r5209
The original posts at
http://www.geekzone.co.nz/forums.asp?forumid=65&topicid=29072
http://www.geekzone.co.nz/forums.asp?forumid=65&topicid=17174

are 4 years out of date, and some parts are hard to relate to the current settings.

GUI forces use of users.conf, not sip.conf.

I can make outbound calls if I run with
username = cms*****user*********rr      (ie the long version)
but register status shows Rejected
chan_sip.c: Got 404 Not found on SIP register to service cms******user******[email protected], giving up
This matches with the VFX instructions in the original post
Calls work fine...
Called SIP/somecontext/123
    -- SIP/somecontext-00000050 is making progress passing it to SIP/6000-0000004f
    -- SIP/somecontext-00000050 answered SIP/6000-0000004f


I can register successfully if I run with
username = 99506***
This matches with GUI settings.
But then I can't make outbound calls.

I understand the compound register statement is needed for vfx, but how to make Asterisk do this correctly with all the GUI config in place, since you can't put the register bit in sip.conf?
register=9950****:cm*****user*********rr:1N******secret*****@pan.wxnz.net/9950****

Can anyone clarify the settings in users.conf and how they correspond with the gui, with respect to vfx.

users.conf settings
[code]
[somecontext]
host = pan.wxnz.net
username = cms******user*******rr
secret = 1N****secret************
trunkname = somecontext  ; GUI metadata
context = DID_somecontext
hasexten = no
hasiax = no
hassip = yes
registeriax = no
registersip = yes
trunkstyle = voip
canreinvite = no
insecure = invite,port
nat = no
fromuser = 99506***
fromdomain = pan.wxnz.net
authuser = cms*****user************rr
disallow = all
allow = g729,ulaw,alaw
dtmfmode = rfc2833
registertimeout = 20
regseconds = 180
[/code]

Note NAT=no for this box because it happens to be a full public internet host on a single real IP address and is not behind a nat firewall.

And the GUI box fields, transcribed from the screen are
Provider Name:   somecontext
Hostname:  pan.wxnz.net
Username:  cm**********user*********rr
Password:  1N**********secret***********
Codes: First: g.729  second: u-law  third: a-law  fourth: none  fifth: none
CallerId:  099506***
FromDomain: pan.wxnz.net
FromUser:  99506***
AuthUser:  cm****************rr
Insecure:  offers only port/very/no.  Overridden in users conf to invite,port
Outbound proxy: (blank)
Enable Remote MWI: (unchecked)


So to clarify...
Asterisk 1.8
Asterisk GUI

Settings to enter
conf files to mangle
changes to make

so vfx trunk will register, call out and receive calls in.

Clean install of asterisk, no nat firewall, a few remote extensions on snom phones, nothing complex.
I'm also having similar troubles with several Yeastar MyPBX, which is mostly Asterisk & GUI in a small dedicated box with integrated FXS and FXO modules.


David.

Create new topic
18532 posts

Uber Geek
+1 received by user: 727

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 631501 28-May-2012 14:09 Send private message

Do you have the G.729 codec installed?

IMHO AsteriskGUI is a terrible piece of junk, I'll be surprised if you find anybody else on here using it.




13 posts

Geek


  Reply # 631727 28-May-2012 22:46 Send private message

Ok, got licenced g729a codec installed and working.  Sounds better on laggy link too. Got it from Digium, support them since they support Asterisk.  Bit odd tiny NZ company sends money to massive US corporation, but that's where software patents take you.

Don't have to use Asterisk gui, just chose it as default should work, good enough.  Need some sort of web based GUI so remote users can see call records, dialing rules.

What do you suggest I use?

18532 posts

Uber Geek
+1 received by user: 727

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 631763 29-May-2012 05:44 Send private message

FreePBX is a million times better.

397 posts

Ultimate Geek


  Reply # 632157 29-May-2012 18:51 Send private message

What's the advantage of using G729 if you have enough bandwidth to use an uncompressed codec?

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 new jobs are posted to our jobs board:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

galaxy s4 now on 4.4.2
Created by nzrock, last reply by tanivula on 18-Apr-2014 22:33 (50 replies)
Pages... 2 3 4


Forms of government for New Zealand
Created by charsleysa, last reply by Kyanar on 18-Apr-2014 20:55 (98 replies)
Pages... 5 6 7


Snap suffering Trans-Tasman congestion 18/04?
Created by Lias, last reply by CaseyDan on 18-Apr-2014 22:18 (23 replies)
Pages... 2


MH370 - Call for Search & Rescue Help
Created by DS248, last reply by Sideface on 17-Apr-2014 17:28 (735 replies)
Pages... 47 48 49


why does the tax payer have to pay for the prince and princess' 6 star holiday?
Created by joker97, last reply by Geektastic on 17-Apr-2014 15:49 (67 replies)
Pages... 3 4 5


Watching overseas content on my TV
Created by beenz, last reply by freitasm on 18-Apr-2014 19:00 (13 replies)

Help ! Home business connection and VDSL dead. yikes.
Created by Scotsman, last reply by Scotsman on 17-Apr-2014 21:10 (26 replies)
Pages... 2


Free connection to Ultra Fibre not true
Created by kapitikarl, last reply by cbrpilot on 15-Apr-2014 13:24 (27 replies)
Pages... 2



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.