dear suhu …
hasil kok langsung hangup after pin accepted ya …
trus pin berapapun yang saya masukkan … pin number accepted …
berikut adalah log nya …
Connected to Asterisk 11.25.0 currently running on mapcom (pid = 5960)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
[2017-03-22 14:37:15] WARNING[5979][C-00000002]: chan_sip.c:11150 process_sdp_a_audio: Got Opus useinbandfec=1
– Executing [02161323608@from-internal:1] Macro(“SIP/1008-00000003”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/1008-00000003”, “TOUCH_MONITOR=1490168235.3”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/1008-00000003”, “AMPUSER=1008”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/1008-00000003”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/1008-00000003”, “1?Set(REALCALLERIDNUM=1008)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/1008-00000003”, “AMPUSER=1008”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/1008-00000003”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/1008-00000003”, “AMPUSERCIDNAME=mapcom”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/1008-00000003”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/1008-00000003”, “AMPUSERCID=1008”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/1008-00000003”, “__DIAL_OPTIONS=tr”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/1008-00000003”, “CALLERID(all)=“mapcom” <1008>”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/1008-00000003”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/1008-00000003”, “1?Set(GROUP(concurrency_limit)=1008)”) in new stack
– Executing [s@macro-user-callerid:14] ExecIf(“SIP/1008-00000003”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:15] GotoIf(“SIP/1008-00000003”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,28)
– Executing [s@macro-user-callerid:28] Set(“SIP/1008-00000003”, “CALLERID(number)=1008”) in new stack
– Executing [s@macro-user-callerid:29] Set(“SIP/1008-00000003”, “CALLERID(name)=mapcom”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/1008-00000003”, “CDR(cnum)=1008”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/1008-00000003”, “CDR(cnam)=mapcom”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/1008-00000003”, “CHANNEL(language)=en”) in new stack
– Executing [02161323608@from-internal:2] Set(“SIP/1008-00000003”, “MOHCLASS=default”) in new stack
– Executing [02161323608@from-internal:3] Set(“SIP/1008-00000003”, “_NODEST=”) in new stack
– Executing [02161323608@from-internal:4] Gosub(“SIP/1008-00000003”, “sub-record-check,s,1(out,02161323608,)”) in new stack
– Executing [s@sub-record-check:1] Set(“SIP/1008-00000003”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:2] GotoIf(“SIP/1008-00000003”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [s@sub-record-check:7] Set(“SIP/1008-00000003”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:8] GotoIf(“SIP/1008-00000003”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [s@sub-record-check:11] ExecIf(“SIP/1008-00000003”, “0?Return()”) in new stack
– Executing [s@sub-record-check:12] ExecIf(“SIP/1008-00000003”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [s@sub-record-check:13] GotoIf(“SIP/1008-00000003”, “0?out,1”) in new stack
– Executing [s@sub-record-check:14] Set(“SIP/1008-00000003”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:15] Set(“SIP/1008-00000003”, “NOW=1490168235”) in new stack
– Executing [s@sub-record-check:16] Set(“SIP/1008-00000003”, “__DAY=22”) in new stack
– Executing [s@sub-record-check:17] Set(“SIP/1008-00000003”, “__MONTH=03”) in new stack
– Executing [s@sub-record-check:18] Set(“SIP/1008-00000003”, “__YEAR=2017”) in new stack
– Executing [s@sub-record-check:19] Set(“SIP/1008-00000003”, “__TIMESTR=20170322-143715”) in new stack
– Executing [s@sub-record-check:20] Set(“SIP/1008-00000003”, “__FROMEXTEN=1008”) in new stack
– Executing [s@sub-record-check:21] Set(“SIP/1008-00000003”, “__CALLFILENAME=out-02161323608-1008-20170322-143715-1490168235.3”) in new stack
– Executing [s@sub-record-check:22] Goto(“SIP/1008-00000003”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] ExecIf(“SIP/1008-00000003”, “1?Set(__REC_POLICY_MODE=dontcare)”) in new stack
– Executing [out@sub-record-check:2] GosubIf(“SIP/1008-00000003”, “0?record,1(exten,02161323608,1008)”) in new stack
– Executing [out@sub-record-check:3] Return(“SIP/1008-00000003”, “”) in new stack
– Executing [02161323608@from-internal:5] Macro(“SIP/1008-00000003”, “dialout-trunk,2,8711622161323608,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/1008-00000003”, “DIAL_TRUNK=2”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/1008-00000003”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/1008-00000003”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/1008-00000003”, “DIAL_NUMBER=8711622161323608”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/1008-00000003”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/1008-00000003”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/1008-00000003”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/1008-00000003”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/1008-00000003”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/1008-00000003”, “outbound-callerid,2”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/1008-00000003”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/1008-00000003”, “0?Set(REALCALLERIDNUM=1008)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/1008-00000003”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/1008-00000003”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/1008-00000003”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/1008-00000003”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/1008-00000003”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/1008-00000003”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/1008-00000003”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/1008-00000003”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/1008-00000003”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“SIP/1008-00000003”, “CDR(outbound_cnum)=1008”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“SIP/1008-00000003”, “CDR(outbound_cnam)=mapcom”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/1008-00000003”, “0?sub-flp-2,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/1008-00000003”, “OUTNUM=8711622161323608”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/1008-00000003”, “custom=SIP/MAPCOM”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/1008-00000003”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/1008-00000003”, “0?Set(DIAL_TRUNK_OPTIONS=M(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/1008-00000003”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/1008-00000003”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/1008-00000003”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/1008-00000003”, “1?Set(CONNECTEDLINE(num,i)=8711622161323608)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/1008-00000003”, “1?Set(CONNECTEDLINE(name,i)=CID:1008)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/1008-00000003”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“SIP/1008-00000003”, “SIP/MAPCOM/8711622161323608,300,”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/MAPCOM/8711622161323608
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [02161323608@custom-incoming:1] NoOp(“SIP/MAPCOM-00000005”, “Custom Incoming Call”) in new stack
– Executing [02161323608@custom-incoming:2] Read(“SIP/MAPCOM-00000005”, “DSTEXT,pls-entr-num-uwish2-call”) in new stack
– SIP/MAPCOM-00000004 is making progress passing it to SIP/1008-00000003
> 0x4f9e900 – Probation passed - setting RTP source address to 192.168.100.2:61758
– <SIP/MAPCOM-00000005> Playing ‘pls-entr-num-uwish2-call.gsm’ (language ‘en’)
– SIP/MAPCOM-00000004 answered SIP/1008-00000003
> 0x4f99310 – Probation passed - setting RTP source address to 27.123.36.50:18396
> 0x4f4a400 – Probation passed - setting RTP source address to 27.123.36.50:18424
– User entered ‘100011’
– Executing [02161323608@custom-incoming:3] Read(“SIP/MAPCOM-00000005”, “PIN,please-enter-the&pin_number”) in new stack
– <SIP/MAPCOM-00000005> Playing ‘please-enter-the.gsm’ (language ‘en’)
– <SIP/MAPCOM-00000005> Playing ‘pin_number.gsm’ (language ‘en’)
– User entered ‘120030445050789’
– Executing [02161323608@custom-incoming:4] GotoIf(“SIP/MAPCOM-00000005”, “0?PINOK”) in new stack
– Executing [02161323608@custom-incoming:5] Playback(“SIP/MAPCOM-00000005”, “pin-invalid)same = n,Goto(INPUTPIN”) in new stack
[2017-03-22 14:37:44] WARNING[6071][C-00000003]: file.c:701 ast_openstream_full: File pin-invalid)same = n does not exist in any format
[2017-03-22 14:37:44] WARNING[6071][C-00000003]: file.c:1017 ast_streamfile: Unable to open pin-invalid)same = n (format (alaw)): No such file or directory
[2017-03-22 14:37:44] WARNING[6071][C-00000003]: app_playback.c:484 playback_exec: ast_streamfile failed on SIP/MAPCOM-00000005 for pin-invalid)same = n,Goto(INPUTPIN
– Executing [02161323608@custom-incoming:6] Playback(“SIP/MAPCOM-00000005”, “pin-number-accepted”) in new stack
– <SIP/MAPCOM-00000005> Playing ‘pin-number-accepted.gsm’ (language ‘en’)
– Executing [02161323608@custom-incoming:7] Set(“SIP/MAPCOM-00000005”, “LIMIT_WARNING_FILE=call-in-warning-limit”) in new stack
– Executing [02161323608@custom-incoming:8] Dial(“SIP/MAPCOM-00000005”, “SIP/100011,60,L(600000:3000:1000)”) in new stack
> Limit Data for this call:
> timelimit = 600000 ms (600.000 s)
> play_warning = 3000 ms (3.000 s)
> play_to_caller = yes
> play_to_callee = no
> warning_freq = 1000 ms (1.000 s)
> start_sound =
> warning_sound = call-in-warning-limit
> end_sound =
[2017-03-22 14:37:45] WARNING[6071][C-00000003]: chan_sip.c:6064 create_addr: Purely numeric hostname (100011), and not a peer–rejecting!
[2017-03-22 14:37:45] WARNING[6071][C-00000003]: app_dial.c:2455 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Subscriber absent)
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [02161323608@custom-incoming:9] Hangup(“SIP/MAPCOM-00000005”, “”) in new stack
== Spawn extension (custom-incoming, 02161323608, 9) exited non-zero on ‘SIP/MAPCOM-00000005’
– Executing [h@macro-dialout-trunk:1] Macro(“SIP/1008-00000003”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/1008-00000003”, “1?endmixmoncheck”) in new stack
– Goto (macro-hangupcall,s,20)
– Executing [s@macro-hangupcall:20] NoOp(“SIP/1008-00000003”, “End of MIXMON check”) in new stack
– Executing [s@macro-hangupcall:21] GotoIf(“SIP/1008-00000003”, “1?nomeetmemon”) in new stack
– Goto (macro-hangupcall,s,39)
– Executing [s@macro-hangupcall:39] NoOp(“SIP/1008-00000003”, “End of MEETME check”) in new stack
– Executing [s@macro-hangupcall:40] GotoIf(“SIP/1008-00000003”, “1?noautomon”) in new stack
– Goto (macro-hangupcall,s,45)
– Executing [s@macro-hangupcall:45] NoOp(“SIP/1008-00000003”, “TOUCH_MONITOR_OUTPUT=”) in new stack
– Executing [s@macro-hangupcall:46] GotoIf(“SIP/1008-00000003”, “1?noautomon2”) in new stack
– Goto (macro-hangupcall,s,52)
– Executing [s@macro-hangupcall:52] NoOp(“SIP/1008-00000003”, “MONITOR_FILENAME=”) in new stack
– Executing [s@macro-hangupcall:53] GotoIf(“SIP/1008-00000003”, “1?noautomon3”) in new stack
– Goto (macro-hangupcall,s,59)
– Executing [s@macro-hangupcall:59] NoOp(“SIP/1008-00000003”, “MIXMONITOR_FILENAME=”) in new stack
– Executing [s@macro-hangupcall:60] GotoIf(“SIP/1008-00000003”, “1?noautomon4”) in new stack
– Goto (macro-hangupcall,s,62)
– Executing [s@macro-hangupcall:62] NoOp(“SIP/1008-00000003”, “ONETOUCH_RECFILE=”) in new stack
– Executing [s@macro-hangupcall:63] NoOp(“SIP/1008-00000003”, "CDR recordingfile set to: ") in new stack
– Executing [s@macro-hangupcall:64] GotoIf(“SIP/1008-00000003”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,67)
– Executing [s@macro-hangupcall:67] GotoIf(“SIP/1008-00000003”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,70)
– Executing [s@macro-hangupcall:70] GotoIf(“SIP/1008-00000003”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,72)
– Executing [s@macro-hangupcall:72] AGI(“SIP/1008-00000003”, “hangup.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/hangup.agi
– <SIP/1008-00000003>AGI Script hangup.agi completed, returning 0
– Executing [s@macro-hangupcall:73] Hangup(“SIP/1008-00000003”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 73) exited non-zero on ‘SIP/1008-00000003’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/1008-00000003’
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/1008-00000003’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 02161323608, 5) exited non-zero on ‘SIP/1008-00000003’
