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.


willnz

573 posts

Ultimate Geek

Trusted

#20178 16-Mar-2008 00:50
Send private message

I've been playing around with my Asterisk config today, and in a mild state of midnight confusion I successfully managed to break my incoming calls. I've tried everything I can think of, but for some reason they just don't want to work, and calls are going straight to voicemail (can't even see them coming in to the asterisk server with ngrep).

Can anyone see anything wrong with the configs below?

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

[inbound]
exten => 776093660000,1,Dial(ZAP/1)



sip.conf:

[general]
context=inbound
externip=60.234.XXX.XXX
localnet=192.168.80.0/255.255.255.0
bindport=5060

register=>93660000:secret_goes_here:username_goes_here@as.wxcnz.net/776093660000

[VFX-93660000]
type=peer
fromdomain=as.wxcnz.net
fromuser=93660000
host=as.wxcnz.net
insecure=invite,port
nat=yes
secret=secret_goes_here
username=username_goes_here


/etc/hosts:

58.28.20.150 as.wxcnz.net


EDIT: and yes, it was all working fine before - RTP and SIP ports are all forwarded correctly on the router.

*3660000 is not the actual number Wink

Create new topic
willnz

573 posts

Ultimate Geek

Trusted

  #116937 16-Mar-2008 14:26
Send private message

This is strange, I have a second line with WxC (it uses the same authid and secret, just a different number - 09 948 XXXX). I've managed to get the 09 366 XXXX number working now, but as soon as I change it to the 09 948 XXXX number, which has previously worked fine using the exact same login details (except the number itself) - everything stops working, and incoming calls don't even hit my network.

This leads me to believe that the VFX switch is caching some strange info about the 9948XXXX number, and isn't sending the calls to the right place. Perhaps someone from WxC could look into this for me? Pweaaaase? Laughing



maverick
3594 posts

Uber Geek

Trusted
WorldxChange

  #117053 17-Mar-2008 06:17
Send private message

All numbers are registered and look fine




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications

willnz

573 posts

Ultimate Geek

Trusted

  #117071 17-Mar-2008 08:44
Send private message

Hi Phil,

Will PM you :)

EDIT: Hmm, no looks like I wont since you don't accept PMs! Wink Do you mind if I email you details of an incoming call I just made to see if you can see what's happening to it? It went straight to VM, despite me being registered and everything ok. Didn't receive the call on my network at all - doesn't look like a single SIP message came through...

Thanks Laughing



joshp
205 posts

Master Geek

Trusted
WorldxChange

  #117086 17-Mar-2008 09:30
Send private message

Hi Willnz,

Just looking at your registration details and it appears that you are sending incorrect information.. this is what we have at our end for your registration:

URI : sip:77609xxxxxx@x.x.x.x:5060

I see in your post above that you are adding 7760 in your registration string:

register=>93660000:secret_goes_here:username_goes_here@as.wxcnz.net/776093660000

this should be /VFXNUMBER so register=>93660000:secret_goes_here:username_goes_here@as.wxcnz.net/9xxxxxxx

try updating this and see how you get on.

Cheers

Josh




willnz

573 posts

Ultimate Geek

Trusted

  #117090 17-Mar-2008 09:40
Send private message

Hi Josh,

Thanks - just tried and still no joy - though it shouldn't matter, that's just the local extension on my Asterisk server to forward the calls to.

Can you have a look and see if you can see what happened to the incoming call from 09 361 63XX to 09 366 61XX at around 9:39AM (and same again at 8:43AM) ? Still going straight to voicemail :(

Cheers :)
Will

joshp
205 posts

Master Geek

Trusted
WorldxChange

  #117093 17-Mar-2008 09:43
Send private message

Hi Will,

I have just cleared your registration, can you please re-register and try again.

Thanks

Josh




willnz

573 posts

Ultimate Geek

Trusted

#117095 17-Mar-2008 09:46
Send private message

Nope - still no luck on the 36661XX or 94899XX Yell (the other two numbers are forwarded to fax)

I certainly broke something Tongue out

 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
maverick
3594 posts

Uber Geek

Trusted
WorldxChange

  #117096 17-Mar-2008 09:47
Send private message

Will,

You have the wrong detail in your messages, the "contact field" see below is totally incorrect by you prefixing these digit's thats why it will register but not allow calls.




Timestamp     : 06:17:39.969 2008-03-17
Direction     : RX
Remote IP/Port: 60.xxx.xxx.133
Transport     : UDP
----------------------------------------
REGISTER sip:as.wxcnz.net SIP/2.0
Via: SIP/2.0/UDP 60.xxx.xxx.133:5060;branch=z9hG4bK3249e5eb;rport
From: <sip:995xxx9@as.wxcnz.net>;tag=as7d44288d
To: <sip:995xxx9@as.wxcnz.net>
Call-ID: 0cbf218e1255a9d66326af803128cf2a@192.168.80.50
CSeq: 332 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:7760995xxx9@60.xxx.xxx.133>
Event: registration
Content-Length: 0




Yes I am a employee of WxC (My Profile) ... but I do have my own opinions as well Wink

             

https://www.facebook.com/wxccommunications

joshp
205 posts

Master Geek

Trusted
WorldxChange

  #117099 17-Mar-2008 09:49
Send private message

Hi Will,

now your missing a 6 in your first number:

URI : sip:9366xxx@10.64.1.50:5060;transport=UDP Expiration : Mon Mar 17 20:42:59 NZST 2008

update the number and give it another shot :)

Cheers

Josh




willnz

573 posts

Ultimate Geek

Trusted

  #117100 17-Mar-2008 09:50
Send private message

Hi maverick,

As above it shouldn't make any difference (since it's just telling it what local extension on my asterisk server to route the call to) - but I don't know how your gear is configured so I've changed it to remove the prefix (does that show in your logs?) but still going straight to voicemail :(

willnz

573 posts

Ultimate Geek

Trusted

  #117102 17-Mar-2008 09:52
Send private message

Ahhh thanks Josh - much better! Cool

All working now - thanks guys! Laughing

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.