[asterisk-users] Iptables rule help

Vicky vicky.r at gmail.com
Fri Dec 15 16:52:03 MST 2006


Actually port block is on softphone side and not on asterisk server's
internet connection .I put this in iptables of asterisk server
iptables -t nat -A PREROUTING -i eth0 -p udp --dport 5091 -j REDIRECT
--to-port 127.0.0.1:5060

server is listening on port 5060
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 :(



On 16/12/06, Anselm Martin Hoffmeister <anselm at hoffmeister-online.de> wrote:
>
> Am Samstag, den 16.12.2006, 02:32 +0530 schrieb Vicky:
> > I have shifted asterisk port to 5091  . Now i am able to register
> > properly using sjphone but still when dialing number it keep on
> > showing calling .. and do not go ahead . I change asterisk's rtp ports
> > too but still i am unable to make call . My other softphone on
> > different internet isp is working properly . :(
>
> Can your softphone reach a voicemail() extension, or echotest? Will that
> work with audio in both directions?
>
> And then, I am not sure wether I understand your setup correctly. Are
> you trying
>
> Asterisk [portblocked line].... ISP..... Internet..... Softphone
>
> ? In that case, local tests like those mentioned above will help to rule
> out wether problems are on the internet part or possibly on a PRI or
> whatever connected to your asterisk, over which you would like to dial
> out.
>
> BR
> Anselm
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061215/438d349f/attachment.htm


More information about the asterisk-users mailing list