|
You could probably use iptables (should already be installed on your
sipX box) to accomplish this. Use webmin (http://www.webmin.com
download and install the RPM) to set up iptables (networking->linux
firewall->allow all traffic) and then try adding/replacing the
following lines to the top of your /etc/sysconfig/iptables file: *nat :OUTPUT ACCEPT [0:0] :PREROUTING ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] -A PREROUTING -p udp -m udp -s ip.addr.of.cisco --dport 5060 -j REDIRECT --to-ports 5080 COMMIT where ip.addr.of.cisco is the IP address of your cisco device and restart iptables by running service iptables restart to make sure this survives a restart, run chkconfig iptables on Tony Graziano wrote: Additionally the alg on the cisco might cause an issue. Again, I don't think you can get there from here. ============================ Tony Graziano, Manager Telephone: 434.984.8430 Fax: 434.984.8431Email: [email protected] LAN/Telephony/Security and Control Systems Helpdesk: Telephone: 434.984.8426 Fax: 434.984.8427 Helpdesk Contract Customers: http://www.myitdepartment.net/gethelp/ ----- Original Message ----- From: [email protected] <[email protected]> To: Hiral Patel <[email protected]>; [email protected] <[email protected]>; Tony Graziano <[email protected]>; [email protected] <[email protected]> Cc: Dwayne Kee <[email protected]>; Gabor Paller <[email protected]>; [email protected] <[email protected]> Sent: Tue Feb 02 20:57:01 2010 Subject: Re: [sipx-users] SipXbridge 5060 and sipXpbx 5060 how? That is outside of my skill set, but I was advised against attempting something similar when I ran into the issue. We translate 5060 to 5080 on traffic from the Verizon SBC. That has worked fine for us. They were not able to alter the port for a particular customer either. Sent via BlackBerry from T-Mobile -----Original Message----- From: "Hiral Patel" <[email protected]> Date: Wed, 3 Feb 2010 01:46:12 To: <[email protected]>; <[email protected]>; Tony Graziano<[email protected]>; <[email protected]> Cc: Dwayne Kee<[email protected]>; Gabor Paller<[email protected]>; <[email protected]> Subject: RE: [sipx-users] SipXbridge 5060 and sipXpbx 5060 how? Thanks for your input, and that is my option two - the Cisco router which terminates the SIP trunk has feature called ALG (application level gateway) running to handle NAT from LAN to WAN. I don't want to break that, I may test this and see what happens. Do you know if my original suggestion will work? If not why? Hiral Patel, Operations Manager OnRelay Elizabeth House | 39 York Road, London SE1 7NQ, UK | +44 (0) 2079028138| [email protected] | www.onrelay.com | This electronic message transmission contains information from OnRelay, Ltd., that may be confidential or privileged. The information is intended solely for the recipient and use by any other party is not authorised. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information or any attachment, is prohibited. If you have received this electronic transmission in error, please notify us immediately by electronic mail ([email protected]) and delete this message, along with any attachments, from your computer. Registered in England No 04006093 | Registered Office 1st Floor, 236 Gray's Inn Road, London WC1X 8HL -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: 03 February 2010 12:42 To: Hiral Patel; [email protected]; Tony Graziano; [email protected] Cc: Dwayne Kee; Gabor Paller; [email protected] Subject: Re: [sipx-users] SipXbridge 5060 and sipXpbx 5060 how? If you have control of the LAN, ca you add a router that can do a port translation? I had a similar issue. Sent via BlackBerry from T-Mobile -----Original Message----- From: "Hiral Patel" <[email protected]> Date: Wed, 3 Feb 2010 01:37:16 To: Tony Graziano<[email protected]>; <[email protected]> Cc: Dwayne Kee<[email protected]>; Gabor Paller<[email protected]>; <[email protected]> Subject: Re: [sipx-users] SipXbridge 5060 and sipXpbx 5060 how? Hey Tony, Thanks for replying so fast, I can not get a new ITSP unfortunately so I have to find a solution! I should have mentioned that the SIP trunk I have is a dedicated WAN link into the Tier 1 Operator network the network side is connect to a Acme Packet SBC (its like a standard product they have so they are not able to make an configure change without months of planning and risk analysis. And sending port is definitely a no no anyway! I have full control over the LAN but the problem is I can not change the incoming port from the trunk as mentioned, I would like to understand why my proposed solution will not work, can you please help with that? On paper it seems very straight forward, so from your input I will adjust my design systematically until I come to the perfect solution which fits my requirements. Regards, Hiral Patel, Operations Manager OnRelay Elizabeth House | 39 York Road, London SE1 7NQ, UK | +44 (0) 2079028138| [email protected] | www.onrelay.com | This electronic message transmission contains information from OnRelay, Ltd., that may be confidential or privileged. The information is intended solely for the recipient and use by any other party is not authorised. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information or any attachment, is prohibited. If you have received this electronic transmission in error, please notify us immediately by electronic mail ([email protected]) and delete this message, along with any attachments, from your computer. Registered in England No 04006093 | Registered Office 1st Floor, 236 Gray's Inn Road, London WC1X 8HL -----Original Message----- From: Tony Graziano [mailto:[email protected]] Sent: 03 February 2010 12:22 To: Hiral Patel; [email protected] Cc: Dwayne Kee; Gabor Paller; [email protected] Subject: Re: [sipx-users] SipXbridge 5060 and sipXpbx 5060 how? Your best option is to get a new itsp. Then use a real firewall, your hands are REALLY tied. You would have to run 2 instances of sipxbridge with 2 different public ip addresses (one for remote users, the other for trunking). Since that means firewall changes you can't make, you are STUCK. Fire the ITSP, then the incapable firewall manager and get REAL replacements. Plainly said, you can't get there from here. Good luck. ============================ Tony Graziano, Manager Telephone: 434.984.8430 Fax: 434.984.8431 Email: [email protected] LAN/Telephony/Security and Control Systems Helpdesk: Telephone: 434.984.8426 Fax: 434.984.8427 Helpdesk Contract Customers: http://www.myitdepartment.net/gethelp/ ----- Original Message ----- From: [email protected] <[email protected]> To: M. Ranganathan <[email protected]> Cc: Dwayne Kee <[email protected]>; Gabor Paller <[email protected]>; [email protected] <[email protected]> Sent: Tue Feb 02 20:16:01 2010 Subject: [sipx-users] SipXbridge 5060 and sipXpbx 5060 how? Hello All, Purpose: Need to enable SipXecs bridge to solve lack of REFER support on SIP trunk. Problem: 1. SIP trunk provider has very strict rules about changing any configuration on any component that they manage. The SIP trunk comes with a Cisco 2801 router which is managed by the Operator and the port they signal on is 5060, this is a problem because all requests from the trunk are bypassing SipXecs bridge which listens on port 5080 therefore REFER can not be influenced. 2. SIP trunk Operator will not change port on trunk 3. SIP trunk Operator will not change config on Router, so I can not do any NAT as recommended here: http://sipx-wiki.calivia.com/index.php/SIP_Trunking_with_sipXecs:_Overvi ew_and_Configuration#2._Configure_SipXbridge 4. Do not want to change SipXecs internal port to some else, sounds dangerous and messy 5. Do not want to try another sip trunk provider My solution to the problem: (please provide feedback and answer my question below) 1. Configure two physical sipX components (a) sipXbridge(only) IP Add: 192.168.0.1 Port 5060 (b) sipXpbx(proxy) IP add: 192.168.0.99 port 5060 2. Configure (b) sipXpbx with provider gateway address 123.123.123.234 3. Configure (b) sipXpbx with route under gateway config to SipXbridge(a)IP add: 192.168.0.1 4. Configure SipXbridge (a) to receive/send signalling from provider gateway and pass to/from (b) sipXpbx Questions: 1. Will this solve my problems? 2. is my suggestion possible? 3. if so, how do I configure sipXbridge? 4. if so, are there any draw backs that you are aware of by implementing this design? Your help would be much appreciated. Regards Hiral Patel, Operations Manager OnRelay Elizabeth House | 39 York Road, London SE1 7NQ, UK | +44 (0) 2079028138| [email protected] | www.onrelay.com | This electronic message transmission contains information from OnRelay, Ltd., that may be confidential or privileged. The information is intended solely for the recipient and use by any other party is not authorised. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information or any attachment, is prohibited. If you have received this electronic transmission in error, please notify us immediately by electronic mail ([email protected]) and delete this message, along with any attachments, from your computer. Registered in England No 04006093 | Registered Office 1st Floor, 236 Gray's Inn Road, London WC1X 8HL -----Original Message----- From: M. Ranganathan [mailto:[email protected]] Sent: 27 January 2010 05:20 To: Hiral Patel Cc: [email protected] Subject: Re: [sipx-users] How to map external 5060 to internal 5080 On Tue, Jan 26, 2010 at 12:41 PM, Hiral Patel <[email protected]> wrote: |
_______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users sipXecs IP PBX -- http://www.sipfoundry.org/
