• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

VOIP provider connection drops after a few minutes

Status
Not open for further replies.

edelcom

Joined
Jan 22, 2009
Messages
4
Reaction score
0
We have 5 voip accounts to the same provider, all with different numbers assigned to.
If we register them they're ok but after a few minutes, the connection drops, if we use only 1, it stays online.
If we use the same accounts from our voip snom-320 directly, it works (1 per phone).

We can not get our VOIP provider to work with DID because their system requires 3 logon fields (endpoint, userid and password).
We can add DIDs on the provider endpoint, but then the supplied called number is always the main account number, never the DID.
they could fix it by using authentication by IPaddress, but that's not supported by 3cx,I think.
 
Hi

It is possible that the provider is not liking multiple SIP registrations from the same IP. It woudl be far better to get 1 account with the other numbers as DID. Can this be done?

There are various things to look at here. Firstly if you have various accounts with the same provider lets concentrate on 1 of them. Ensure you have a DID set on this account also.

Did you add the DID number in the VOIP Provider > DID tab, and also in the 'Source identification by DID' field? If not please do so and retry.

If the issue persists, please advise the VOIP Provider name and any specific registration info and SIP parameter requirements they have. Also, while the line is registered can you make and receive calls?
 
It is ipness from belgium +32 3 301 01 01.

They work as follows:

The user gets an account (or userid) for billing purposes, this account is alphanumeric.
The you have your phone number (endpoint) and a password.
Because 3cx does not support 3 logon fields, the userid has to be the endpoint (that works, no problem)

on that endpoint you can put DID numbers, but the did-field supllied is always the endpoint. They can not send the did number. (tried it, and in the logs we always get the same endpoint number as did)

If you want dids in their configuration you should get multiple endpoints on the same account,with different logins.
the better config would be "authentication by ipaddress",



When the line is registered, we can make.receive calls. No problem there.
 
Hi

The only way forward on this would be to have a test account to look at this in test lab.

Can you provide such an account and any technical / configuration supplied by the provider. The test account shoudl not be registered from any other location.
 
I assume by "authentication by IP address" you just mean a generic sip trunk without any registration. If you setup your procider as a generic SIP trunk then registration will be set to NEVER. So long as you have a static WAN IP, they could effectively restrict you by IP address.

Does that help you?

Mike
 
I am with Mike on this, it looks like the VoIP provider might see mutliple registration requests as "attack".

This might explain why the calls get dropped, as part of the call checks are made if you are still registered. Something like "hello, are you still there?" every so many seconds (believe it was around 30 or so).

H.
 
Hi,

I am having this same issue. I am completely new to this application so bare with me. I have three numbers from Sipgate.co.uk and have been previously using them all without issue on my Cisco 7960G IP phone (for the last 3 years) I registered them with the 3CX system and all appeared to be good until I received my first call and exactly 20 seconds in I lose incoming audio although the line stays active for another 10 seconds and the other caller can still hear me and then the line goes dead.

I removed two of the registered lines leaving just one line but the same thing still happens. I set the line up to ring at an extension number directly on my Cisco phone. So everything is working, I can dial out receive calls, everything except the call drops after 30 secs.

Can someone explain the DID purpose fully?
 
We can not get our VOIP provider to work with DID because their system requires 3 logon fields (endpoint, userid and password).
We can add DIDs on the provider endpoint, but then the supplied called number is always the main account number, never the DID.
they could fix it by using authentication by IPaddress, but that's not supported by 3cx,I think.

Authentication by Ip address is essentially a trunk as worksighted described. In fact this requires no authentication because as the name implies, they validate your account on the basis of your public IP address. Therefore it has to be a static IP. Otherwise you will be heading into management nightmares with a dynamic IP. Hence they know that its you based on the request sent. If they match user id and public IP you specified in initial setup, they will authorize the call. If no they will reject. If you register your provider from home, they will reject - this is one of the drawbacks trunks have. Yes we support trunks. However I think that even the other option (the one you have at the moment) may work. When you have 3 pieces of information, it is very common that the endpoint and the user id are the same. Is this the case? They should not be using the endpoint for authorization purposes. It is common practice to only use User id and Password.

I would try and see if there is a tweak on the voip provider account's web interface to see if the endpoint can be masked with the other DID's you have. This is per provider - not all support it. But usually there are cases where you can dial a DID and the routing between the main number and the DID will be done at the provider's switches instead by 3CX. On incoming they will merge and use association of phone numbers by account. If the provider is really flexible, they will keep the DID number in the "To" part for example (instead of substituting it with the main number) and you will be able to route it based on source id/did matching to where you want it.

I am interested in the Sipgate problem reported isyman.

A small clarification : If the call is dropping after 30 seconds this is not related to DID issues. I can explain the DID concept but it is definitely not the cause of this problem. This is happening because ACK is not received. To troubleshoot this you will need to get hold of a register packet and its ok first and we analyze it. Sipgate are not receiving Acknowledgment of call setup (even though the call has been initiated and you are currently talking). If this is not received in a timely fashion (30-32 sec) they drop the call because in voip, a missing ACK after 200 OK leads to incomplete call setup hence an invalid/stale call. This is very common and clearly shows a NAT or incorrect contact information during sip message buildup. At this point we can eliminate SIpgate as the cause of this problem. Sipgate is a robust provider and their implementation works under all sorts of network topologies. It could also be related to how the provider is configured in 3CX as well because the configuration in the provider section must correlate with the network topology currently around you.

Some questions to better understand the setup:
How does this occur? When you make an outgoing call, incoming, or both? Do you have NAT? What type?
Do you have correct portforwarding on your router?
Does Stun resolve correctly? Does it resolve localip:5060 publicip:5060 hence no translation? or with translation? (BTW Sipgate works in both cases)
Test to perform: If you register Sipgate directly with a softphone or hardphone without having 3CX proxy'ing the call. What happens in this case? Remember to remain connected for more than 30 seconds. If you surpass this time you are safe and call will go on.

To really analyze this a wireshark capture of the call is a must. You can send it directly at [email protected]. Also an important point I forgot to mention - what version of 3CX are you using? Ideally use the latest version - at the moment 7.1 beta - this is a very stable version. We called it beta for the simple reason that the 3CX Call assistant and the new Call Reporter are still in Beta.
 
Status
Not open for further replies.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.