Explain outgoing conference calling

Hello Everyone,

I’m playing a bit with the ability to create outbound conference calls.

I have some Polycom IP550 phones, when I try to “conference” in another call it works fine on internal extensions, but when trying to get an outside trunk it fails saying “Your call can not be completed as dialed”.

I do not see anything in the logs indicating it is trying to create an outbound call (see below). Since I am a bit new to FreePBX, I most likely (probably) and could guarantee I am doing something wrong :wink:

Any insight, documentation links, etc. Would be greatly appreciated. I have been searching around a bit and can find bunches of information on the conference call module but not on this specific topic.

Best Regards,

Chris

(Small update: looks like I cant post logs because i’m a “new user” and a filter on the forums is thinking i’m posting “links”, not sure how to get my logs out there will try them in a separate reply to this post).

018-03-10 17:08:22] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:1] ResetCDR(“PJSIP/601-00000015”, “”) in new stack
[2018-03-10 17:08:22] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:2] NoCDR(“PJSIP/601-00000015”, “”) in new stack
[2018-03-10 17:08:22] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:3] Progress(“PJSIP/601-00000015”, “”) in new stack
[2018-03-10 17:08:22] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:4] Wait(“PJSIP/601-00000015”, “1”) in new stack
[2018-03-10 17:08:23] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:5] Playback(“PJSIP/601-00000015”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
[2018-03-10 17:08:23] VERBOSE[10217][C-0000000f] file.c: <PJSIP/601-00000015> Playing ‘silence/1.ulaw’ (language ‘en’)
[2018-03-10 17:08:24] VERBOSE[10217][C-0000000f] file.c: <PJSIP/601-00000015> Playing ‘cannot-complete-as-dialed.ulaw’ (language ‘en’)
[2018-03-10 17:08:26] VERBOSE[10217][C-0000000f] file.c: <PJSIP/601-00000015> Playing ‘check-number-dial-again.ulaw’ (language ‘en’)
[2018-03-10 17:08:29] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:6] Wait(“PJSIP/601-00000015”, “1”) in new stack
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:7] Congestion(“PJSIP/601-00000015”, “20”) in new stack
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] pbx.c: Spawn extension (from-internal, 9141754013, 7) exited non-zero on ‘PJSIP/601-00000015’
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:1] Macro(“PJSIP/601-00000015”, “hangupcall”) in new stack
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:1] GotoIf(“PJSIP/601-00000015”, “1?theend”) in new stack
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/601-00000015”, “0?Set(CDR(recordingfile)=)”) in new stack
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:4] NoOp(“PJSIP/601-00000015”, " monior file= ") in new stack
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:5] AGI(“PJSIP/601-00000015”, “attendedtransfer-rec-restart.php,”) in new stack
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] res_agi.c: <PJSIP/601-00000015>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] pbx.c: Executing [[email protected]:6] Hangup(“PJSIP/601-00000015”, “”) in new stack
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/601-00000015’ in macro ‘hangupcall’
[2018-03-10 17:08:30] VERBOSE[10217][C-0000000f] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/601-00000015’

Can you dial 9141754013 from an extension? Post a log.

Heya, Yes I sure can. it dials out just fine.

Log of dial out:
[2018-03-10 17:54:12] VERBOSE[16701] pbx_variables.c: Setting global variable ‘SIPDOMAIN’ to ‘pbx.netexconsult.com
[2018-03-10 17:54:12] VERBOSE[16701] netsock2.c: Using SIP RTP Audio TOS bits 184
[2018-03-10 17:54:12] VERBOSE[16701] netsock2.c: Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2018-03-10 17:54:12] VERBOSE[16701] netsock2.c: Using SIP RTP Audio CoS mark 5
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:1] Macro(“PJSIP/601-0000001d”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:1] Set(“PJSIP/601-0000001d”, “TOUCH_MONITOR=1520726052.30”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:2] Set(“PJSIP/601-0000001d”, “AMPUSER=601”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:3] GotoIf(“PJSIP/601-0000001d”, “0?report”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:4] ExecIf(“PJSIP/601-0000001d”, “1?Set(REALCALLERIDNUM=601)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:5] Set(“PJSIP/601-0000001d”, “AMPUSER=601”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:6] GotoIf(“PJSIP/601-0000001d”, “0?limit”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:7] Set(“PJSIP/601-0000001d”, “AMPUSERCIDNAME=Chris Wilson”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:8] ExecIf(“PJSIP/601-0000001d”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:9] GotoIf(“PJSIP/601-0000001d”, “0?report”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:10] Set(“PJSIP/601-0000001d”, “AMPUSERCID=601”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:11] Set(“PJSIP/601-0000001d”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:12] Set(“PJSIP/601-0000001d”, “CALLERID(all)=“Chris Wilson” <601>”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:13] GotoIf(“PJSIP/601-0000001d”, “0?limit”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:14] ExecIf(“PJSIP/601-0000001d”, “1?Set(GROUP(concurrency_limit)=601)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:15] ExecIf(“PJSIP/601-0000001d”, “0?Set(CHANNEL(language)=)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:16] NoOp(“PJSIP/601-0000001d”, “Macro Depth is 1”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:17] GotoIf(“PJSIP/601-0000001d”, “1?report2:macroerror”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (macro-user-callerid,s,19)
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:19] GotoIf(“PJSIP/601-0000001d”, “1?continue”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (macro-user-callerid,s,37)
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:37] Set(“PJSIP/601-0000001d”, “CALLERID(number)=601”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:38] Set(“PJSIP/601-0000001d”, “CALLERID(name)=Chris Wilson”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:39] GotoIf(“PJSIP/601-0000001d”, “0?cnum”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:40] Set(“PJSIP/601-0000001d”, “CDR(cnam)=Chris Wilson”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:41] Set(“PJSIP/601-0000001d”, “CDR(cnum)=601”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:42] Set(“PJSIP/601-0000001d”, “CHANNEL(language)=en”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:2] Gosub(“PJSIP/601-0000001d”, “sub-record-check,s,1(out,914175401337,dontcare)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:1] GotoIf(“PJSIP/601-0000001d”, “0?initialized”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:2] Set(“PJSIP/601-0000001d”, “__REC_STATUS=INITIALIZED”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:3] Set(“PJSIP/601-0000001d”, “NOW=1520726052”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:4] Set(“PJSIP/601-0000001d”, “__DAY=10”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:5] Set(“PJSIP/601-0000001d”, “__MONTH=03”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:6] Set(“PJSIP/601-0000001d”, “__YEAR=2018”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:7] Set(“PJSIP/601-0000001d”, “__TIMESTR=20180310-175412”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:8] Set(“PJSIP/601-0000001d”, “__FROMEXTEN=601”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:9] Set(“PJSIP/601-0000001d”, “__MON_FMT=wav”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:10] NoOp(“PJSIP/601-0000001d”, “Recordings initialized”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:11] ExecIf(“PJSIP/601-0000001d”, “0?Set(ARG3=dontcare)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:12] Set(“PJSIP/601-0000001d”, “REC_POLICY_MODE_SAVE=”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:13] ExecIf(“PJSIP/601-0000001d”, “0?Set(REC_STATUS=NO)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:14] GotoIf(“PJSIP/601-0000001d”, “3?checkaction”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (sub-record-check,s,17)
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:17] GotoIf(“PJSIP/601-0000001d”, “1?sub-record-check,out,1”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (sub-record-check,out,1)
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/601-0000001d”, “Outbound Recording Check from 601 to 914175401337”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:2] Set(“PJSIP/601-0000001d”, “RECMODE=dontcare”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/601-0000001d”, “1?Goto(routewins)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (sub-record-check,out,7)
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:7] Gosub(“PJSIP/601-0000001d”, “recordcheck,1(dontcare,out,914175401337)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/601-0000001d”, “Starting recording check against dontcare”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:2] Goto(“PJSIP/601-0000001d”, “dontcare”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:3] Return(“PJSIP/601-0000001d”, “”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:8] Return(“PJSIP/601-0000001d”, “”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/601-0000001d”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:4] Set(“PJSIP/601-0000001d”, “MOHCLASS=default”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:5] ExecIf(“PJSIP/601-0000001d”, “0?Set(TRUNKCIDOVERRIDE=9036006389)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:6] Set(“PJSIP/601-0000001d”, “_NODEST=”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:7] Macro(“PJSIP/601-0000001d”, “dialout-trunk,1,14175401337,off”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:1] Set(“PJSIP/601-0000001d”, “DIAL_TRUNK=1”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:2] GosubIf(“PJSIP/601-0000001d”, “0?sub-pincheck,s,1()”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/601-0000001d”, “0?Set(CALLERID(num)=601)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:4] GotoIf(“PJSIP/601-0000001d”, “0?disabletrunk,1”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:5] Set(“PJSIP/601-0000001d”, “DIAL_NUMBER=14175401337”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:6] Set(“PJSIP/601-0000001d”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:7] Set(“PJSIP/601-0000001d”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:8] Set(“PJSIP/601-0000001d”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:9] GotoIf(“PJSIP/601-0000001d”, “0?nomax”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:10] GotoIf(“PJSIP/601-0000001d”, “0?chanfull”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:11] GotoIf(“PJSIP/601-0000001d”, “0?skipoutcid”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:12] Macro(“PJSIP/601-0000001d”, “outbound-callerid,1”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:1] NoOp(“PJSIP/601-0000001d”, “601”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:2] NoOp(“PJSIP/601-0000001d”, “”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:3] NoOp(“PJSIP/601-0000001d”, “off”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:4] ExecIf(“PJSIP/601-0000001d”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:5] ExecIf(“PJSIP/601-0000001d”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:6] ExecIf(“PJSIP/601-0000001d”, “0?Set(REALCALLERIDNUM=601)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:7] GotoIf(“PJSIP/601-0000001d”, “1?normcid”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (macro-outbound-callerid,s,11)
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:11] Set(“PJSIP/601-0000001d”, “USEROUTCID=Chris Wilson <602>”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:12] Set(“PJSIP/601-0000001d”, “EMERGENCYCID=”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:13] Set(“PJSIP/601-0000001d”, “TRUNKOUTCID=90360-06389”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:14] GotoIf(“PJSIP/601-0000001d”, “1?trunkcid”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (macro-outbound-callerid,s,19)
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:19] ExecIf(“PJSIP/601-0000001d”, “1?Set(CALLERID(all)=90360-06389)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:20] ExecIf(“PJSIP/601-0000001d”, “1?Set(CALLERID(all)=Chris Wilson <602>)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:21] ExecIf(“PJSIP/601-0000001d”, “0?Set(CALLERID(all)=)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:22] ExecIf(“PJSIP/601-0000001d”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:23] ExecIf(“PJSIP/601-0000001d”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:24] Set(“PJSIP/601-0000001d”, “CDR(outbound_cnum)=602”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:25] Set(“PJSIP/601-0000001d”, “CDR(outbound_cnam)=Chris Wilson”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:13] GosubIf(“PJSIP/601-0000001d”, “0?sub-flp-1,s,1()”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:14] Set(“PJSIP/601-0000001d”, “OUTNUM=14175401337”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:15] Set(“PJSIP/601-0000001d”, “custom=AMP”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:16] ExecIf(“PJSIP/601-0000001d”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:17] ExecIf(“PJSIP/601-0000001d”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:18] Macro(“PJSIP/601-0000001d”, “dialout-trunk-predial-hook,”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:1] MacroExit(“PJSIP/601-0000001d”, “”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:19] GotoIf(“PJSIP/601-0000001d”, “0?bypass,1”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:20] ExecIf(“PJSIP/601-0000001d”, “1?Set(CONNECTEDLINE(num,i)=14175401337)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:21] ExecIf(“PJSIP/601-0000001d”, “1?Set(CONNECTEDLINE(name,i)=CID:602)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:22] ExecIf(“PJSIP/601-0000001d”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)602)”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:23] GotoIf(“PJSIP/601-0000001d”, “1?customtrunk”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (macro-dialout-trunk,s,27)
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:27] Set(“PJSIP/601-0000001d”, “pre_num=AMP:Motif/gcscottw310gmailcom/”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:28] Set(“PJSIP/601-0000001d”, “the_num=OUTNUM”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:29] Set(“PJSIP/601-0000001d”, "[email protected]") in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:30] GotoIf(“PJSIP/601-0000001d”, “1?outnum:skipoutnum”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (macro-dialout-trunk,s,31)
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:31] Set(“PJSIP/601-0000001d”, “the_num=14175401337”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:32] Dial(“PJSIP/601-0000001d”, “Motif/gcscottw310gmailcom/[email protected],300,T”) in new stack
[2018-03-10 17:54:12] VERBOSE[25881][C-00000016] app_dial.c: Called Motif/gcscottw310gmailcom/[email protected]
[2018-03-10 17:54:13] VERBOSE[25881][C-00000016] app_dial.c: Motif/[email protected] is proceeding passing it to PJSIP/601-0000001d
[2018-03-10 17:54:23] VERBOSE[25881][C-00000016] app_dial.c: Motif/[email protected] answered PJSIP/601-0000001d
[2018-03-10 17:54:23] VERBOSE[26060][C-00000016] bridge_channel.c: Channel Motif/[email protected] joined ‘simple_bridge’ basic-bridge
[2018-03-10 17:54:23] VERBOSE[25881][C-00000016] bridge_channel.c: Channel PJSIP/601-0000001d joined ‘simple_bridge’ basic-bridge
[2018-03-10 17:54:29] VERBOSE[26060][C-00000016] bridge_channel.c: Channel Motif/[email protected] left ‘simple_bridge’ basic-bridge
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] bridge_channel.c: Channel PJSIP/601-0000001d left ‘simple_bridge’ basic-bridge
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] app_macro.c: Spawn extension (macro-dialout-trunk, s, 32) exited non-zero on ‘PJSIP/601-0000001d’ in macro ‘dialout-trunk’
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] pbx.c: Spawn extension (from-internal, 914175401337, 7) exited non-zero on ‘PJSIP/601-0000001d’
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:1] Macro(“PJSIP/601-0000001d”, “hangupcall”) in new stack
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:1] GotoIf(“PJSIP/601-0000001d”, “1?theend”) in new stack
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:3] ExecIf(“PJSIP/601-0000001d”, “0?Set(CDR(recordingfile)=)”) in new stack
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:4] NoOp(“PJSIP/601-0000001d”, "Motif/[email protected] monior file= ") in new stack
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:5] AGI(“PJSIP/601-0000001d”, “attendedtransfer-rec-restart.php,Motif/[email protected],”) in new stack
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] res_agi.c: <PJSIP/601-0000001d>AGI Script attendedtransfer-rec-restart.php completed, returning 0
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] pbx.c: Executing [[email protected]:6] Hangup(“PJSIP/601-0000001d”, “”) in new stack
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/601-0000001d’ in macro ‘hangupcall’
[2018-03-10 17:54:29] VERBOSE[25881][C-00000016] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/601-0000001d’

The dial plan in your Polycom phone is conflicting with the dial patterns used on your PBX.

When you try to add Evelyn to the conference, you are dialing ‘off hook’ so the phone is looking at the digits you dial to determine when the number is complete and can be sent to the PBX. The default settings assume that numbers beginning with 2 to 9 are starting with a North American area code, i.e. you are dialing 914-175-4013; when you have entered 10 digits it gets sent to the PBX, which rejects it because it is expecting e.g. 9-1-417-540-1337.

You can fix this in either the phone or the PBX, but I recommend the latter. Set up your system so that you can dial 1-417-540-1337. If most of your calls are in the 417 area, also allow dialing 540-1337. Or. allow dialing 417-540-1337. It’s possible to permit both 7- and 10-digit dialing, but then the phone will wait for several seconds after 7 digits have been entered, to see whether more digits are coming.

One problem with using an initial 9 for outside calls is that returning calls from incoming history won’t work. Also, if you include the 9 in your phone’s contacts and speed dials, the incoming caller ID won’t match them and the name won’t properly display. And, it causes confusion because people don’t dial that way on their mobiles and landlines.

If you do decide to keep using 9 for outside calls, be sure to set up the system so 911 and 9-911 both work – you’re never sure what to dial in a panic. Of course, these calls will need to be routed via a provider other than Google Voice.

This is an assumption that you are in NANP land, I purposely didn’t, so if so . . .

Nice catch, but the pattern is better a regex of +?1?NXXNXXXXXX so the areacode AND office code can’t start with 0 or 1 sometimes you need a + at the beginning, some times a 1, sometimes neither

For each of your outbound trunks, you need to massage by adding or subtracting prefixes to whatever your users in your locale are expecting to dial and adding outbound routes that cover 7,10 and 11 digit dialing (its called Normalizing) , I dont thing FreePBX does regexes well, so you probably need to do that one by one, your initial 9 is a historical artifact, that matches traditional PBX dialling, but generally confusing to your users, consider just letting them dial what they are used to, don’t make them bend-over, you bend-over

So for example Missouri (417) expects 10 digit dialing so strip the initial 1 from an 11 digit dial, add I if your VSP needs it, add +1 as required and on inbound calls and add 417 to any 7 digit dialing , normalize all incoming calls ${CallerID(number)} to NXXNXXXXXX , that way everyone is comfortable, all of your clients, your VSP’s, your phonebooks and your clients , that way they can “call back” the number they see on their phones (dump the antique need to dial 9 for an external number)

1 Like

Thanks a bunch guys, I did change the outbound pattern and all is working fine. Almost everyone is used to dialing 9 on the old phones so it was a nice transition idea to have it setup, but I guess its time for better habits ;).

Thanks a bunch.

Excellent, you provide phone service, at home they dial 10 digits on their cell phones they dial probably dial 10 ( because it’s the local culture , but 1+10 will also be accepted), so add rules that take

9NXXNXXXXXX
91NXXNXXXXXX
1NXXNXXXXXX
NXXNXXXXXX
NXXXXX ; and prepend 417

each one will be parsed on the outbound route to NXXNXXXXXX

Then on the individual outbound trunks, add if necessary whatever

On each trunk, massage as necessary to take the least significant NANP 10 and add whatever the trunk will accept.

Symetrically, normalize inbound CallerId(number) to ${CallerID(num)}:-10}

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.