title: How to connect asterisk server (in LAN) to an external softphone?
body: <p>My asterisk is running in a LAN having local IP 192.168.1.8,broadcast address 192.168.1.255 and subnet mask 255.255.255.0.The external ip shown is 117.200.236.236 and port 59282 (using <a href="http://www.ipmango.com/" rel="nofollow">IPMANGO</a>). Its dynamic.</p>
  
  <p>I want to connect my mobile to asterisk.For that I use CSipSimple(android) as softphone and 3g service (BSNL,India)</p>
  
  <p>NOTE:If instead of running asterisk in LAN if I use a data card (direct access, no LAN) I am successfully able to register my softphone.</p>
  
  <p>I followed <a href="http://www.asteriskguru.com/tutorials/sip_nat_oneway_or_no_audio_asterisk.html" rel="nofollow">this tutorial</a> but it does not help.</p>
  
  <p><strong>sip.conf</strong></p>
  
  <pre><code>[1000abc]
  type=peer
  externip=117.200.236.236
  localnet=192.168.1.8/255.255.255.0
  nat=yes,true,y,t,1,on
  qualify=no
  allow=all
  udpbindaddr=0.0.0.0 
  bindaddr=0.0.0.0
  secret=mysecret
  host=dynamic
  context=incoming-call
  </code></pre>
  
  <p><strong>CSipSimple Basic Account</strong></p>
  
  <pre><code>Account name:myAccount
  Username:1000abc
  Server:117.200.236.236
  Password:mysecret
  </code></pre>
  
  <p>I have not made any change in <strong>rtp.conf</strong>.</p>