Dialout problem: Many calls terminated with cause:31

Hello!

I’m running asterisk with a Beronet card since some months. Everything was ok until this week: Most of my dialout calls are ended with code 31…

If I use a different provider (dialing a prefix) it works ok…
With my old pbx everything works, so I can’t really complain with my telco about this…

The telco is taking a long time to make calls, 25 sec. Maybe this is somehow related.

Thanks in Advance!

Dial Out OK

P[ 0] --> Group Call group: intern
P[ 0] --> * NEW CHANNEL dad:913465999 oad:(null)
P[ 1] read_config: Getting Config
P[ 1] --> TON: Unknown
P[ 1] --> LTON: Unknown
P[ 1] --> CTON: Unknown
P[ 1] * CALL: g:intern/913465999
P[ 1] --> * dad:913465999 tech:mISDN/0-u163 ctx:default
P[ 1] --> pres: -1 screen: -1
P[ 1] --> pres: 0
P[ 1] --> PRES: Allowed (0x0)
P[ 1] --> SCREEN: Unscreened (0x0)
P[ 1] NO OPTS GIVEN
P[ 1] I SEND:SETUP oad:1401 dad:913465999 pid:44
P[ 1] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> found channel: 1
P[ 1] NO USERUESRINFO ENCODED
P[ 1] --> * SEND: State Dialing pid:44
P[ 1] I IND :NEW_CHANNEL oad:1401 dad:913465999 pid:44 state:CALLING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> TRANSPARENT Mode
P[ 1] I IND :SETUP_ACKNOWLEDGE oad:1401 dad:913465999 pid:44 state:CALLING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] I IND :stuck_out_tongue:ROCEEDING oad:1401 dad:913465999 pid:44 state:CALLING_ACKNOWLEDGE
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] I IND :stuck_out_tongue:ROGRESS oad:1401 dad:913465999 pid:44 state:PROCEEDING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] * IND : HANGUP pid:44 ctx:default dad:913465999 oad:913465999 State:PROGRESS
P[ 1] --> out_cause:16
P[ 1] --> state:PROGRESS
P[ 1] I SEND:DISCONNECT oad:1401 dad:913465999 pid:44
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] $$$ Cleaning up bc with stid :10010100 pid:44
P[ 1] I IND :RELEASE oad: dad: pid:44 state:CLEANING
P[ 1] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> No need to queue hangup
P[ 1] Cannot hangup chan, no ast
P[ 1] I SEND:RELEASE_COMPLETE oad: dad: pid:44
P[ 1] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0

Dial Out NOK:

P[ 0] --> Group Call group: intern
P[ 0] --> * NEW CHANNEL dad:913465999 oad:(null)
P[ 1] read_config: Getting Config
P[ 1] --> TON: Unknown
P[ 1] --> LTON: Unknown
P[ 1] --> CTON: Unknown
P[ 1] * CALL: g:intern/913465999
P[ 1] --> * dad:913465999 tech:mISDN/0-u187 ctx:default
P[ 1] --> pres: -1 screen: -1
P[ 1] --> pres: 0
P[ 1] --> PRES: Allowed (0x0)
P[ 1] --> SCREEN: Unscreened (0x0)
P[ 1] NO OPTS GIVEN
P[ 1] I SEND:SETUP oad:1401 dad:913465999 pid:49
P[ 1] --> channel:0 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> found channel: 1
P[ 1] NO USERUESRINFO ENCODED
P[ 1] --> * SEND: State Dialing pid:49
P[ 1] I IND :NEW_CHANNEL oad:1401 dad:913465999 pid:49 state:CALLING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> TRANSPARENT Mode
P[ 1] I IND :SETUP_ACKNOWLEDGE oad:1401 dad:913465999 pid:49 state:CALLING
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] I IND :stuck_out_tongue:ROCEEDING oad:1401 dad:913465999 pid:49 state:CALLING_ACKNOWLEDGE
P[ 1] --> channel:1 mode:TE cause:16 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] I IND :smiley:ISCONNECT oad:1401 dad:913465999 pid:49 state:PROCEEDING
P[ 1] --> channel:1 mode:TE cause:31 ocause:16 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> Inband Info Avail, not sending RELEASE
P[ 1] * IND : HANGUP pid:49 ctx:default dad:913465999 oad:913465999 State:DISCONNECTED
P[ 1] --> out_cause:31
P[ 1] --> state:DISCONNECTED
P[ 1] I SEND:RELEASE oad:1401 dad:913465999 pid:49
P[ 1] --> channel:1 mode:TE cause:31 ocause:31 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] $$$ Cleaning up bc with stid :10010100 pid:49
P[ 1] I IND :RELEASE_COMPLETE oad: dad: pid:49 state:CLEANING
P[ 1] --> channel:0 mode:TE cause:31 ocause:31 rad: cad:
P[ 1] --> info_dad: onumplan:0 dnumplan:0 rnumplan:0 cpnnumplan:0
P[ 1] --> No need to queue hangup
P[ 1] Cannot hangup chan, no ast

When you say called ended, do you mean calls failed, or you just are getting a 31 instead of a 16 ?

cause 31 is

[quote]Cause #31 "normal, unspecified"
This cause is used to report a normal event only when no other cause in the normal class
applies.[/quote]
Full list is at cyber-cottage.co.uk/bathford … itions.pdf

Ian

Hi ianplain, thanks for your help!

It happens before the calling signal. Sometimes I have to redial 4, 5 times to make a connection.

Is there a timeout between the “PROCEEDING” and “PROGRESS” phase?

It seams my telco is taking too long to make the call, sometimes 25 sec. … When I choose another telco (dialling another prefix) it always work. The problem is I’m paying for a flat rate in the one with the problem.

If I connect my old Alcatel PBX, It never fails, sometimes calls take a while but they get trough.

Thanks,

Humberto

Hi again!

It seams to be solved. So far it’s a Telco problem and they solve it. Maybe this thread can be usefull for someone with the same problem!

Thanks,

Humberto