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

 
 
 

Shop now on AliExpress (affiliate link).
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



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 »

Logitech Introduces New G522 Gaming Headset
Posted 21-May-2025 19:01


LG Announces New Ultragear OLED Range for 2025
Posted 20-May-2025 16:35


Sandisk Raises the Bar With WD_BLACK SN8100 NVME SSD
Posted 20-May-2025 16:29


Sony Introduces the Next Evolution of Noise Cancelling with the WH-1000XM6
Posted 20-May-2025 16:22


Samsung Revelas Its 2025 Line-up of Home Appliances and AV Solutions
Posted 20-May-2025 16:11


Hisense NZ Unveils Local 2025 ULED Range
Posted 20-May-2025 16:00


Synology Launches BeeStation Plus
Posted 20-May-2025 15:55


New Suunto Run Available in Australia and New Zealand
Posted 13-May-2025 21:00


Cricut Maker 4 Review
Posted 12-May-2025 15:18


Dynabook Launches Ultra-Light Portégé Z40L-N Copilot+PC with Self-Replaceable Battery
Posted 8-May-2025 14:08


Shopify Sidekick Gets a Major Reasoning Upgrade, Plus Free Image Generation
Posted 8-May-2025 14:03


Microsoft Introduces New Surface Copilot+ PCs
Posted 8-May-2025 13:56


D-Link A/NZ launches DWR-933M 4G+ LTE Cat6 Wi-Fi 6 Mobile Hotspot
Posted 8-May-2025 13:49


Synology Expands DiskStation Lineup with DS1825+ and DS1525+
Posted 8-May-2025 13:44


JBL Releases Next Generation Flip 7 and Charge 6
Posted 8-May-2025 13:41









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.







Backblaze unlimited backup