Actually port block is on softphone side and not on asterisk server&#39;s internet connection .I put this in iptables of asterisk server<br>iptables -t nat -A PREROUTING -i eth0 -p udp --dport 5091 -j REDIRECT --to-port <a href="http://127.0.0.1:5060">
127.0.0.1:5060</a><br><br>server is listening on port 5060<br>Now strange part is everything s working .. but asterisk is not detecting hangup . I make call on softphone .. call goes everything works fine but when i hang softphone .. i can see on asterisk that call is still going on .,... and this is not a problem of softphone i am sure of that :( 
<br><br><br><br><div><span class="gmail_quote">On 16/12/06, <b class="gmail_sendername">Anselm Martin Hoffmeister
</b> &lt;<a href="mailto:anselm@hoffmeister-online.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">anselm@hoffmeister-online.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Am Samstag, den 16.12.2006, 02:32 +0530 schrieb Vicky:<br>&gt; I have shifted asterisk port to 5091&nbsp;&nbsp;. Now i am able to register<br>&gt; properly using sjphone but still when dialing number it keep on<br>&gt; showing calling .. and do not go ahead . I change asterisk&#39;s rtp ports
<br>&gt; too but still i am unable to make call . My other softphone on<br>&gt; different internet isp is working properly . :(<br><br>Can your softphone reach a voicemail() extension, or echotest? Will that<br>work with audio in both directions?
<br><br>And then, I am not sure wether I understand your setup correctly. Are<br>you trying<br><br>Asterisk [portblocked line].... ISP..... Internet..... Softphone<br><br>? In that case, local tests like those mentioned above will help to rule
<br>out wether problems are on the internet part or possibly on a PRI or<br>whatever connected to your asterisk, over which you would like to dial<br>out.<br><br>BR<br>Anselm<br><br><br><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>