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.



15 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
19543 posts

Uber Geek
+1 received by user: 1364

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.




15 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?

19543 posts

Uber Geek
+1 received by user: 1364

Moderator
Trusted
Biddle Corp
Subscriber

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

FreePBX is a million times better.

478 posts

Ultimate Geek
+1 received by user: 2


  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 tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Moment of Truth?
Created by BarTender, last reply by TimA on 23-Sep-2014 21:15 (419 replies)
Pages... 26 27 28


GCSB Surveillance Vans?
Created by snowball, last reply by oxnsox on 23-Sep-2014 22:11 (55 replies)
Pages... 2 3 4


Festival of Democracy
Created by gzt, last reply by ubergeeknz on 23-Sep-2014 16:11 (138 replies)
Pages... 8 9 10


Geekzone giveaway: ADATA SSD SP610 256GB and ADATA PV110 Power Bank
Created by freitasm, last reply by Lias on 23-Sep-2014 22:26 (48 replies)
Pages... 2 3 4


Gigatown Beaten - Im So Jelly of Taranaki
Created by raytaylor, last reply by FiShYmAn on 23-Sep-2014 20:34 (24 replies)
Pages... 2


Is quitting Sky a sensible option?
Created by DickDastardly, last reply by MileHighKiwi on 23-Sep-2014 22:36 (22 replies)
Pages... 2


How do we get more people out to vote?
Created by nate, last reply by Geektastic on 23-Sep-2014 22:02 (45 replies)
Pages... 2 3


Dell Inspiron 15 5547 i7/16gb/1080p IPS touch/R7 m265 $798
Created by Stan, last reply by Krishant007 on 23-Sep-2014 22:39 (18 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.