Outbound Calls Issue

Hello,

We are having a problem with outbound calls. We make the call, it works but after for about 30 seconds the calls suddenly closes(hangs off) and disappears. Sometimes it works and we talk without problem but sometimes that weird problems happens, especially when we try to make the 2nd call at the same time(when a user is in an active Outgoing call and the other one tries to make another outgoing call then this 2nd call it will definitely closes after max 30 seconds). We didn’t change any configuration recently and it worked before.

Any clue where should I start to investigate this issue ?

Hi,

how is your setup? Do you use a something like this:

Phone -> pascom -> SIP-Trunk?

If so: Is this only happening for calls to the landline or also “internal” outbound calls?

Cheers,
Mathias

Hello Mathias,

Thank you for answering. I use something like : Gateways --> Trunks . I am not sure if we are talking for same thing? I configured it and it worked, I still can do outbound calls landline but when I try to do the 2nd call from another user at same time it stops after some seconds. SOMETIMES even the only outbound landline calls stops after some seconds. This issue is not happening with internal outbound calls.

ok. That needs deeper debug.

First try:

Login to the system via ssh

ssh admin@MY_PASCOM

Become root

su

Open the asterisk CLI

asterisk -r

Do the first and the second call and post the CLI output at the moment when the disconnect happens.

Mathias

Hello Mathias,

I have some new updates about this issue. The problem happens every time that you try to do the 2nd call (while another is active) BUT the problem has also more than 50% chance to happen even if you only make a single call.

For example: Sometimes when I call a number, it works and I can talk without any problem or without any limitation. Later that day, or just few minutes later, I try to call the same number, from same network, same user, exactly the same circumstances, the outgoing call drops after exactly 10 seconds. I tried that several times and it happens over and over again.

I guess the problem happens somewhere here (I compared the CLI output of working call and not working one):

  == Begin MixMonitor Recording SIP/qdgolgn5MRBai1U-000001f1
    -- Executing [5000-dial@mdc_ivr-1:3] Gosub("SIP/3126047321-000001f3", "sub_main-5000,5000,1") in new stack
    -- Executing [5000@sub_main-5000:1] BackGround("SIP/3126047321-000001f3", "VIPTV-ivr") in new stack
    -- <SIP/3126047321-000001f3> Playing 'VIPTV-ivr.slin' (language 'en')
[Oct  8 15:33:03] WARNING[3268]: chan_sip.c:4050 retrans_pkt: Retransmission timeout reached on transmission 39d445d6f62f44d3811c7ec02e0d02f6 for seqno 40 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 8960ms with no response
[Oct  8 15:33:03] WARNING[3268]: chan_sip.c:4079 retrans_pkt: Hanging up call 39d445d6f62f44d3811c7ec02e0d02f6 - no reply to our critical packet (see https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions).
    -- Executing [h@sub_trunk-outgoing-19:1] Gosub("SIP/qdgolgn5MRBai1U-000001f1", "def_hangup,s,1(,ANSWER,,CALL)") in new stack
    -- Executing [s@def_hangup:1] NoOp("SIP/qdgolgn5MRBai1U-000001f1", ">>>def_hangup:: EXTEN:  DIALSTATUS: ANSWER QUEUESTATUS:  REASON: CALL") in new stack
  == Spawn extension (sub_trunk-outgoing-19, 13129625248, 11) exited non-zero on 'SIP/qdgolgn5MRBai1U-000001f1'
  == MixMonitor close filestream (mixed)
  == End MixMonitor Recording SIP/qdgolgn5MRBai1U-000001f1

I attached only this part of OUTPUT, certainly there is more at the beginning and at the end.

Hi,

seems like the SIP connection gets no answer packets in this situation.

Seems not to be a problem on the pascom server. Which gateway and landline connection do you use? Beronet? ISDN/Analog?

Regards,
Mathias

Hey Mathias,

Sorry for dumb question , but how can I find out what gateway and landline connected we are using ?

You posted

so I assumed you are using a Gateway connented to a trunk. So maybe I got you wrong.

So you are using a SIP-Trunk / SIP-Provider to make you calls to the outside world?

Regards,
Mathias

Yes, we use a SIP-Provider, we added that manually (it is not in the list that you provide). We have nothing in Gateways list and Trunk Failovers. We just use the option Trunks.

Ok. Then it is in 90% a problem with NAT. You can do:

  1. Put “nat=yes” option in the trunk account option field
  2. Check you firewall if there are any “sip features” like SIP-ALG and disable them
  3. Check on your firewall if you can increase the NAT Table TTL

Regards,
Mathias

Thank you Mathias, I am pausing this case for now because I am having another issue which is created as a new post. I will try your suggestions and continue here after finishing the other post.

Hello Mathias,

Can you help us to find those features(SIP-ALG and Increase the NAT Table TTL) please ? We used Nat=Yes but that didn’t fix the issue. Even when we try to do a Sip Reload, it appears a warning message which says that Nat=Yes is depricated and suggest to use Nat=force_rport,comedia , we used that also but no fix.

Hi,

sorry I can not help you with that. This is a setting of your firewall.

But I read your other thread Outbound Problems. There I noticed that you do not register to your SIP provider. Which provider are you using? Sure that you don’t have to register your IP-Address?

Regards,
Mathias

Hello,

I need some Benchmark regarding Outbound call set up time…we are about 8 seconds…Could you share statics for this matter?

Regards,

Riad

[quote=“solstis, post:15, topic:2785, full:true”]
Hello,

I need some Benchmark regarding Outbound call set up time…we are about 8 seconds…Could you share statics for this matter?

Regards,

Riad