Still can't get queues to issue an RTP reinvite

Hi all

No matter what I do, I still can’t seem to get my Queues to reinvite the RTP traffic to my extensions. I have tried numerous ways but I am stuck. Can anyone help me debug this?

Here is my code:

queues.conf
[110]
announce-frequency=0
queue-callswaiting=
queue-thankyou=queue-thankyou
queue-thereare=
queue-youarenext=
retry=5
rtone=0
strategy=ringall
timeout=18
music=default
monitor-join=yes
announce-holdtime=no
context=
eventmemberstatus=no
eventwhencalled=no
joinempty=No
leavewhenempty=yes
maxlen=0
monitor-format=
wrapuptime=0


extensions.conf
exten => 110,1,Answer
exten => 110,n,Set(__BLKVM_OVERRIDE=BLKVM/${EXTEN}/${CHANNEL})
exten => 110,n,Set(__BLKVM_BASE=${EXTEN})
exten => 110,n,Set(DB(${BLKVM_OVERRIDE})=TRUE)
exten => 110,n,Set(_DIAL_OPTIONS=${DIAL_OPTIONS}M(auto-blkvm))
exten => 110,n,Set(__NODEST=${EXTEN})
exten => 110,n,GotoIf($["${CONTEXT}"="from-internal"]?USERCID:SETCID)
exten => 110,n(USERCID),Macro(user-callerid,)
exten => 110,n(SETCID),Set(CALLERID(name)=${CALLERIDNAME})
exten => 110,n,Set(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${TIMESTAMP}-${UNIQUEID})
exten => 110,n,Queue(110||||300)
exten => 110,n,dbDel(${BLKVM_OVERRIDE})
exten => 110,n,Set(__NODEST=)
exten => 110,n,Goto(app-blackhole,congestion,1)
exten => 110*,1,Macro(agent-add,110,)
exten => 110**,1,Macro(agent-del,110,110)

I was told that the ‘t’ option was causing it so I removed it but still it can’t reinvite the rtp streams. :frowning:

Here is the asterisk output info.

RTP Debugging Disabled
  == CDR updated on SIP/xxx.xxx.xxx.xxx-b7a151c8
    -- Executing DBdel("SIP/xxx.xxx.xxx.xxx-b7a151c8", "") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-b7a151c8", "__NODEST=") in new stack
    -- Executing Goto("SIP/xxx.xxx.xxx.xxx-b7a151c8", "ext-queues|110|1") in new stack
    -- Goto (ext-queues,110,1)
    -- Executing Answer("SIP/xxx.xxx.xxx.xxx-b7a151c8", "") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-b7a151c8", "__BLKVM_OVERRIDE=BLKVM/110/SIP/xxx.xxx.xxx.xxx-b7a151c8") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-b7a151c8", "__BLKVM_BASE=110") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-b7a151c8", "DB(BLKVM/110/SIP/xxx.xxx.xxx.xxx-b7a151c8)=TRUE") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-b7a151c8", "_DIAL_OPTIONS=M(auto-blkvm)") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-b7a151c8", "__NODEST=110") in new stack
    -- Executing GotoIf("SIP/xxx.xxx.xxx.xxx-b7a151c8", "0?USERCID:SETCID") in new stack
    -- Goto (ext-queues,110,9)
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-b7a151c8", "CALLERID(name)=Unknown") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-b7a151c8", "MONITOR_FILENAME=/var/spool/asterisk/monitor/q110-20070412-160727-1176408427.55") in new stack
    -- Executing Queue("SIP/xxx.xxx.xxx.xxx-b7a151c8", "110||||300") in new stack
    -- Started music on hold, class 'default', on SIP/xxx.xxx.xxx.xxx-b7a151c8
    -- Called Local/1003@from-internal/n
    -- Executing Macro("Local/1003@from-internal-08d0,2", "exten-vm|1003|1003") in new stack
    -- Executing Macro("Local/1003@from-internal-08d0,2", "user-callerid") in new stack
    -- Executing NoOp("Local/1003@from-internal-08d0,2", "user-callerid: Unknown Unknown") in new stack
    -- Executing GotoIf("Local/1003@from-internal-08d0,2", "1?report") in new stack
    -- Goto (macro-user-callerid,s,11)
    -- Executing NoOp("Local/1003@from-internal-08d0,2", "TTL:  ARG1: 1003") in new stack
    -- Executing GotoIf("Local/1003@from-internal-08d0,2", "0?continue") in new stack
    -- Executing Set("Local/1003@from-internal-08d0,2", "_TTL=64") in new stack
    -- Executing GotoIf("Local/1003@from-internal-08d0,2", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,21)
    -- Executing NoOp("Local/1003@from-internal-08d0,2", "Using CallerID "Unknown" <Unknown>") in new stack
    -- Executing Set("Local/1003@from-internal-08d0,2", "FROMCONTEXT=exten-vm") in new stack
    -- Executing Set("Local/1003@from-internal-08d0,2", "VMBOX=1003") in new stack
    -- Executing Set("Local/1003@from-internal-08d0,2", "EXTTOCALL=1003") in new stack
    -- Executing Set("Local/1003@from-internal-08d0,2", "CFUEXT=") in new stack
    -- Executing Set("Local/1003@from-internal-08d0,2", "RT=60") in new stack
    -- Executing Macro("Local/1003@from-internal-08d0,2", "record-enable|1003|IN") in new stack
    -- Executing GotoIf("Local/1003@from-internal-08d0,2", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing DeadAGI("Local/1003@from-internal-08d0,2", "recordingcheck|20070412-160727|1176408447.57") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20070412-160727|1176408447.57: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("Local/1003@from-internal-08d0,2", "No recording needed") in new stack
    -- Executing Macro("Local/1003@from-internal-08d0,2", "dial|60|M(auto-blkvm)|1003") in new stack
    -- Executing DeadAGI("Local/1003@from-internal-08d0,2", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  dialparties.agi: Starting New Dialparties.agi
  dialparties.agi: priority is 1
  dialparties.agi: Caller ID name is 'Unknown' number is 'Unknown'
  dialparties.agi: Methodology of ring is  'none'
       >  dialparties.agi: USE_CONFIRMATION:  'FALSE'
       >  dialparties.agi: RINGGROUP_INDEX:   ''
    --  dialparties.agi: Added extension 1003 to extension map
    --  dialparties.agi: Extension 1003 cf is disabled
    --  dialparties.agi: Extension 1003 do not disturb is disabled
       >  dialparties.agi: extnum: 1003
       >  dialparties.agi: exthascw: 1
       >  dialparties.agi: exthascfb: 0
       >  dialparties.agi: extcfb:
       >  dialparties.agi: exthascfu: 0
       >  dialparties.agi: extcfu:
    --  dialparties.agi: DbDel CALLTRACE/1003 - Caller ID is not defined
       >  dialparties.agi: NODEST: 110 blkvm enabled macro already in dialopts: M(auto-blkvm)
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing Dial("Local/1003@from-internal-08d0,2", "SIP/1003|60|M(auto-blkvm)") in new stack
    -- Called 1003
    -- SIP/1003-b7a0c808 is ringing
    -- Local/1003@from-internal-08d0,1 is ringing
    -- SIP/1003-b7a0c808 answered Local/1003@from-internal-08d0,2
    -- Executing Set("SIP/1003-b7a0c808", "__MACRO_RESULT=") in new stack
    -- Executing DBdel("SIP/1003-b7a0c808", "BLKVM/110/SIP/xxx.xxx.xxx.xxx-b7a151c8") in new stack
    -- DBdel: family=BLKVM, key=110/SIP/xxx.xxx.xxx.xxx-b7a151c8
    -- Local/1003@from-internal-08d0,1 answered SIP/xxx.xxx.xxx.xxx-b7a151c8
    -- Stopped music on hold on SIP/xxx.xxx.xxx.xxx-b7a151c8
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/1003@from-internal-08d0,2' in macro 'dial'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/1003@from-internal-08d0,2' in macro 'exten-vm'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/1003@from-internal-08d0,2'
    -- Executing Macro("Local/1003@from-internal-08d0,2", "hangupcall") in new stack
    -- Executing ResetCDR("Local/1003@from-internal-08d0,2", "w") in new stack
    -- Executing NoCDR("Local/1003@from-internal-08d0,2", "") in new stack
    -- Executing GotoIf("Local/1003@from-internal-08d0,2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing GotoIf("Local/1003@from-internal-08d0,2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing Wait("Local/1003@from-internal-08d0,2", "5") in new stack
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/1003@from-internal-08d0,2' in macro 'hangupcall'
  == Spawn extension (ext-queues, 110, 11) exited non-zero on 'SIP/xxx.xxx.xxx.xxx-b7a151c8'
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'Local/1003@from-internal-08d0,2'
pbx*CLI>

and here is a call when I dial the extension directly.

  == CDR updated on SIP/xxx.xxx.xxx.xxx-09bb0020
    -- Executing Macro("SIP/xxx.xxx.xxx.xxx-09bb0020", "exten-vm|1003|1003") in new stack
    -- Executing Macro("SIP/xxx.xxx.xxx.xxx-09bb0020", "user-callerid") in new stack
    -- Executing NoOp("SIP/xxx.xxx.xxx.xxx-09bb0020", "user-callerid: Unknown Unknown") in new stack
    -- Executing GotoIf("SIP/xxx.xxx.xxx.xxx-09bb0020", "0?report") in new stack
    -- Executing GotoIf("SIP/xxx.xxx.xxx.xxx-09bb0020", "0?start") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-09bb0020", "REALCALLERIDNUM=Unknown") in new stack
    -- Executing NoOp("SIP/xxx.xxx.xxx.xxx-09bb0020", "REALCALLERIDNUM is Unknown") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-09bb0020", "AMPUSER=") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-09bb0020", "AMPUSERCIDNAME=") in new stack
    -- Executing GotoIf("SIP/xxx.xxx.xxx.xxx-09bb0020", "1?report") in new stack
    -- Goto (macro-user-callerid,s,11)
    -- Executing NoOp("SIP/xxx.xxx.xxx.xxx-09bb0020", "TTL:  ARG1: 1003") in new stack
    -- Executing GotoIf("SIP/xxx.xxx.xxx.xxx-09bb0020", "0?continue") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-09bb0020", "_TTL=64") in new stack
    -- Executing GotoIf("SIP/xxx.xxx.xxx.xxx-09bb0020", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,21)
    -- Executing NoOp("SIP/xxx.xxx.xxx.xxx-09bb0020", "Using CallerID "Unknown" <Unknown>") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-09bb0020", "FROMCONTEXT=exten-vm") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-09bb0020", "VMBOX=1003") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-09bb0020", "EXTTOCALL=1003") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-09bb0020", "CFUEXT=") in new stack
    -- Executing Set("SIP/xxx.xxx.xxx.xxx-09bb0020", "RT=60") in new stack
    -- Executing Macro("SIP/xxx.xxx.xxx.xxx-09bb0020", "record-enable|1003|IN") in new stack
    -- Executing GotoIf("SIP/xxx.xxx.xxx.xxx-09bb0020", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing DeadAGI("SIP/xxx.xxx.xxx.xxx-09bb0020", "recordingcheck|20070412-162725|1176409637.70") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
  recordingcheck|20070412-162725|1176409637.70: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing NoOp("SIP/xxx.xxx.xxx.xxx-09bb0020", "No recording needed") in new stack
    -- Executing Macro("SIP/xxx.xxx.xxx.xxx-09bb0020", "dial|60||1003") in new stack
    -- Executing DeadAGI("SIP/xxx.xxx.xxx.xxx-09bb0020", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
  dialparties.agi: Starting New Dialparties.agi
  dialparties.agi: priority is 1
  dialparties.agi: Caller ID name is 'Unknown' number is 'Unknown'
  dialparties.agi: Methodology of ring is  'none'
       >  dialparties.agi: USE_CONFIRMATION:  'FALSE'
       >  dialparties.agi: RINGGROUP_INDEX:   ''
    --  dialparties.agi: Added extension 1003 to extension map
    --  dialparties.agi: Extension 1003 cf is disabled
    --  dialparties.agi: Extension 1003 do not disturb is disabled
       >  dialparties.agi: extnum: 1003
       >  dialparties.agi: exthascw: 1
       >  dialparties.agi: exthascfb: 0
       >  dialparties.agi: extcfb:
       >  dialparties.agi: exthascfu: 0
       >  dialparties.agi: extcfu:
    --  dialparties.agi: DbDel CALLTRACE/1003 - Caller ID is not defined
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing Dial("SIP/xxx.xxx.xxx.xxx-09bb0020", "SIP/1003|60|") in new stack
    -- Called 1003
    -- SIP/1003-09b8a5b0 is ringing
    -- SIP/1003-09b8a5b0 answered SIP/xxx.xxx.xxx.xxx-09bb0020
    -- Attempting native bridge of SIP/xxx.xxx.xxx.xxx-09bb0020 and SIP/1003-09b8a5b0
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'SIP/xxx.xxx.xxx.xxx-09bb0020' in macro 'dial'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'SIP/xxx.xxx.xxx.xxx-09bb0020' in macro 'exten-vm'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'SIP/xxx.xxx.xxx.xxx-09bb0020'
    -- Executing Macro("SIP/xxx.xxx.xxx.xxx-09bb0020", "hangupcall") in new stack
    -- Executing ResetCDR("SIP/xxx.xxx.xxx.xxx-09bb0020", "w") in new stack
    -- Executing NoCDR("SIP/xxx.xxx.xxx.xxx-09bb0020", "") in new stack
    -- Executing GotoIf("SIP/xxx.xxx.xxx.xxx-09bb0020", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing GotoIf("SIP/xxx.xxx.xxx.xxx-09bb0020", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing Wait("SIP/xxx.xxx.xxx.xxx-09bb0020", "5") in new stack
    -- Got SIP response 503 "Unavailable" back from xxx.xxx.xxx.xxx
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/xxx.xxx.xxx.xxx-09bb0020' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/xxx.xxx.xxx.xxx-09bb0020'