elastix2.5 โทรออกสายนอกมันให้ใส่pin 2ครั้ง ต้องแก้ยังงัยครับ แก้ให้มันใส่pinแค่ครั้งเดียวนะครับ ดูตามlog
-- Executing [90817823453@from-internal:1] Macro("SIP/916-0000003c", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("SIP/916-0000003c", "TOUCH_MONITOR=1421199276.61") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/916-0000003c", "AMPUSER=916") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/916-0000003c", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/916-0000003c", "1?Set(REALCALLERIDNUM=916)") in new stack
-- Executing [s@macro-user-callerid:5] Set("SIP/916-0000003c", "AMPUSER=916") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("SIP/916-0000003c", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/916-0000003c", "AMPUSERCIDNAME=ict") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/916-0000003c", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/916-0000003c", "AMPUSERCID=916") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/916-0000003c", "__DIAL_OPTIONS=tr") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/916-0000003c", "CALLERID(all)="ict" <916>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("SIP/916-0000003c", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("SIP/916-0000003c", "1?Set(GROUP(concurrency_limit)=916)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("SIP/916-0000003c", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("SIP/916-0000003c", "1?continue") in new stack
-- Goto (macro-user-callerid,s,28)
-- Executing [s@macro-user-callerid:28] Set("SIP/916-0000003c", "CALLERID(number)=916") in new stack
-- Executing [s@macro-user-callerid:29] Set("SIP/916-0000003c", "CALLERID(name)=ict") in new stack
-- Executing [s@macro-user-callerid:30] Set("SIP/916-0000003c", "CDR(cnum)=916") in new stack
-- Executing [s@macro-user-callerid:31] Set("SIP/916-0000003c", "CDR(cnam)=ict") in new stack
-- Executing [s@macro-user-callerid:32] Set("SIP/916-0000003c", "CHANNEL(language)=en") in new stack
-- Executing [90817823657@from-internal:2] Macro("SIP/916-0000003c", "pinsets,1,1") in new stack
-- Executing [s@macro-pinsets:1] GotoIf("SIP/916-0000003c", "1 = 1?cdr,1") in new stack
-- Goto (macro-pinsets,cdr,1)
-- Executing [cdr@macro-pinsets:1] ExecIf("SIP/916-0000003c", "1?Authenticate(/etc/asterisk/pinset_1,a)") in new stack
> 0x2b44940c5950 -- Probation passed - setting RTP source address to 10.0.8.83:10000
-- <SIP/916-0000003c> Playing 'agent-pass.gsm' (language 'en')
-- <SIP/916-0000003c> Playing 'auth-thankyou.gsm' (language 'en')
-- Executing [cdr@macro-pinsets:2] ExecIf("SIP/916-0000003c", "1?ResetCDR()") in new stack
-- Executing [cdr@macro-pinsets:3] ExecIf("SIP/916-0000003c", "1?Authenticate(/etc/asterisk/pinset_1,a)") in new stack
-- <SIP/916-0000003c> Playing 'agent-pass.gsm' (language 'en')
-- <SIP/916-0000003c> Playing 'auth-thankyou.gsm' (language 'en')
-- Executing [cdr@macro-pinsets:4] ExecIf("SIP/916-0000003c", "1?ResetCDR()") in new stack
-- Executing [90817823657@from-internal:3] Set("SIP/916-0000003c", "MOHCLASS=default") in new stack
-- Executing [90817823657@from-internal:4] Set("SIP/916-0000003c", "_NODEST=") in new stack
-- Executing [90817823657@from-internal:5] Gosub("SIP/916-0000003c", "sub-record-check,s,1(out,90817823453,)") in new stack
-- Executing [s@sub-record-check:1] Set("SIP/916-0000003c", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("SIP/916-0000003c", "1?check") in new stack