Hi Nick,
I thought you had gone on a holiday:slight_smile:
Thank you, you are right it was going to be too much getting test and questions from the both of you at the sane time.
I enabled G.729 on the phones and put as priority, the service provider has also told me to enable G.729 is enabled see image below
Also on Asterisks I have enabled alwaw/ulaw see image below
Now the when I dial the line just goes dead, and later a message will come saying “The number is not answering”
The log for when I call are below:
=========================================================================
Connected to Asterisk 13.12.1 currently running on localhost (pid = 2069)
-- Executing [0812641154@from-internal:1] Macro("PJSIP/2004-0000000e", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("PJSIP/2004-0000000e", "TOUCH_MONITOR=1489393162.14") in new stack
-- Executing [s@macro-user-callerid:2] Set("PJSIP/2004-0000000e", "AMPUSER=2004") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/2004-0000000e", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/2004-0000000e", "1?Set(REALCALLERIDNUM=2004)") in new stack
-- Executing [s@macro-user-callerid:5] Set("PJSIP/2004-0000000e", "AMPUSER=2004") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/2004-0000000e", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("PJSIP/2004-0000000e", "AMPUSERCIDNAME=Thokozani") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/2004-0000000e", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("PJSIP/2004-0000000e", "AMPUSERCID=2004") in new stack
-- Executing [s@macro-user-callerid:10] Set("PJSIP/2004-0000000e", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("PJSIP/2004-0000000e", "CALLERID(all)="Thokozani" <2004>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("PJSIP/2004-0000000e", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/2004-0000000e", "1?Set(GROUP(concurrency_limit)=2004)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/2004-0000000e", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GotoIf("PJSIP/2004-0000000e", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("PJSIP/2004-0000000e", "CALLERID(number)=2004") in new stack
-- Executing [s@macro-user-callerid:30] Set("PJSIP/2004-0000000e", "CALLERID(name)=Thokozani") in new stack
-- Executing [s@macro-user-callerid:31] GotoIf("PJSIP/2004-0000000e", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:32] Set("PJSIP/2004-0000000e", "CDR(cnam)=Thokozani") in new stack
-- Executing [s@macro-user-callerid:33] Set("PJSIP/2004-0000000e", "CDR(cnum)=2004") in new stack
-- Executing [s@macro-user-callerid:34] Set("PJSIP/2004-0000000e", "CHANNEL(language)=en_GB") in new stack
-- Executing [0812641154@from-internal:2] Gosub("PJSIP/2004-0000000e", "sub-record-check,s,1(out,0812641154,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("PJSIP/2004-0000000e", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("PJSIP/2004-0000000e", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("PJSIP/2004-0000000e", "NOW=1489393162") in new stack
-- Executing [s@sub-record-check:4] Set("PJSIP/2004-0000000e", "__DAY=13") in new stack
-- Executing [s@sub-record-check:5] Set("PJSIP/2004-0000000e", "__MONTH=03") in new stack
-- Executing [s@sub-record-check:6] Set("PJSIP/2004-0000000e", "__YEAR=2017") in new stack
-- Executing [s@sub-record-check:7] Set("PJSIP/2004-0000000e", "__TIMESTR=20170313-101922") in new stack
-- Executing [s@sub-record-check:8] Set("PJSIP/2004-0000000e", "__FROMEXTEN=2004") in new stack
-- Executing [s@sub-record-check:9] Set("PJSIP/2004-0000000e", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("PJSIP/2004-0000000e", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("PJSIP/2004-0000000e", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("PJSIP/2004-0000000e", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("PJSIP/2004-0000000e", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("PJSIP/2004-0000000e", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("PJSIP/2004-0000000e", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("PJSIP/2004-0000000e", "Outbound Recording Check from 2004 to 0812641154") in new stack
-- Executing [out@sub-record-check:2] Set("PJSIP/2004-0000000e", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("PJSIP/2004-0000000e", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("PJSIP/2004-0000000e", "recordcheck,1(dontcare,out,0812641154)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/2004-0000000e", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/2004-0000000e", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("PJSIP/2004-0000000e", "") in new stack
-- Executing [out@sub-record-check:8] Return("PJSIP/2004-0000000e", "") in new stack
-- Executing [0812641154@from-internal:3] ExecIf("PJSIP/2004-0000000e", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [0812641154@from-internal:4] Set("PJSIP/2004-0000000e", "MOHCLASS=default") in new stack
-- Executing [0812641154@from-internal:5] ExecIf("PJSIP/2004-0000000e", "1?Set(TRUNKCIDOVERRIDE=27872884271)") in new stack
-- Executing [0812641154@from-internal:6] Set("PJSIP/2004-0000000e", "_NODEST=") in new stack
-- Executing [0812641154@from-internal:7] Macro("PJSIP/2004-0000000e", "dialout-trunk,1,0812641154,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("PJSIP/2004-0000000e", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("PJSIP/2004-0000000e", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("PJSIP/2004-0000000e", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("PJSIP/2004-0000000e", "DIAL_NUMBER=0812641154") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("PJSIP/2004-0000000e", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("PJSIP/2004-0000000e", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/2004-0000000e", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing [s@macro-dialout-trunk:9] GotoIf("PJSIP/2004-0000000e", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("PJSIP/2004-0000000e", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("PJSIP/2004-0000000e", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("PJSIP/2004-0000000e", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("PJSIP/2004-0000000e", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:3] ExecIf("PJSIP/2004-0000000e", "0?Set(REALCALLERIDNUM=2004)") in new stack
-- Executing [s@macro-outbound-callerid:4] GotoIf("PJSIP/2004-0000000e", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("PJSIP/2004-0000000e", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("PJSIP/2004-0000000e", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] Set("PJSIP/2004-0000000e", "TRUNKOUTCID=27872884271") in new stack
-- Executing [s@macro-outbound-callerid:10] GotoIf("PJSIP/2004-0000000e", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,15)
-- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/2004-0000000e", "1?Set(CALLERID(all)=27872884271)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("PJSIP/2004-0000000e", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("PJSIP/2004-0000000e", "1?Set(CALLERID(all)=27872884271)") in new stack
-- Executing [s@macro-outbound-callerid:18] ExecIf("PJSIP/2004-0000000e", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:19] ExecIf("PJSIP/2004-0000000e", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:20] Set("PJSIP/2004-0000000e", "CDR(outbound_cnum)=27872884271") in new stack
-- Executing [s@macro-outbound-callerid:21] Set("PJSIP/2004-0000000e", "CDR(outbound_cnam)=") in new stack
[2017-03-13 10:19:22] WARNING[2105]: func_cdr.c:383 cdr_write_callback: CDR requires a value (CDR(variable)=value)
-- Executing [s@macro-dialout-trunk:12] GosubIf("PJSIP/2004-0000000e", "0?sub-flp-1,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("PJSIP/2004-0000000e", "OUTNUM=0812641154") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("PJSIP/2004-0000000e", "custom=PJSIP") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("PJSIP/2004-0000000e", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("PJSIP/2004-0000000e", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("PJSIP/2004-0000000e", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/2004-0000000e", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("PJSIP/2004-0000000e", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/2004-0000000e", "1?Set(CONNECTEDLINE(num,i)=0812641154)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/2004-0000000e", "1?Set(CONNECTEDLINE(name,i)=CID:27872884271)") in new stack
-- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/2004-0000000e", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)27872884271)") in new stack
-- Executing [s@macro-dialout-trunk:22] GotoIf("PJSIP/2004-0000000e", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:23] Dial("PJSIP/2004-0000000e", "PJSIP/0812641154@PJ,300,T") in new stack
-- Called PJSIP/0812641154@PJ
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:24] NoOp("PJSIP/2004-0000000e", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18") in new stack
-- Executing [s@macro-dialout-trunk:25] GotoIf("PJSIP/2004-0000000e", "0?continue,1:s-CHANUNAVAIL,1") in new stack
-- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("PJSIP/2004-0000000e", "RC=18") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/2004-0000000e", "18,1") in new stack
-- Goto (macro-dialout-trunk,18,1)
-- Executing [18@macro-dialout-trunk:1] Goto("PJSIP/2004-0000000e", "s-NOANSWER,1") in new stack
-- Goto (macro-dialout-trunk,s-NOANSWER,1)
-- Executing [s-NOANSWER@macro-dialout-trunk:1] NoOp("PJSIP/2004-0000000e", "Dial failed due to trunk reporting NOANSWER - giving up") in new stack
-- Executing [s-NOANSWER@macro-dialout-trunk:2] Progress("PJSIP/2004-0000000e", "") in new stack
-- Executing [s-NOANSWER@macro-dialout-trunk:3] Playback("PJSIP/2004-0000000e", "number-not-answering,noanswer") in new stack
-- <PJSIP/2004-0000000e> Playing 'number-not-answering.ulaw' (language 'en_GB')
> 0x7fe38805cf20 -- Probation passed - setting RTP source address to 192.168.2.204:64042
-- Executing [s-NOANSWER@macro-dialout-trunk:4] Congestion("PJSIP/2004-0000000e", "20") in new stack
[2017-03-13 10:19:56] WARNING[8079][C-00000007]: channel.c:4928 ast_prod: Prodding channel 'PJSIP/2004-0000000e' failed
== Spawn extension (macro-dialout-trunk, s-NOANSWER, 4) exited non-zero on 'PJSIP/2004-0000000e' in macro 'dialout-trunk'
== Spawn extension (from-internal, 0812641154, 7) exited non-zero on 'PJSIP/2004-0000000e'
-- Executing [h@from-internal:1] Macro("PJSIP/2004-0000000e", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/2004-0000000e", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/2004-0000000e", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("PJSIP/2004-0000000e", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/2004-0000000e' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/2004-0000000e'