Register

Hello, I installed Asterisk 1.4 last night, and seemed to install okay. When I got up this morning my system worked just fine. I did see in the CLI it took a long time for my ViaTalk to register. Today I had to reboot my Cable Modem, and my local Extn’s work just fine and register with Asterisk. My ViaTalk however gets a “timed out, trying again.”.

I have a cable modem so my IP can change, is this a problem?

I have a registered mydns file that can follow this. Where in Asterisk would I put this "myname.mydns.org at?

Thank you

Looking at the viatalk web site I can’t see that you need to specify your external IP address. Are you behind a firewall using a NATed address for the actual Asterisk server?

If the external address goes anywhere it would be in sip.conf. See if there is a definition for “externip=”.

No, it is not behind a firewall. I contacted a friend that assisted me this weekend he made my linux box into the router.

We still have the issue both Gizmo Project Sip and ViaTalk will not register. As a matter of fact I can’t even get my phones to register with Asterisk internal. I re-booted all my phones and double checked their settings and access to asterisk.

Please take a look and see if I have a problem.

[general]
context=inbound-sip ; Default context for incoming calls
pedantic=no
nat=no
port=5060
bindport=5060
bindaddr=0.0.0.0
recordhistory=yes
disallow=all
allow=ulaw
allow=gsm
trustrpid=yes
dtmfmode=inband
relaxdtmf=yes
realm=asterisk

;
;; Gizmo
register => 17476464000:secret@proxy01.sipphone.com/1747*.*

;; Gizmo for Alex ;Direct Connection via Grand Central Numbers;;

register => 17476454102:secret@proxy01.sipphone.com/1747*.*
register => 17472619842:secret@proxy01.sipphone.com/1747*.*
register => 17472642135:secret@proxy01.sipphone.com/1747*.*

;; Viatalk Registration
register => 1260*.:mypassword@chicago-1e.vtnoc.net/1260.*

[viatalk]
type=peer
username=my number
fromuser=my number
authuser=my number
secret=my password
host=chicago-1e.vtnoc.net
fromdomain=chicago-1e.vtnoc.net
nat=no
qualify=yes
insecure=invite
dtmfmode=inband
dtmf=inband
disallow=all
allow=ulaw
context=inbound-sip
relaxdtmf=yes

[sipphone]
type=peer
secret=pass
username=gizmonumber
fromuser=gizmonumber
fromdomain=proxy01.sipphone.com
host=proxy01.sipphone.com
context=inbound-sip
disallow=all
allow=ulaw
allow=gsm
dtmfmode=rfc2833
insecure=invite
canreinvite=no
qualify=yes
;nat=yes

[3100]
type=friend
username=3100
secret=pass
host=dynamic
;auth=md5
callerid=“Berlin Slone” <3100>
context=home
mailbox=3100
reinvite=no
canreinvite=no
;nat=yes
disallow=all
allow=ulaw
allow=gsm
allow=speex
allow=h263
allow=h263p
dtmfmode=rfc2833
qualify=yes

[3101]
type=friend
username=3101
secret=pass
host=dynamic
;auth=md5
callerid=“Zonya Slone” <3101>
context=home
mailbox=3101
reinvite=no
canreinvite=no
;nat=yes
disallow=all
allow=ulaw
allow=gsm
allow=speex
allow=h263
allow=h263p
dtmfmode=rfc2833
qualify=yes

[3102]
type=friend
username=3102
secret=pass
host=dynamic
;auth=md5
callerid=“Andrew Slone” <3102>
context=home
mailbox=3102
reinvite=no
canreinvite=no
;nat=yes
disallow=all
allow=ulaw
allow=gsm
allow=speex
allow=h263
allow=h263p
dtmfmode=rfc2833
qualify=yes

[3103]
type=friend
username=3103
secret=pass
host=dynamic
;auth=md5
callerid=“Alex Slone” <3103>
context=home
mailbox=3103
reinvite=no
canreinvite=no
;nat=yes
disallow=all
allow=ulaw
allow=gsm
allow=speex
allow=h263
allow=h263p
dtmfmode=rfc2833
qualify=yes

[3104]
type=friend
username=3104
secret=pass
host=dynamic
;auth=md5
callerid=“Michael Slone” <3104>
context=home
mailbox=3104
reinvite=no
canreinvite=no
;nat=yes
disallow=all
allow=ulaw
allow=gsm
allow=speex
allow=h263
allow=h263p
dtmfmode=rfc2833
qualify=yes

[3105]
type=friend
username=3105
secret=pass
host=dynamic
;auth=md5
callerid=“Linksys Phone” <3105>
context=home
mailbox=3105
reinvite=no
canreinvite=no
nat=yes
disallow=all
allow=ulaw
allow=gsm
allow=speex
allow=h263
allow=h263p
dtmfmode=rfc2833
qualify=yes

[3106]
type=friend
username=3106
secret=pass
host=dynamic
;auth=md5
callerid=“Living Room” <3106>
context=home
mailbox=3106
reinvite=no
canreinvite=no
nat=yes
disallow=all
allow=ulaw
allow=gsm
;allow=speex
;allow=h263
;allow=h263p
dtmfmode=rfc2833
qualify=yes

So if your Asterisk box is running as a router do you have two network interfaces? If so which is the default gateway pointing to? It could be that you have a connection to the Internet but your default gateway is pointing to the other LAN interface. Can you ping either remote VoIP providers systems from the Asterisk box? Can you perform name lookups from the Asterisk box?

Okay that does sound like a good explanation, however my friend did that work for me via the internet and he is in the Army. I never know when I can reach him due to his services, and I understand I was in the Army from 1985-1990.

I been learning Asterisk and Linux and enjoy it, however I’m still a novice at best, and know about enough to mess things up.

So if you don’t mind how to I do this? I need fairly simple instructions. When I learn something new like this I print it off and file it. Thanks for helping me out.

I was brave enough to look and you were right.

The DNS was setup to the wrong router. It was still on the other router address. I changed it to this router and it took right off!

Thanks!