FreePBX | Register | Issues | Wiki | Portal | Support

Not Seeing OUTBOUND_ROUTE_NAME anymore


(Jared Busch) #1

Fully updated FreePBX 14 and using Asterisk 16.

I have no value for ${OUTBOUND_ROUTE_NAME} this evening.

[macro-dialout-trunk-predial-hook]
exten => s,1,NoOp(Entering user defined context [macro-dialout-trunk-predial-hook] in extensions_custom.conf)
exten => s,n,NoOp(Outbound Route Name: ${OUTBOUND_ROUTE_NAME})
exten => s,n,DumpChan()
exten => s,n,Hangup()
exten => s,n(exit_macro),MacroExit()
    -- Executing [s@macro-dialout-trunk-predial-hook:1] NoOp("PJSIP/5199-0000012c", "Entering user defined context [macro-dialout-trunk-predial-hook] in extensions_custom.conf") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:2] NoOp("PJSIP/5199-0000012c", "Outbound Route Name: ") in new stack

Here is the dumpchan

Dumping Info For Channel: PJSIP/5199-0000012c:
================================================================================
Info:
Name=               PJSIP/5199-0000012c
Type=               PJSIP
UniqueID=           1564887073.388
LinkedID=           1564887073.388
CallerIDNum=        314XXXXXXX
CallerIDName=       (N/A)
ConnectedLineIDNum= (N/A)
ConnectedLineIDName=(N/A)
DNIDDigits=         3145551212
RDNIS=              (N/A)
Parkinglot=         
Language=           en
State=              Ring (4)
Rings=              1
NativeFormat=       (ulaw|alaw)
WriteFormat=        ulaw
ReadFormat=         ulaw
RawWriteFormat=     ulaw
RawReadFormat=      ulaw
WriteTranscode=     No 
ReadTranscode=      No 
1stFileDescriptor=  -1
Framesin=           0 
Framesout=          0 
TimetoHangup=       0
ElapsedTime=        0h0m0s
BridgeID=           (Not bridged)
Context=            macro-dialout-trunk-predial-hook
Extension=          s
Priority=           3
CallGroup=          
PickupGroup=        
Application=        DumpChan
Data=               (Empty)
Blocking_in=        (Not Blocking)

Variables:
MACRO_DEPTH=2
ARG1=
MACRO_PRIORITY=19
MACRO_CONTEXT=macro-dialout-trunk
MACRO_EXTEN=s
custom=PJSIP
OUTNUM=3145551212
TRUNKOUTCID=314XXXXXXX
EMERGENCYCID=
USEROUTCID=
DB_RESULT=
DIAL_TRUNK_OPTIONS=T
OUTBOUND_GROUP=OUT_5
DIAL_NUMBER=3145551212
DIAL_TRUNK=5
ARG4=on
ARG3=
ARG2=3145551212
NODEST=
TRUNKCIDOVERRIDE=3144XXXXXXX
MOHCLASS=default
GOSUB_RETVAL=
RECMODE=dontcare
REC_POLICY_MODE_SAVE=
MON_FMT=wav
FROMEXTEN=5199
TIMESTR=20190803-215113
YEAR=2019
MONTH=08
DAY=03
NOW=1564887073
REC_STATUS=INITIALIZED
DIAL_OPTIONS=Ttr
AMPUSERCID=5199
AMPUSERCIDNAME=IT - Jared
AMPUSER=5199
REALCALLERIDNUM=5199
TOUCH_MONITOR=1564887073.388
================================================================================

(Lorne Gaetz) #2

Enable NoOp traces in advanced settings.


(Jared Busch) #3

For anyone that finds this later, setting NoOp traces to 1 (from 0) makes that variable available.


(system) closed #4

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