@songjiekris wrote:
sorry my english is pool,i will try my best to descrip my qustion.
i am going to update our freepbx 2.9 to 14,this is a big span.
something wrong is in custom destionation.
[root@localhost ~]# more /etc/asterisk/extensions_custom.conf
[mobile]
exten =>828655555,998,Set(MEXTEN=${EXTEN})
Loop detected in monitoring script. Issue with Asterisk? Restarting!
– PJSIP/55555-00000001 is ringing
– Nobody picked up in 7000 ms
– Executing [s@macro-dial:23] Set("PJSIP/55555-00000000", "DIALSTATUS=NOANSWER") in new stack
– Executing [s@macro-dial:24] GosubIf("PJSIP/55555-00000000", "0?NOANSWER,1()") in new stack
– Executing [s@macro-dial:25] NoOp("PJSIP/55555-00000000", "Returning since nobody answered") in new stack
– Executing [s@macro-dial:26] MacroExit("PJSIP/55555-00000000", "") in new stack
– Executing [55555@followme-sub:41] Goto("PJSIP/55555-00000000", "nextstep") in new stack
– Goto (followme-sub,55555,46)
– Executing [55555@followme-sub:46] Set("PJSIP/55555-00000000", "RingGroupMethod=") in new stack
– Executing [55555@followme-sub:47] GotoIf("PJSIP/55555-00000000", "0?nodest") in new stack
– Executing [55555@followme-sub:48] Set("PJSIP/55555-00000000", "__NODEST=") in new stack
– Executing [55555@followme-sub:49] Set("PJSIP/55555-00000000", "__PICKUPMARK=") in new stack
– Executing [55555@followme-sub:50] Macro("PJSIP/55555-00000000", "blkvm-clr,") in new stack
– Executing [s@macro-blkvm-clr:1] Set("PJSIP/55555-00000000", "SHARED(BLKVM,PJSIP/55555-00000000)=") in new stack
– Executing [s@macro-blkvm-clr:2] Set("PJSIP/55555-00000000", "GOSUB_RETVAL=") in new stack
– Executing [s@macro-blkvm-clr:3] MacroExit("PJSIP/55555-00000000", "") in new stack
– Executing [55555@followme-sub:51] Set("PJSIP/55555-00000000", "DIALSTATUS=NOANSWER") in new stack
– Executing [55555@followme-sub:52] GotoIf("PJSIP/55555-00000000", "0?dohangup") in new stack
– Executing [55555@followme-sub:53] Goto("PJSIP/55555-00000000", "mobile,8286${EXTEN},998") in new stack
– Goto (mobile,8286${EXTEN},998)
[2019-04-23 15:53:49] WARNING[89189][C-00000001]: pbx.c:4461 __ast_pbx_run: Channel ‘PJSIP/55555-00000000’ sent to invalid extension but no invalid handler: context,exten,priority=mobile,8286${EXTEN},998
question: Standard Channel Variables ${EXTEN} is empty, it should be my current number 55555
normal is: mobile,82865555,998
Posts: 1
Participants: 1