article.voiper.org

Custom Search
VoIPer Article>>>VoIP Software>>Asterisk on root server

Custom Search

Asterisk on root server


2010-09-07
 
Nextiva is a cloud based VoIP phone system, hosting lots of small and medium sized businesses nationwide. the provides UNLIMITED business calling for only $19.95 a month!! Click here for the detail about this promotion!!

Rear one,
I installed server Asterisk on my root.
Only I do not come simply with X-Lite drauf. I always get the error 408

On my Home server with the same conf runs it without problems.

What can I make?

My confs:
Code:
extensions.conf
[default] 
exten => 1,1, dial (SIP/1,20)
 exten => 1,2, VoiceMail (1, u)

 exten => 2,1, dial (SIP/2,20)
 exten => 2,2, VoiceMail (2, u)

 exten => 9,1, VoiceMailMain ($ {CALLERID (num)}, s)

sip.conf
[general] 
port=5060 
bindaddr= 0.0.0.0 

[1] 
type=friend 
secret=1234 
host=dynamic

 [2] 
type=friend 
secret=1234 
host=dynamic

I could eingrenssen the problem.

My server has two IP's. But only one can in the correct network.
Asterisk tries to go however over these IP.

that spends with ngrep:
Code:
U 89.52.88.*: 51001 -> 87.98.183.*: 5060
  REGISTERS sip: 87.98.183.* SIP/2.0. Via: SIP/2.0/UDP 192.168.178.*: 51001; b
  ranch=z9hG4bK-d8754z-2528ed7df97ad360-1--d8754z; rport. Max Forwards: 70..
    Contact: <sip: 1@192.168.178.*: 51001; rinstance=18a1da5ae939afc3>. Ton: “1”< s
  IP: 1@87.98.183.*>. From: “1”< sip: 1@87.98.183.*>; tag=9024761b. Call ID:
    NWM3YTc2MTIxMjVlMjM4NzFiYmM4NDRiNTE5ODE0MmE… CSeq: 1 REGISTER. Expires: 36
  00. Allow: INVITE, ACK, cancel, OPTION, BYE, REFER, NOTIFY, MESSAGE, SUBSC
  WOULD RUB, info. user agent: X-Lite release 1100l stamp 47546. Content length: 0
  ….
#
 U 91.121.202.*: 5060 -> 192.168.178.*: 51001
  SIP/2.0 100 Trying. Via: SIP/2.0/UDP 192.168.178.*: 51001; branch=z9hG4bK-d8
  754z-2528ed7df97ad360-1--d8754z; received=89.52.88.*; rport=51001. From: “
  1 "< sip: 1@87.98.183.*>; tag=9024761b. Ton: “1”< sip: 1@87.98.183.*>. Call ID
  : NWM3YTc2MTIxMjVlMjM4NzFiYmM4NDRiNTE5ODE0MmE… CSeq: 1 REGISTER. User Agen
  t: Asterisk PBX. Allow: INVITE, ACK, CANCEL, OPTION, BYE, REFER, SUBSCRIBE
  , NOTIFY. Supported: replaces. Contact: <sip: 1@91.121.202.*>. Content Len
  gth: 0....

OK ONE. I also solved the problem.

Next problem.
it tries to answer to my Netwzerk IP and not to my Internet IP.

For what do I have to change thereby my Internet IP take?
Place times the appropriate SIP Peers on “nat=yes”
it functioned, thanks you!
article.voiper.org
   Copyright@2010   Sitemap