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.




894 posts

Ultimate Geek

Subscriber

# 20385 24-Mar-2008 18:36
Send private message

Figured I was doing something dumb on my vanilla asterisk box so I've temporarily setup trixbox on an old laptop but still cant get things to work.

Making calls outwards is fine but inbound dont work work I get the following whenever I try and register (where MyVFXNumber = without leading 0)
:

Reliably Transmitting (NAT) to 58.28.20.150:5060:
REGISTER sip:as.wxcnz.net SIP/2.0
Via: SIP/2.0/UDP LANIP:5060;branch=z9hG4bK21ef4d27;rport
From: <sip:register=MyVFXNumber@as.wxcnz.net>;tag=as753146ae
To: <sip:register=MyVFXNumber@as.wxcnz.net>
Call-ID: 19bca31c54183f097dc38d0837cdefa6@127.0.0.1
CSeq: 102 REGISTER
User-Agent: Asterisk PBX
Max-Forwards: 70
Expires: 120
Contact: <sip:MyVFXNumber@LANIP>
Event: registration
Content-Length: 0


---

<--- SIP read from 58.28.20.150:5060 --->
SIP/2.0 404 Not found
From: <sip:register=MyVFXNumber@as.wxcnz.net>;tag=as753146ae
To: <sip:register=MyVFXNumber@as.wxcnz.net>;tag=1429232167-1206335151738
Call-ID: 19bca31c54183f097dc38d0837cdefa6@127.0.0.1
CSeq: 102 REGISTER
Via: SIP/2.0/UDP LANIP:5060;received=MyPubStaticIP;rport=5060;branch=z9hG4bK                                    21ef4d27
Content-Length: 0


<------------->
--- (7 headers 0 lines) ---
Really destroying SIP dialog '19bca31c54183f097dc38d0837cdefa6@127.0.0.1' Method                                    : REGISTER


sip show registry produces:
as.wxcnz.net:5060               register=995       120 Request Sent

Any ideas?



Create new topic
28263 posts

Uber Geek

Moderator
Trusted
Biddle Corp
Lifetime subscriber

  # 118428 24-Mar-2008 18:52
Send private message

Do incoming calls hit your Asterisk box or go to VFX voicemail?

Do you have an incoming route set to a valid extension/group/IVR menu?



894 posts

Ultimate Geek

Subscriber

  # 118433 24-Mar-2008 19:32
Send private message

I've kept it simple with my routes any inbound call goes to my  extension.

The call goes straight to voicemail if I enable voicemail on my VFX account.


 
 
 
 


39 posts

Geek


# 118603 25-Mar-2008 18:01
Send private message

I'm no expert on Asterisk, so I may be miles out on this one.. but in your snipit you have

Contact: <sip:MyVFXNumber@LANIP>

I believe this should actually be
 
Contact: <sip:MyVFXNumber@WANIP>

I seem to remember I had to put my real world IP in my sip.conf file as Asterisk is behind a NAT router. Whilst on the subject of Routers, have you set your's up to port forward 5060 TCP/UDP and 10000-20000 UDP to go to the LAN IP of your Asterisk box?

Hope that's of some help.



894 posts

Ultimate Geek

Subscriber

  # 118613 25-Mar-2008 18:52
Send private message

jedney: I'm no expert on Asterisk, so I may be miles out on this one.. but in your snipit you have


No such thing as a bad response :)

Regarding WAN IP I thought about that but... I thought the line:

Reliably Transmitting (NAT)  meant it should be fine?

I might define the PUB IP Address anyway (it is static).

Rob

22510 posts

Uber Geek

Trusted
Subscriber

  # 118614 25-Mar-2008 18:57
Send private message

For me to get asterisk to woerk with 2talk I had to put my wan ip in the sip config meaning I needed a static IP address. other providers worked ok with the wrong ip in there since clearly they ignored the ip in the payload.

Would be nice if they would get stun support in asterisk when running as a client since you cant always guarentee a 1:1 incoming port mapping in anycase when behind nat, but sadly it seems that asterisk developmenet is at a snails pace.




Richard rich.ms



894 posts

Ultimate Geek

Subscriber

  # 118622 25-Mar-2008 20:27
Send private message

Ok this time pub ip is in the sip register command but same difference :(

Double checked my firewall rules look right on the openwrt:
UDP ports 10000:20000 forwarded to asterisk box
UDP ports 5060:5082 forwarded to asterisk box
TCP Port 5060 forwarded to asterisk (probably not required).



894 posts

Ultimate Geek

Subscriber

  # 118657 25-Mar-2008 22:32
Send private message

Got it sorted, not sure what it was now, setup asterisk again still had a problem then powered off everything (openwrt router, dsl modem, switch etc..) things work now so really not sure what it was should have tried that earlier I guess!

Create new topic



Twitter and LinkedIn »



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:





News »

Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36


MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28


Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15


D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31


Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29


Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24


Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59


Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07


Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02


Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41


Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36


2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17


Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46


Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51


Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.