Hi you all,

I am trying to setup an IAX trunk to FWD. but the trunk seems not to
register. I check the configuration several times and they look fine. but it
always shows unreachable when i do "IAX2 show peers ".

the weird thing is the ip address of FWD is resolved and i can ping to it
from asterisk. however, it shows me 0.0.0.0 when i do "iax2 show registry"

my configuration is below

*[trunk2fwd]*
host=iax2.fwdnet.net
username=926984
secret=xxxxxx
type=peer
auth=md5
qualify=5000

*[callfromfwd]*
secret=xxxxxx
type=user
context=from-trunk
auth=rsa
inkeys=freeworlddialup

*register=926984:[EMAIL PROTECTED] <[EMAIL PROTECTED]>*

*trixbox1*CLI> iax2 show peer trunk2fwd *
trixbox1*CLI>

  * Name       : trunk2fwd
  Secret       : <Set>
  Context      :
  Mailbox      :
  Dynamic      : No
  Callerid     : "" <>
  Expire       : -1
  ACL          : No
  *Addr->IP     : 192.246.69.186 Port 4569*
  Defaddr->IP  : 0.0.0.0 Port 0
  Username     : 926984
  Codecs       : 0xe00e (gsm|ulaw|alaw)
  Codec Order  : (ulaw|alaw|gsm)
  Status       : UNREACHABLE
  Qualify      : every 60000ms when OK, every 10000ms when UNREACHABLE
(sample smoothing Off)

*trixbox1*CLI> iax2 show peers*
Name/Username    Host                     Mask
Port          *Status *
trunk2fwd/92698  192.246.69.186  (S)  255.255.255.255  4569          *
UNREACHABLE*

*trixbox1*CLI> iax2 show registry *
Host                  dnsmgr  Username    Perceived             Refresh
State
*0.0.0.0:4569*          N       926984      <Unregistered>             60
Unregistered

-- 
thank you

Patrick

Reply via email to