Reply To: RE: Call still in queue after hang-up

VitalPBX Community Support General Discussion Call still in queue after hang-up Reply To: RE: Call still in queue after hang-up

    Posted by: mrivera

    are you using dahdi trunks?

    Yes, all seems work fine except that the hangup is not detected in the right way, when I receive a phone call it’s routed to queue 700, three SIP extensios rings at same time but if I hangup the queue is still ringing until it reaches 30 seconds from the begining (the time I have for that queue). If I do asterisk -rvvvvvv I can see that the hangup is not detected:

      == Spawn extension (cos-all, 517, 1) exited non-zero on 'SIP/517-00000008'

        -- SIP/517-00000008 Internal Gosub(sub-local-dialing,set_dial,1) complete GOSUB_RETVAL=

        -- Called SIP/517

        -- Local/517@queue-call-to-agents-00000006;1 is ringing

        -- Local/517@queue-call-to-agents-00000006;1 connected line has changed. Saving it until answer for DAHDI/i1/XXXXXXXXX-2

        -- SIP/517-00000008 is ringing

        -- Local/517@queue-call-to-agents-00000006;1 is ringing

        -- SIP/527-00000007 is ringing

        -- Local/527@queue-call-to-agents-00000007;1 is ringing

        -- SIP/501-00000006 is ringing

        -- Local/501@queue-call-to-agents-00000008;1 is ringing

        -- Nobody picked up in 30000 ms

        -- Nobody picked up in 30000 ms

        -- Nobody picked up in 30000 ms

    as you can see it was running for 30000 ms but the phone call was ended in the first 5000 ms. When Aterisk try to requeue the call seems that the hangup is detected in that moment:

    Span 1: Channel 0/1 got hangup, cause 102

        -- Stopped music on hold on DAHDI/i1/XXXXXXXXX-2

    Also I have Switchboard and if I use the Queue Waintg Calls Widget all the phone calls remains there forever.


    This is my hardware:

    pci:0000:05:00.0     wcb4xxp+     1397:08b4 OpenVox B400P

    pci:0000:07:00.0     wctdm+       e159:0001 Wildcard TDM400P REV E/F


    This is my Dahdi-profiles:

    ;Default BRI TE Profile - Default BRI TE Profile


    context = dahdi-incoming

    signalling = bri_cpe

    rxgain = 0.000

    txgain = 0.000

    usecallerid = yes

    hidecallerid = no

    relaxdtmf = no

    faxdetect = no

    echocancel = 128

    echocancelwhenbridged = yes

    switchtype = euroisdn

    inbanddisconnect = yes

    facilityenable = disabled

    overlapdial = no

    resetinterval = never

    pridialplan = unknown

    prilocaldialplan = national

    usecallingpres = yes