[Freeswitch-users] missing digit from destination number, overlap dialing

Andreas Gabler, ABX gabler at abx.de
Tue Jan 24 18:54:33 MSK 2012


Dear all,

May I ask you for help?

We use Freeswitch with Sangoma B700 FlexBRI
on Windows XP professional SP3. We have 2 BRI lines.

Some external calls lack the last digit of the destination number.
Many destination numbers are ok.

It depends from the source of the call.
Calls from German mobile network have complete number.
Many calls from German landline have complete number.
A few calls from German landline lack the last digit.
This callers hear "Called number is not available".

Freeswitch received the complete number from 68% of the calling numbers at all times.
This means 7 digits after the country code.
Incomplete number from 14% at all times. Only 6 digits.
18% varied. Sometimes we received 6 digits. Sometimes 7.

I tried  <param name="overlap" value="yes"/>  in the file freetdm.conf.xml.
This makes the external caller do not receive an answer. He hears nothing.


----------------------------------------------------------------------
This is an extraction of the freeswitch.log without overlap=yes:

    Line numbers 02, 04 and 19 lack the last digit.

    Line numbers 01, 03 and 10 from mobile network.
    Line number 13 anonymous caller.
    Other from landline.

    01 incoming call: called no:[4166065] calling no:[1722051138]
    02 incoming call: called no:[416604] calling no:[3517969878]
    03 incoming call: called no:[4166030] calling no:[1738920856]
    04 incoming call: called no:[416603] calling no:[6423969575]
    05 incoming call: called no:[4166033] calling no:[6423969575]
    06 incoming call: called no:[4166041] calling no:[35284193228]
    07 incoming call: called no:[4166038] calling no:[970891000]
    08 incoming call: called no:[4166012] calling no:[3514129670]
    09 incoming call: called no:[4166012] calling no:[35284193212]
    10 incoming call: called no:[4166054] calling no:[1733583343]
    11 incoming call: called no:[4166052] calling no:[35284153322]
    12 incoming call: called no:[4166021] calling no:[3571608532]
    13 incoming call: called no:[4166020] calling no:[]
    14 incoming call: called no:[4166030] calling no:[2518347351]
    15 incoming call: called no:[4166033] calling no:[352371791]
    16 incoming call: called no:[4166054] calling no:[35284595951]
    17 incoming call: called no:[4166030] calling no:[2518347351]
    18 incoming call: called no:[4166019] calling no:[35183142120]
    19 incoming call: called no:[416602] calling no:[351828240]
    20 incoming call: called no:[4166010] calling no:[7022609250]


----------------------------------------------------------------------
This is a part of freeswitch.log without overlap=yes:

    Calling from 35284041831 to 4166069 is ok.

    07:59:04.835904 [INFO] ftmod_sangoma_isdn_stack_hndl.c:142 [s2c1][2:1] Incoming call: Called No:[4166069] Calling
No:[35284041831]
    07:59:04.835904 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:199 [s2c1][2:1] Changed state from DOWN to RING
    07:59:04.835904 [DEBUG] ftdm_state.c:511 [s2c1][2:1] Executing state processor for RING
    07:59:04.835904 [DEBUG] ftmod_sangoma_isdn.c:623 [s2c1][2:1] processing state change to RING
    07:59:04.835904 [DEBUG] ftmod_sangoma_isdn.c:647 [s2c1][2:1] Sending incoming call from 35284041831 to 4166069 to FTDM core
    07:59:04.835904 [DEBUG] ftmod_sangoma_isdn.c:884 [s2c1][2:1] Completed state change from DOWN to RING in 1ms
    ...

----------------------------------------------------------------------
This is a part of freeswitch.log with overlap=yes:

    Calling from 35284041728 to 4166065 failed.

    10:17:43.696875 [INFO] ftmod_sangoma_isdn_stack_hndl.c:142 [s2c1][2:1] Incoming call: Called No:[4166065] Calling
No:[35284041728]
    10:17:43.696875 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:197 [s2c1][2:1] Changed state from DOWN to COLLECT
    10:17:43.696875 [DEBUG] ftdm_state.c:511 [s2c1][2:1] Executing state processor for COLLECT
    10:17:43.696875 [DEBUG] ftmod_sangoma_isdn.c:623 [s2c1][2:1] processing state change to COLLECT
    10:17:43.696875 [INFO] ftmod_sangoma_isdn_stack_out.c:102 [s2c1][2:1] Sending SETUP ACK (suId:1 suInstId:5 spInstId:5 dchan:2
ces:0)
    10:17:43.696875 [DEBUG] ftmod_sangoma_isdn.c:884 [s2c1][2:1] Completed state change from DOWN to COLLECT in 0ms
    10:17:55.775000 [INFO] ftmod_sangoma_isdn_stack_rcv.c:172 [s2c1][2:1] Received INFO (suId:1 suInstId:5 spInstId:5 ces:0)
    10:17:55.775000 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:368 [s2c1][2:1] Processing INFO (suId:1 suInstId:5 spInstId:5 ces:0)
    10:17:55.775000 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:464 [s2c1][2:1] Processing INFO (suId:1 suInstId:5 spInstId:5)
    10:18:08.337500 [INFO] ftmod_sangoma_isdn_stack_rcv.c:210 [s2c1][2:1] Received DISCONNECT (suId:1 suInstId:5 spInstId:5)
    10:18:08.337500 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:523 [s2c1][2:1] Processing DISCONNECT (suId:1 suInstId:5 spInstId:5)
    10:18:08.337500 [DEBUG] ftmod_sangoma_isdn_stack_hndl.c:547 [s2c1][2:1] Changed state from COLLECT to CANCEL
    10:18:08.337500 [DEBUG] ftdm_state.c:511 [s2c1][2:1] Executing state processor for CANCEL
    10:18:08.337500 [DEBUG] ftmod_sangoma_isdn.c:623 [s2c1][2:1] processing state change to CANCEL
    10:18:08.337500 [DEBUG] ftmod_sangoma_isdn.c:753 [s2c1][2:1] Hanging up call before informing user!
    10:18:08.337500 [INFO] ftmod_sangoma_isdn_stack_out.c:420 [s2c1][2:1] Sending RELEASE/RELEASE COMPLETE (suId:1 suInstId:5
spInstId:5)
    10:18:08.337500 [DEBUG] ftmod_sangoma_isdn.c:759 [s2c1][2:1] Completed state change from COLLECT to CANCEL in 0ms
    10:18:08.337500 [DEBUG] ftmod_sangoma_isdn.c:759 [s2c1][2:1] Changed state from CANCEL to HANGUP_COMPLETE
    10:18:08.337500 [DEBUG] ftdm_state.c:511 [s2c1][2:1] Executing state processor for HANGUP_COMPLETE
    10:18:08.337500 [DEBUG] ftmod_sangoma_isdn.c:623 [s2c1][2:1] processing state change to HANGUP_COMPLETE
    10:18:08.337500 [DEBUG] ftmod_sangoma_isdn.c:831 [s2c1][2:1] Waiting for release from stack
    10:18:08.337500 [DEBUG] ftmod_sangoma_isdn.c:884 [s2c1][2:1] Completed state change from CANCEL to HANGUP_COMPLETE in 1ms

----------------------------------------------------------------------

You can download an attachment (3 MBytes):
http://www.abx.de/temp/freeswitch/2012-01-24/attachment.zip
The attachment contains

    dialplan:
        default.xml
        default-anrufverteilung-nach-isdn.xml
        public.xml  (Public directory is empty.)
    config:
        freeswitch.xml
        freetdm.conf
        freetdm.conf.xml
        Wanpipe.pdf
    log:
        full freeswitch.log

----------------------------------------------------------------------



Thank you for help.


Best regards
Andreas Gabler
gabler at abx.de


-------------------------------------------
ABX advanced biochemical compounds
Heinrich-Glaeser-Str. 10-14
D-01454 Radeberg
Germany

telephone:              +49 3528 4041 740
facsimile:              +49 3528 4041 8877
email:                  info at abx.de
web:                    www.abx.de
-------------------------------------------

general manager:        Dr. Peter Moll
company headquarter:    D-01454 Radeberg
VAT number:             DE 812 136 673

Commercial Registry:    HRB 14041
                        Amtsgericht Dresden
tax authority:          Finanzamt 3213
                        Hoyerswerda
tax number:             213/105/00531
-------------------------------------------

Please, use plain text format instead of
html in your emails. Thank you.
-------------------------------------------









Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list