Dialing * during a call causes hangup - cannot make attended transfer (*2)

Hi: for apparently no reason (unless some modules and system updates performed in the past days), attended transfers started to drop calls. Even internal calls.

Turns out the problem is dialing * during the call. If we dial * during any call (internal or external), it causes an immediate hangup.

It was workink just fine for months and no change at all was made to the system. The only changes were regular modules and system updates.

This is what happens when we press * during a call:

-- Channel PJSIP/16-00000030 left 'simple_bridge' basic-bridge <079cea7f-6c5f-49a5-9a8b-b9f7ed355be6>
    -- Channel PJSIP/17-0000002f left 'simple_bridge' basic-bridge <079cea7f-6c5f-49a5-9a8b-b9f7ed355be6>
  == Spawn extension (macro-dial-one, s, 52) exited non-zero on 'PJSIP/17-0000002f' in macro 'dial-one'
  == Spawn extension (macro-exten-vm, s, 20) exited non-zero on 'PJSIP/17-0000002f' in macro 'exten-vm'
  == Spawn extension (ext-local, 16, 2) exited non-zero on 'PJSIP/17-0000002f'
    -- Executing [[email protected]:1] Macro("PJSIP/17-0000002f", "hangupcall,") in new stack
    -- Executing [[email protected]:1] GotoIf("PJSIP/17-0000002f", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [[email protected]:3] ExecIf("PJSIP/17-0000002f", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]:4] NoOp("PJSIP/17-0000002f", "PJSIP/16-00000030 monior file= ") in new stack
    -- Executing [[email protected]:5] AGI("PJSIP/17-0000002f", "attendedtransfer-rec-restart.php,PJSIP/16-00000030,") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
    -- <PJSIP/17-0000002f>AGI Script attendedtransfer-rec-restart.php completed, returning 0
    -- Executing [[email protected]:6] Hangup("PJSIP/17-0000002f", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'PJSIP/17-0000002f' in macro 'hangupcall'
  == Spawn extension (ext-local, h, 1) exited non-zero on 'PJSIP/17-0000002f'

So we cannot perform attended transfers because it uses *2 and so the call is dropped.

I had to termporarily change the attended transfer feature code to #2 in order to make it work again.

Any pointers would help.

Thanks.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.