Problem in getting digits

Discussion in 'Gateways' started by haamed, Mar 16, 2009.

  1. haamed

    Joined:
    Jul 23, 2007
    Messages:
    251
    Likes Received:
    0
    I have a problem with FXO cards,
    I have sangoma 4 FXO,
    I am writing agi for Telebanking Sys.(with java-asterisk)
    i need to get 12 digits number from pstn,

    and now my problem:
    when user calls fxo cards and enter digits, if he/she enter digits too fast the call will drop and it cant get the digits, but if he enter digits in normal speed there is no problem.
    i don't have this problem form softphones (SIP Messages), i think it is because of FXO cards,
    now i want to know how can i solve it.

    1) is it because of analog card, would i have this problem on E1?
    2) is any config on sangoma's driver or zapata.conf to change the getting speed?


    Thank you in Advanced.
     
  2. haamed

    Joined:
    Jul 23, 2007
    Messages:
    251
    Likes Received:
    0
    I enable DTMF log in etc/asterisk/
    when i enter digits fast i get this erros:

    Mar 17 09:01:47 DTMF [3835] channel.c: DTMF end '6' received on Zap/1-1, duration 0 ms

    Mar 17 09:01:47 DTMF [3835] channel.c:
    DTMF end accepted without begin '6' on Zap/1-1

    Mar 17 09:01:47 DTMF [3835] channel.c:
    DTMF end passthrough '6' on Zap/1-1

    Mar 17 09:01:47 DTMF [3835] channel.c:
    DTMF end '5' received on Zap/1-1, duration 0 ms

    Mar 17 09:01:47 DTMF [3835] channel.c:
    DTMF end accepted without begin '5' on Zap/1-1

    Mar 17 09:01:47 DTMF [3835] channel.c:
    DTMF end passthrough '5' on Zap/1-1

    Mar 17 09:01:47 DEBUG [3835] dsp.c: ast_dsp_busydetect detected busy, avgtone: 185, avgsilence 175

    Mar 17 09:01:47 WARNING [3835] file.c:
    Failed to write frame

    Mar 17 09:01:47 VERBOSE [3835] logger.c:
    -- Playing 'banking/enter-pass' (language 'pr'

    Mar 17 09:01:47 VERBOSE [3835] logger.c:
    -- Playing 'banking/your-balance' (escape_digits=) (sample_offset 0)

    Mar 17 09:01:47 WARNING [3835] file.c:
    Failed to write frame

    Mar 17 09:01:47 VERBOSE [3835] logger.c:
    -- Executing [h@from-internal:1] Macro("Zap/1-1", "hangupcall" in new stack


    ###############################
    after getting digit "5" it give 2 errors,
     

Share This Page