On 11/11/10 2:25 PM, Baha @ SH wrote:
> How can I run the sip service on asterisk on another port beside 5080?
>
> I mean asterisk will still take sip requests on port:5080 and another custom 
> port,
> lets say port:6080

you can only configure 1 listening port in sip.conf. however you
can use port forwarding on OS level to achieve that.

iptables -t nat -I PREROUTING -i <you incoming interface> -d <your IP addr> -p 
udp 
-m udp --dport 6080  -j DNAT --to-destination <your ip addr>:5060

p.s. the default SIP port is 5060.

-- 
Edwin Lam <[email protected]>
Systems Engineer, OfficeWyze, Inc.
Ph: +1 415 439 4988 Fax: +1 415 283 3370
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to