So i’ve set up the ivr per the various instructions that i have found (wiki forum etc) I’ve tried to make the digit 1 to call an outside number. I first tried it as a custom destination. No go. Then i found where someone suggested to make it a ring group. so when i did that i at least got the hold music. The person at that number said that she received a call but upon saying hello the system hung up. Since i was originating the call i went from the hold music back into the ivr. Below is the output from asterisk during the call. what am i missing?:
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘+18505706463’ number is ‘8505706463’
> dialparties.agi: USE_CONFIRMATION: ‘FALSE’
> dialparties.agi: RINGGROUP_INDEX: ''
dialparties.agi: Methodology of ring is ‘ringall’
– dialparties.agi: Added extension 7275357729# to extension map
– dialparties.agi: Extension 7275357729# cf is disabled
> dialparties.agi: extnum 7275357729# has: cw: 0; hascfb: 0 [] hascfu: 0 []
> dialparties.agi: Built External dialstring component for 7275357729: Local/[email protected]/n
– dialparties.agi: Filtered ARG3: 7275357729
> dialparties.agi: NODEST: 601 adding M(auto-blkvm) to dialopts: m(default)TtM(auto-blkvm)
> dialparties.agi: NODEST: 601 blkvm enabled macro already in dialopts: m(default)TtM(auto-blkvm)
– <SIP/159299_Office-00000158>AGI Script dialparties.agi completed, returning 0
– Executing [[email protected]:7] Dial(“SIP/159299_Office-00000158”, “Local/[email protected]/n,20,m(default)TtM(auto-blkvm)”) in new stack
– Called Local/[email protected]/n
– Started music on hold, class ‘default’, on SIP/159299_Office-00000158
– Executing [[email protected]:1] Macro(“Local/[email protected];2”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “TOUCH_MONITOR=1422554445.1484”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “AMPUSER=8505706463”) in new stack
– Executing [[email protected]:3] GotoIf(“Local/[email protected];2”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“Local/[email protected];2”, “1?Set(REALCALLERIDNUM=8505706463)”) in new stack
– Executing [[email protected]:5] Set(“Local/[email protected];2”, “AMPUSER=”) in new stack
– Executing [[email protected]:6] GotoIf(“Local/[email protected];2”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“Local/[email protected];2”, “AMPUSERCIDNAME=”) in new stack
– Executing [[email protected]:8] GotoIf(“Local/[email protected];2”, “1?report”) in new stack
– Goto (macro-user-callerid,s,15)
– Executing [[email protected]:15] GotoIf(“Local/[email protected];2”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,28)
– Executing [[email protected]:28] Set(“Local/[email protected];2”, “CALLERID(number)=8505706463”) in new stack
– Executing [[email protected]:29] Set(“Local/[email protected];2”, “CALLERID(name)=+18505706463”) in new stack
– Executing [[email protected]:30] Set(“Local/[email protected];2”, “CDR(cnum)=8505706463”) in new stack
– Executing [[email protected]:31] Set(“Local/[email protected];2”, “CDR(cnam)=+18505706463”) in new stack
– Executing [[email protected]:32] Set(“Local/[email protected];2”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“Local/[email protected];2”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:3] ExecIf(“Local/[email protected];2”, “0?Set(TRUNKCIDOVERRIDE=8504021116)”) in new stack
– Executing [[email protected]:4] Set(“Local/[email protected];2”, “_NODEST=”) in new stack
– Executing [[email protected]:5] Gosub(“Local/[email protected];2”, “sub-record-check,s,1(out,7275357729,)”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “REC_POLICY_MODE_SAVE=dontcare”) in new stack
– Executing [[email protected]:2] GotoIf(“Local/[email protected];2”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [[email protected]:7] Set(“Local/[email protected];2”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:8] GotoIf(“Local/[email protected];2”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [[email protected]:11] ExecIf(“Local/[email protected];2”, “0?Return()”) in new stack
– Executing [[email protected]:12] ExecIf(“Local/[email protected];2”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [[email protected]:13] GotoIf(“Local/[email protected];2”, “1?out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] ExecIf(“Local/[email protected];2”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [[email protected]:2] GosubIf(“Local/[email protected];2”, “0?record,1(exten,7275357729,8505706463)”) in new stack
– Executing [[email protected]:3] Return(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:6] Macro(“Local/[email protected];2”, “dialout-trunk,2,7275357729,off”) in new stack
– Executing [[email protected]:1] Set(“Local/[email protected];2”, “DIAL_TRUNK=2”) in new stack
– Executing [[email protected]:2] GosubIf(“Local/[email protected];2”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“Local/[email protected];2”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“Local/[email protected];2”, “DIAL_NUMBER=7275357729”) in new stack
– Executing [[email protected]:5] Set(“Local/[email protected];2”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [[email protected]:6] Set(“Local/[email protected];2”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [[email protected]:7] GotoIf(“Local/[email protected];2”, “0?nomax”) in new stack
– Executing [[email protected]:8] GotoIf(“Local/[email protected];2”, “0?chanfull”) in new stack
– Executing [[email protected]:9] GotoIf(“Local/[email protected];2”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“Local/[email protected];2”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [[email protected]:11] Macro(“Local/[email protected];2”, “outbound-callerid,2”) in new stack
– Executing [[email protected]:1] ExecIf(“Local/[email protected];2”, “1?Set(CALLERPRES()=allowed_not_screened)”) in new stack
– Executing [[email protected]:2] ExecIf(“Local/[email protected];2”, “0?Set(REALCALLERIDNUM=8505706463)”) in new stack
– Executing [[email protected]:3] GotoIf(“Local/[email protected];2”, “0?normcid”) in new stack
– Executing [[email protected]:4] Set(“Local/[email protected];2”, “USEROUTCID=8505706463”) in new stack
– Executing [[email protected]:5] GotoIf(“Local/[email protected];2”, “1?bypass”) in new stack
– Goto (macro-outbound-callerid,s,7)
– Executing [[email protected]:7] Set(“Local/[email protected];2”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“Local/[email protected];2”, “TRUNKOUTCID=8504021116”) in new stack
– Executing [[email protected]:9] GotoIf(“Local/[email protected];2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [[email protected]:14] ExecIf(“Local/[email protected];2”, “1?Set(CALLERID(all)=8504021116)”) in new stack
– Executing [[email protected]:15] ExecIf(“Local/[email protected];2”, “1?Set(CALLERID(all)=8505706463)”) in new stack
– Executing [[email protected]:16] ExecIf(“Local/[email protected];2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:17] ExecIf(“Local/[email protected];2”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:18] Set(“Local/[email protected];2”, “CDR(outbound_cnum)=8505706463”) in new stack
– Executing [[email protected]:19] Set(“Local/[email protected];2”, “CDR(outbound_cnam)=”) in new stack
– Executing [[email protected]:12] GosubIf(“Local/[email protected];2”, “1?sub-flp-2,s,1()”) in new stack
– Executing [[email protected]:1] ExecIf(“Local/[email protected];2”, “0?Return()”) in new stack
– Executing [[email protected]:2] ExecIf(“Local/[email protected];2”, “0?Return()”) in new stack
– Executing [[email protected]:3] ExecIf(“Local/[email protected];2”, “0?Return()”) in new stack
– Executing [[email protected]:4] Return(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:13] Set(“Local/[email protected];2”, “OUTNUM=7275357729”) in new stack
– Executing [[email protected]:14] Set(“Local/[email protected];2”, “custom=SIP/159299_Office”) in new stack
– Executing [[email protected]:15] ExecIf(“Local/[email protected];2”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [[email protected]:16] ExecIf(“Local/[email protected];2”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“Local/[email protected];2”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“Local/[email protected];2”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“Local/[email protected];2”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“Local/[email protected];2”, “0?Set(CONNECTEDLINE(num,i)=7275357729)”) in new stack
– Executing [[email protected]:20] ExecIf(“Local/[email protected];2”, “0?Set(CONNECTEDLINE(name,i)=CID:8505706463)”) in new stack
– Executing [[email protected]:21] GotoIf(“Local/[email protected];2”, “0?customtrunk”) in new stack
– Executing [[email protected]:22] Dial(“Local/[email protected];2”, “SIP/159299_Office/7275357729,300,Tt”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/159299_Office/7275357729
– SIP/159299_Office-00000159 is making progress passing it to Local/[email protected];2
– Local/[email protected];1 is making progress passing it to SIP/159299_Office-00000158
– Nobody picked up in 20000 ms
– Stopped music on hold on SIP/159299_Office-00000158