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.


stainless

5 posts

Wannabe Geek


#38634 2-Aug-2009 22:36
Send private message

Hi there, I've just changed my VFX connection over to an "asterisk" connection.

I've tried many different configurations (sip/extentions), but I'm not able to get incoming calls to route correctly through to the asterisk box.  Outgoing calls (asterisk to realworld) work fine.  Internal dialing seems to work fine.

Its calls from realworld to asterisk don't seem to reach the box.  (tcpdump shows no sip packets arriving). The box has a real ip address.  Seems to show as registered ok:

asterisk*CLI> sip show registry
Host                            Username       Refresh State                Reg.Time
pan.wxnz.net:5060        7981xxxx            165 Registered        Sun, 02 Aug 2009 22:22:20

Can anyone see anything wrong with my confs?

---sip.conf:
[General]
port = 5060
dtmfmode = rfc2833
disallow=all
;allow=g729  ; tried this in and out..
allow=ulaw
allow=alaw
registertimeout = 20
regseconds = 180
register => 7981xxxx:xxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxx@pan.wxnz.net/7981xxxx

[VFX]
type=peer
fromuser=7981xxxx
host=pan.wxnz.net
insecure=invite,port
canreinvite=no
nat=yes
secret=xxxxxxxxxxxxxxxxxxxx
username=xxxxxxxxxxxxxxxxxxxx
context=default
---

---extensions.conf:
[globals]
static=yes
writeprotect=no
clearglobalvars=no

[general]

[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()

exten => 1234,1,Dial(SIP/xlite,30)
exten => 1234,n,Hangup()

exten => i,1,Answer()
exten => i,n,Playback(tt-weasels)
exten => i,n,Hangup()

; added this on in just in case... it wasn't picked up by s above...
exten => 7981xxxx,1,Answer()
exten => 7981xxxx,n,Playback(tt-weasels)
exten => 7981xxxx,n,Hangup()
---


Create new topic
mruane
420 posts

Ultimate Geek


  #241905 3-Aug-2009 17:54
Send private message

Check that you have an Incoming Route setup to handle the VFX line or at least an Any DID/Any CID incoming route. To handle the VFX line differently, define an incoming route specifically for the VFX trunk (minus the leading zero).

Sorry - reread your post again. You indicate that the SIP packets are not arriving. Have you established pin holes in your router's firewall for port 5060 directing them to your Asterisk box? I have pin holes for the SIP port and RTP plus IAX for external extensions.

Cheers Mike



stainless

5 posts

Wannabe Geek


  #241979 3-Aug-2009 20:07
Send private message

Thanks for that, and thanks to Josh P.

I suspect the problem was that when I got the serviced moved from my SPA2102 adapter, it still contained the old registration on the second line. So despite the fact that it was failing to register and asterisk was thinking it was registered, it failed to send the call to the right place.

I'm now getting call notifications to asterisk. I just need to go and configure some dial plans.

Thanks,

S :)

coffeebaron
6231 posts

Uber Geek

Trusted
Lifetime subscriber

  #242029 3-Aug-2009 21:33
Send private message

Ah, yes, always best to factory reset & re-provision devices when you have moved VFX lines to another device / system.




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


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.