[asterisk-users] Different Networks

Mike Hammett asterisk-users at ics-il.net
Thu Sep 13 07:23:44 CDT 2007


"That server traceroutes out that interface."

Yes, I can lynx to google.com.

Braxis*CLI> iax2 reload
  == Parsing '/etc/asterisk/iax.conf': Found
       > doing dnsmgr_lookup for '208.100.1.33'
       > doing dnsmgr_lookup for '208.100.1.33'
  == Parsing '/etc/asterisk/users.conf': Found
  == Loaded firmware 'iaxy.bin'
  == Parsing '/etc/asterisk/iaxprov.conf': Found
    -- Loaded provisioning template 'default'
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
REGREQ
   Timestamp: 00017ms  SCall: 00002  DCall: 00000 [208.100.1.33:4569]
   USERNAME        : rwestics
   REFRESH         : 60

Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX     Subclass: 
REGREQ
   Timestamp: 00017ms  SCall: 00003  DCall: 00000 [208.100.1.33:4569]
   USERNAME        : ottos
   REFRESH         : 60

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: ACK
   Timestamp: 00017ms  SCall: 00009  DCall: 00002 [208.100.1.33:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
REGAUTH
   Timestamp: 00009ms  SCall: 00009  DCall: 00002 [208.100.1.33:4569]
   AUTHMETHODS     : 3
   CHALLENGE       : 29638146
   USERNAME        : rwestics

Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: 
REGREQ
   Timestamp: 00035ms  SCall: 00002  DCall: 00009 [208.100.1.33:4569]
   USERNAME        : rwestics
   REFRESH         : 60
   MD5 RESULT      : 1c113a5aaa20100f2c864544b892fea3

Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: ACK
   Timestamp: 00017ms  SCall: 00013  DCall: 00003 [208.100.1.33:4569]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 001 Type: IAX     Subclass: 
REGAUTH
   Timestamp: 00010ms  SCall: 00013  DCall: 00003 [208.100.1.33:4569]
   AUTHMETHODS     : 3
   CHALLENGE       : 43340858
   USERNAME        : ottos

Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 001 Type: IAX     Subclass: 
REGREQ
   Timestamp: 00036ms  SCall: 00003  DCall: 00013 [208.100.1.33:4569]
   USERNAME        : ottos
   REFRESH         : 60
   MD5 RESULT      : 4d18ad3b06bc96496f59655367093ecf

Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: ACK
   Timestamp: 00035ms  SCall: 00009  DCall: 00002 [208.100.1.33:4569]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: 
REGACK
   Timestamp: 00036ms  SCall: 00009  DCall: 00002 [208.100.1.33:4569]
   USERNAME        : rwestics
   DATE TIME       : 2007-09-13  07:00:54
   REFRESH         : 60
   APPARENT ADDRES : IPV4 24.14.116.22:4569
   CALLING NUMBER  : 8159092441
   CALLING NAME    : West and Associates

    -- Registered IAX2 to '208.100.1.33', who sees us as 24.14.116.22:4569 
with no messages waiting

Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: ACK
   Timestamp: 00036ms  SCall: 00002  DCall: 00009 [208.100.1.33:4569]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: ACK
   Timestamp: 00036ms  SCall: 00013  DCall: 00003 [208.100.1.33:4569]
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 002 Type: IAX     Subclass: 
REGACK
   Timestamp: 00040ms  SCall: 00013  DCall: 00003 [208.100.1.33:4569]
   USERNAME        : ottos
   DATE TIME       : 2007-09-13  07:00:54
   REFRESH         : 60
   APPARENT ADDRES : IPV4 24.14.116.22:4569
   CALLING NUMBER  : 8157582715
   CALLING NAME    : Ottos Nightclub

    -- Registered IAX2 to '208.100.1.33', who sees us as 24.14.116.22:4569 
with no messages waiting

Tx-Frame Retry[-01] -- OSeqno: 002 ISeqno: 002 Type: IAX     Subclass: ACK
   Timestamp: 00040ms  SCall: 00003  DCall: 00013 [208.100.1.33:4569]
Braxis*CLI> iax2 no debug
IAX2 Debugging Disabled
The 'iax2 no debug' command is deprecated and will be removed in a future 
release. Please use 'iax2 set debug off' instead.
Braxis*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
rwestics         (Unspecified)   (D)  255.255.255.255  0 
Unmonitored
rwest1/rwest1    (Unspecified)   (D)  255.255.255.255  0 
Unmonitored
224/224          (Unspecified)   (D)  255.255.255.255  0 
Unmonitored
ics/ottos        (Unspecified)   (D)  255.255.255.255  0             UNKNOWN
4 iax2 peers [0 online, 1 offline, 3 unmonitored]



That's what happens after I do a iax2 show peers.  So apparently calls are 
coming in, but showing the peers isn't bringing up any IP addresses.  I can 
also make outbound calls.

So...  apparently Asterisk is working except for the servers aren't showing 
up in the peer list.




-----
Mike Hammett
Intelligent Computing Solutions
http://www.ics-il.com


----- Original Message ----- 
From: "Erik Anderson" <erikerik at gmail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Wednesday, September 12, 2007 12:44 PM
Subject: Re: [asterisk-users] Different Networks


> On 9/7/07, Mike Hammett <asterisk-users at ics-il.net> wrote:
>> If it has nothing to do with Asterisk, then why does every other device 
>> work
>> as its supposed to?
>
> You never answered as to whether or not you're able to get out past
> your gateway with any other network applications on your asterisk
> server.  Fire up [links/lynx] and pull up www.google.com.  Does it
> work?
>
> _______________________________________________
>
> Sign up now for AstriCon 2007!  September 25-28th. 
> http://www.astricon.net/
>
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 




More information about the asterisk-users mailing list