Results 1 to 6 of 6

Thread: BRI calls failed (channel not found) but ghost calls anyway

  1. #1
    Abner78 Guest

    Default BRI calls failed (channel not found) but ghost calls anyway

    I got a really weird behaviour in my PIKA Warp.
    I have two BRI lines (2 numbers), each one with 2 channels. Sometimes (it happens more often when I call mobile phones) I get "call failed" on the phone. If I hang up, after 20 seconds the system makes a call to the number dialed, using the second line!
    If the called person answers, he gets absolute silence.

    If I check the log, I find this:
    [May 6 18:09:24] ERROR[3568] chan_pika.c: Cannot find a PIKA channel to use for 'digital/g1/XXXXXXXXXXX' grp=1 chnl=-1!
    [May 6 18:09:24] WARNING[3568] app_dial.c: Unable to create channel of type 'PIKA' (cause 44 - Requested channel not available)

    I find this error very weird: the channels on g1 are NOT busy. Shouldn't it just pick channels in g2? g2 is in fact the second line (the one I get ghost calls from).
    I found out that this happens more often when the IVR is ON (I have a time condition).

    Can someone please help me? Where I should look? I am quite desperate

  2. #2
    Join Date
    Jul 2008
    Posts
    268

    Default

    Can you post the full Asterisk CLI logs?

  3. #3
    Abner78 Guest

    Default

    What files should I post? The FULL log is over 1 Mb

  4. #4
    Abner78 Guest

    Default

    I'll post the log of the last week.
    Where you find "XXXXXXXXX" is just me : I censored the real number, but it is correct and the same as the one dialed.
    I resolved the issue "ast_streamfile failed on SIP/208-5050d300 for number-not-answering|noanswer" installing extra sound files.
    Notice that the file is played exactly when I receive the "call failed" and start the ghost outbound call. But, weird, the ERROR[4782] appears fewer times in the log.
    I don't know what to do....
    Attached Files Attached Files

  5. #5
    Join Date
    Jul 2008
    Posts
    268

    Default

    Could you post the output of 'pika show channels' as well as the BRI portion of your '/etc/asterisk/pika.conf'?

  6. #6
    Abner78 Guest

    Default

    Here is the result of pika show channels:
    >>>>> Group: 0, type FXS: channels: 1 to 1
    PIKA Channel Asterisk Group: 0, type FXS: channels: 1 to 1
    Channel number: 1, asterisk group: 0 type: FXS, state = CHANNEL IS READY
    >>>>> Group: 1, type BRI: channels: 1 to 8
    PIKA Channel Asterisk Group: 1, type BRI: channels: 1 to 8
    Channel number: 1, asterisk group: 1 type: BRI, state = CHANNEL IS READY
    Channel number: 2, asterisk group: 1 type: BRI, state = CHANNEL IS READY
    Channel number: 3, asterisk group: 2 type: BRI, state = CHANNEL IS READY
    Channel number: 4, asterisk group: 2 type: BRI, state = CHANNEL IS READY
    Channel number: 5, asterisk group: 3 type: BRI, state = CHANNEL IS DOWN
    Channel number: 6, asterisk group: 3 type: BRI, state = CHANNEL IS DOWN
    Channel number: 7, asterisk group: 4 type: BRI, state = CHANNEL IS DOWN
    Channel number: 8, asterisk group: 4 type: BRI, state = CHANNEL IS DOWN
    >>>>> Group: 3, type AUDIO: channels: 1 to 1
    PIKA Channel Asterisk Group: 3, type AUDIO: channels: 1 to 1
    Channel number: 1, asterisk group: 0 type: AUDIO, state = CHANNEL IS READY

    And here the BRI section of pika.conf:
    [digital]
    gp_group=1
    conf_ref=BRI_1_0
    briphone=false
    context=from-pstn
    extension=
    accountcode=digital_grp
    callerid=asreceived
    nationalprefix=0
    internationalprefix=00
    immediate=no
    echocancel=yes
    echotaillength=64
    echosuppression=yes
    comfortnoise=yes
    echologging=no
    usecallerid=yes
    faxdetection=yes
    musiconhold=default
    language=default
    amaflags=default
    canpark=no
    txgain=0
    rxgain=0
    clippingratio=-2
    useagc=no
    agc.in.enable=no
    agc.out.enable=no
    agc.in.targetLevel=-15.0
    agc.out.targetLevel=-15.0
    agc.in.minGain=-6
    agc.out.minGain=-6
    agc.in.maxGain=18
    agc.out.maxGain=18
    agc.in.attackRate=170
    agc.out.attackRate=170
    agc.in.decayRate=750
    agc.out.decayRate=750
    agc.in.speechLevel=-36
    agc.out.speechLevel=-36
    group=1
    channels=1-2

    conf_ref=BRI_1_1
    briphone=false
    context=from-pstn
    extension=
    accountcode=digital_grp
    callerid=asreceived
    nationalprefix=0
    internationalprefix=00
    immediate=no
    echocancel=yes
    echotaillength=64
    echosuppression=yes
    comfortnoise=yes
    echologging=no
    usecallerid=yes
    faxdetection=yes
    musiconhold=default
    language=default
    amaflags=default
    canpark=no
    txgain=0
    rxgain=0
    clippingratio=-2
    useagc=no
    agc.in.enable=no
    agc.out.enable=no
    agc.in.targetLevel=-15.0
    agc.out.targetLevel=-15.0
    agc.in.minGain=-6
    agc.out.minGain=-6
    agc.in.maxGain=18
    agc.out.maxGain=18
    agc.in.attackRate=170
    agc.out.attackRate=170
    agc.in.decayRate=750
    agc.out.decayRate=750
    agc.in.speechLevel=-36
    agc.out.speechLevel=-36
    group=2
    channels=3-4

    conf_ref=BRI_1_2
    briphone=false
    context=from-pstn
    extension=
    accountcode=digital_grp
    callerid=asreceived
    nationalprefix=0
    internationalprefix=00
    immediate=no
    echocancel=yes
    echotaillength=64
    echosuppression=yes
    comfortnoise=yes
    echologging=no
    usecallerid=yes
    faxdetection=yes
    musiconhold=default
    language=default
    amaflags=default
    canpark=no
    txgain=0
    rxgain=0
    clippingratio=-2
    useagc=no
    agc.in.enable=no
    agc.out.enable=no
    agc.in.targetLevel=-15.0
    agc.out.targetLevel=-15.0
    agc.in.minGain=-6
    agc.out.minGain=-6
    agc.in.maxGain=18
    agc.out.maxGain=18
    agc.in.attackRate=170
    agc.out.attackRate=170
    agc.in.decayRate=750
    agc.out.decayRate=750
    agc.in.speechLevel=-36
    agc.out.speechLevel=-36
    group=3
    channels=5-6

    conf_ref=BRI_1_3
    briphone=false
    context=from-pstn
    extension=
    accountcode=digital_grp
    callerid=asreceived
    nationalprefix=0
    internationalprefix=00
    immediate=no
    echocancel=yes
    echotaillength=64
    echosuppression=yes
    comfortnoise=yes
    echologging=no
    usecallerid=yes
    faxdetection=yes
    musiconhold=default
    language=default
    amaflags=default
    canpark=no
    txgain=0
    rxgain=0
    clippingratio=-2
    useagc=no
    agc.in.enable=no
    agc.out.enable=no
    agc.in.targetLevel=-15.0
    agc.out.targetLevel=-15.0
    agc.in.minGain=-6
    agc.out.minGain=-6
    agc.in.maxGain=18
    agc.out.maxGain=18
    agc.in.attackRate=170
    agc.out.attackRate=170
    agc.in.decayRate=750
    agc.out.decayRate=750
    agc.in.speechLevel=-36
    agc.out.speechLevel=-36
    group=4
    channels=7-8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •