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.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.




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
20057 posts

Uber Geek
+1 received by user: 1665

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?

20057 posts

Uber Geek
+1 received by user: 1665

Moderator
Trusted
Biddle Corp
Subscriber

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

FreePBX is a million times better.

493 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:





Trending now »

Hot discussions in our forums right now:

Netflix officialy launching in NZ in March
Created by jarj, last reply by tdgeek on 21-Nov-2014 19:08 (97 replies)
Pages... 5 6 7


Which one is right for me? M8, Z3, S5 or other?
Created by makiomoto, last reply by makiomoto on 20-Nov-2014 13:52 (40 replies)
Pages... 2 3


What to do on the internet?
Created by TimA, last reply by hio77 on 20-Nov-2014 13:15 (34 replies)
Pages... 2 3


Gull Employment Dispute.
Created by networkn, last reply by networkn on 22-Nov-2014 00:02 (33 replies)
Pages... 2 3


Lollipop Problems
Created by ronw, last reply by ronw on 21-Nov-2014 21:26 (16 replies)
Pages... 2


Apple wall charges (USB slotted) keep disconnecting i-devices non-stop
Created by Mar1, last reply by Aredwood on 21-Nov-2014 14:59 (14 replies)

Slingshot line speed
Created by Frankiej45, last reply by Frankiej45 on 20-Nov-2014 14:38 (14 replies)

Chief Censor - He's at it again!
Created by scuwp, last reply by Nebbie on 19-Nov-2014 16:23 (42 replies)
Pages... 2 3



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.