Reply
New Member
Posts: 28
Registered: ‎08-01-2017
Kudos: 1
Solutions: 1
Accepted Solution

Edgerouter X for SIP trunks

I'm having some issues with SIP trunks on this router

 

Could someone take a look at the database and see if we did anything wrong ?

 

Really appreciate the help.

 

Max

Attachment

Accepted Solutions
Member
Posts: 276
Registered: ‎07-30-2013
Kudos: 55
Solutions: 14

Re: Edgerouter X for SIP trunks

If you have your pbx configured with static IP's, I would still reserve them in your DHCP Servers staticMAC/IP mapping section

I loaded your configuration in my lab and will try to simulate your issue since I don't have a samsung system

View solution in original post


All Replies
Senior Member
Posts: 5,688
Registered: ‎01-04-2017
Kudos: 794
Solutions: 284

Re: Edgerouter X for SIP trunks

did you disable SIP helper module?

 

set system conntrack modules sip disable
New Member
Posts: 28
Registered: ‎08-01-2017
Kudos: 1
Solutions: 1

Re: Edgerouter X for SIP trunks

Yes

Established Member
Posts: 1,362
Registered: ‎07-07-2014
Kudos: 286
Solutions: 90

Re: Edgerouter X for SIP trunks

[ Edited ]

@phonemax wrote:

I'm having some issues with SIP trunks on this router

 

Could someone take a look at the database and see if we did anything wrong ?

 

Really appreciate the help.

 

Max


It's difficult to help if we don't know the specific problems you are having Man Happy  Please be as detailed as possible.

 

Otherwise, the only thing that stands out in your config is that you are running a very old firmware version

 

/* Release version: v1.7.1.4821926.151103.1114 */

 

Update to 1.10.5 and also describe your problems in great detail!

New Member
Posts: 28
Registered: ‎08-01-2017
Kudos: 1
Solutions: 1

Re: Edgerouter X for SIP trunks

Incoming SIP trunk calls are staticy and disconnect randomly.

 

Established Member
Posts: 1,362
Registered: ‎07-07-2014
Kudos: 286
Solutions: 90

Re: Edgerouter X for SIP trunks


@phonemax wrote:

Incoming SIP trunk calls are staticy and disconnect randomly.

 


When did the problem start, when you put in this Router?  Are you truly hearing static? That's a fairly uncommon VoIP complaint, static often comes from physical problems like a bad curly cord, or if you are transforming the VoIP lines into Analog (POTS) lines.

 

Outgoing SIP trunk calls do not have this problem, nor do they disconnect randomly? Only inbound calls?

 

I can see you have port forwardings to an IP address that is in the middle of your DHCP pool, might there be a conflict there?

New Member
Posts: 28
Registered: ‎08-01-2017
Kudos: 1
Solutions: 1

Re: Edgerouter X for SIP trunks

We're going back and forth with the carrier.

It's a straight in internet connection on Fios

Cust has 5 static IP

We're using one static IP exclusively

No DHCP conflict, only our 2 connections to router.

ALG disabled

Yesterday we were told, incoming OK and outgoing dropping calls.

We're not getting enough detail from cust to properly troubleshoot.

We're relatively new to Ubiquiti but had heard about their reliability and solid performance

 

Simply put, we have one wan connection and 2 lan connections

All we're doing is port forwarding of a number of ports to 2 diff internal IP addresses, most port to one, a range of ports to the other. That's it.  That's all that's on this router / network.

 

The Edgerouter X is clearly very powerful and we're not even straining it's capability..

It's a case of not knowing the router well and being unsure of any defaults that may be screrwing us up.

 

Hence we added the DB to our first message.

We can certainly do an upgrade if that's advised.

We're jusst looking for wiser eyes to look at our setup and see if there's anything grossly wrong.

 

 

Member
Posts: 276
Registered: ‎07-30-2013
Kudos: 55
Solutions: 14

Re: Edgerouter X for SIP trunks

What type of phone server?

If on premise, I would start with a basic router configuration, disable SIP ALG, and all port forwarding.

Expand the configuration after you get the trunks working.

I've got many Asterisk systems installed without  having to do port forwarding.

New Member
Posts: 28
Registered: ‎08-01-2017
Kudos: 1
Solutions: 1

Re: Edgerouter X for SIP trunks

It's a Samsung OS 7200 system

 

Ports 5003, 5090-5091 are used for admin

Ports 6001-6002 are used for voicemail admin

Port 21 for log files

Port 5060-5061 for SIP trunking

Ports 30000-30031 for media gateway interface ( ip-> digital )

 

Don't see how we could do this without port forwarding

 

I suppose we can use NAT rules on the firewall but doesn't that amount to the same thing ?

New Member
Posts: 28
Registered: ‎08-01-2017
Kudos: 1
Solutions: 1

Re: Edgerouter X for SIP trunks

What do you mean by "expand the configuration" ?

Established Member
Posts: 1,362
Registered: ‎07-07-2014
Kudos: 286
Solutions: 90

Re: Edgerouter X for SIP trunks

Is your problem related to this post:

 

https://community.ubnt.com/t5/EdgeRouter/EdgeRouter-X-using-SIP-trunks-for-PBX-Frustrated/m-p/238049...

 

Where you marked your own reply as solution Man Happy

New Member
Posts: 28
Registered: ‎08-01-2017
Kudos: 1
Solutions: 1

Re: Edgerouter X for SIP trunks

Diferent site

Member
Posts: 123
Registered: ‎10-02-2015
Kudos: 13
Solutions: 6

Re: Edgerouter X for SIP trunks

[ Edited ]

Are you on a MetroE or a standard Fiber Connection?

 

I had 2 issues. With MetroE.  I had to stop using regestration and went with IP auth.   This sloved the issue there.

 

A a standard Fiber SIte.  I had a dirty Fiber end.  They had to clean my fiber ends.

 

 

Also I suggest using QOS.   ALso what RTP Ports are you using with the Trunk. You need these for the Voip "Voice" to travel.

Member
Posts: 276
Registered: ‎07-30-2013
Kudos: 55
Solutions: 14

Re: Edgerouter X for SIP trunks

Add your additional rules, one at a time insuring that the trunk still works

Member
Posts: 276
Registered: ‎07-30-2013
Kudos: 55
Solutions: 14

Re: Edgerouter X for SIP trunks

How is the media gateway interface connected

Highlighted
New Member
Posts: 28
Registered: ‎08-01-2017
Kudos: 1
Solutions: 1

Re: Edgerouter X for SIP trunks

Verizon Fios

Member
Posts: 123
Registered: ‎10-02-2015
Kudos: 13
Solutions: 6

Re: Edgerouter X for SIP trunks

[ Edited ]

How is the TCP/UDP specified in the port foward?,

 

Do you have off-premise phones  (remote phones)??  If you don't.  You may not need to open any outside ports.  Any open ports could have the voip hackers trying to login to your system. 

New Member
Posts: 28
Registered: ‎08-01-2017
Kudos: 1
Solutions: 1

Re: Edgerouter X for SIP trunks

As a rule we set all ports to both TCP and UDP

 

None of which has anything to do with my original question which was 

"Is my router set up correctly" ? 

New Member
Posts: 28
Registered: ‎08-01-2017
Kudos: 1
Solutions: 1

Re: Edgerouter X for SIP trunks

The MGI ( media gateway interface ) is simply a device connected to a lan port on the router 

Member
Posts: 123
Registered: ‎10-02-2015
Kudos: 13
Solutions: 6

Re: Edgerouter X for SIP trunks

[ Edited ]

If you can post a text file or a screenshot with the "show configuration" of the router (when you ssh with putty or cli in router)  It be much more helpful and safe.

 

I don't have a ERX on standby to upload your config to review. So a show configurtaion like in this photo will be real helpful 

 

 Thanks

SSH.JPG
Reply