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.


Magikmoose

15 posts

Geek


#31581 23-Mar-2009 11:25
Send private message

I am pretty new to Asterisk and was wondering if I can get a little help.  I have read the basic guides but are still unable to recieve incoming calls - If i call my number the line rings disconnected or if I turn on voicemail from the VFX portal I get neil waka's VM.  I have turned on sip dubugging but see nothing in the logs so it is not hitting the Asterisk box at all.  I have also setup 2talk and can see incoming calls hitting the box so the ports I have forwarded (5060, 10000-20000) appear to be working fine.

I have tried entering the following information under sip.conf but when I run a ship show registry I get no attempt from VFX to register and it only show me 2talk's registered status.  I have now placed the information into users.conf (this is where 2talks working config has been entered) and it give me a status of sent but not registered as shown below:

users.conf

[general]
port=5060
dtmfmode=rfc2833
disallow=all
allow=g729
allow=ulaw
allow=alaw
registertimeout=20
regseconds=180

[VFX]
type=peer
fromuser=4_______7
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=6___________________c
username=F_____________________tz
register=4XXXXXX7:6XXXXXXXXXXXXnc:FbXXXXXXXXXXXXXXXtz@pan.wxnz.net/4XXXXXX7
context=incoming_calls

CLI<sip show registry
Host                            Username         Refresh State             Reg.Time                
pan.wxnz.net:5060        FbtnXXXXXXXC    120 Request Sent                                 
2talk.co.nz:5060           028XXXX86         05 Registered           Mon, 23 Mar 2009 09:51:26


I did not have to enter pan.wxnz.net into the hosts file as this is resolves ok unlike as.wxcnz.net.  I called Xnet tech support who said everything appears fine their end and it does not have to register so issue is at my end but I found another post where it appears it is showing to be registered so are now unsure if this is the case or not (obviously using a different host below):

CLI> sip show registry
Host                            Username       Refresh State                Reg.Time
as.wxcnz.net:5060               99500000           165 Request Sent         Sat, 26 Apr 2008 10:37:40


In my log file I get the following error:
WARNING[3142] chan_sip.c: Got 404 Not found on SIP register to service FbtXXXXXXXXXXXX1gtz@pan.wxnz.net, giving up

I have tried replacing the username with my VFX number without the leading 0 but this will not register and gives an error in the log saying:

NOTICE[3142] chan_sip.c: Failed to authenticate on REGISTER to '48XXXX57@pan.wxnz.net' (Tries 3)

I have not included any extensions.conf as i cannot even see xnet hitting the asterisk box while 2talk is.

Any help would be hugely appreciated.
Thanks.




Create new topic
coffeebaron
6233 posts

Uber Geek

Trusted
Lifetime subscriber

  #202764 23-Mar-2009 12:12
Send private message

If you haven't yet: put Asterisk box in the DMZ zone for your router. This will help eliminate this being a firewall issue. What router do you have?

Also:
context=from-trunk  ??




Rural IT and Broadband support.

 

Broadband troubleshooting and master filter installs.
Starlink installer - one month free: https://www.starlink.com/?referral=RC-32845-88860-71 
Wi-Fi and networking
Cel-Fi supply and installer - boost your mobile phone coverage legally

 

Need help in Auckland, Waikato or BoP? Click my email button, or email me direct: [my user name] at geekzonemail dot com




Magikmoose

15 posts

Geek


  #202768 23-Mar-2009 12:21
Send private message

Thanks for your response, asterisk was already in DMZ - issue is now resolved with the following settings and can now see incoming calls hitting the box in the logs:

sip.conf
[general]
port=5060
dtmfmode=rfc2833
disallow=all
allow=g729
allow=ulaw
allow=alaw
registertimeout=20
regseconds=180
context=default
allowoverlap=no
bindport=5060
bindaddr=0.0.0.0
language=en
useragent=Asterisk PBX
register=4XXXXX7:<secret>:<username>@pan.wxnz.net/4XXXXXX7


users.conf
[VFX]
type=peer
fromdomain=pan.wxnz.net
fromuser=48XXXXX7
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=<secret>
username=<username>

Thanks.


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.