Well first,
Is it possible in general to dial out through the pstn lines of Box a from a user registered on Box B?
What dial rules u want exactly, the outbound route rule that i configure on freepbx web interface or the contents of a certain .conf file?
currently i have a rule that will direct any calls starting with prefix 11 to the trunk from box b to box a,
i dialed a number from box b and this was the result:
onnected to Asterisk 1.6.2.7 currently running on localhost (pid = 3173)
Verbosity is at least 40
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [[email protected]:1] Macro(“SIP/2000-00000086”, “user-callerid,SKIPTTL,”) in new stack
– Executing [[email protected]:1] Set(“SIP/2000-00000086”, “AMPUSER=2000”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/2000-00000086”, “0?report”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/2000-00000086”, “1?Set(REALCALLERIDNUM=2000)”) in new stack
– Executing [[email protected]:4] Set(“SIP/2000-00000086”, “AMPUSER=2000”) in new stack
– Executing [[email protected]:5] Set(“SIP/2000-00000086”, “AMPUSERCIDNAME=NavLink Test”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/2000-00000086”, “0?report”) in new stack
– Executing [[email protected]:7] Set(“SIP/2000-00000086”, “AMPUSERCID=2000”) in new stack
– Executing [[email protected]:8] Set(“SIP/2000-00000086”, “CALLERID(all)=“NavLink Test” <2000>”) in new stack
– Executing [[email protected]:9] ExecIf(“SIP/2000-00000086”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:10] GotoIf(“SIP/2000-00000086”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [[email protected]:19] NoOp(“SIP/2000-00000086”, “Using CallerID “NavLink Test” <2000>”) in new stack
– Executing [[email protected]:2] NoOp(“SIP/2000-00000086”, “Calling Out Route: RemoteDial28”) in new stack
– Executing [[email protected]:3] Set(“SIP/2000-00000086”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:4] Set(“SIP/2000-00000086”, “_NODEST=”) in new stack
– Executing [[email protected]:5] Macro(“SIP/2000-00000086”, “record-enable,2000,OUT,”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/2000-00000086”, “1?check”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [[email protected]:4] ExecIf(“SIP/2000-00000086”, “0?MacroExit()”) in new stack
– Executing [[email protected]:5] GotoIf(“SIP/2000-00000086”, “0?Group:OUT”) in new stack
– Goto (macro-record-enable,s,15)
– Executing [[email protected]:15] GotoIf(“SIP/2000-00000086”, “0?IN”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/2000-00000086”, “1?MacroExit()”) in new stack
– Executing [[email protected]:6] Macro(“SIP/2000-00000086”, “dialout-trunk,4,01325880,”) in new stack
– Executing [[email protected]:1] Set(“SIP/2000-00000086”, “DIAL_TRUNK=4”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/2000-00000086”, “0?sub-pincheck,s,1”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/2000-00000086”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/2000-00000086”, “DIAL_NUMBER=01325880”) in new stack
– Executing [[email protected]:5] Set(“SIP/2000-00000086”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [[email protected]:6] Set(“SIP/2000-00000086”, “OUTBOUND_GROUP=OUT_4”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/2000-00000086”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/2000-00000086”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/2000-00000086”, “DIAL_TRUNK_OPTIONS=”) in new stack
– Executing [[email protected]:11] Macro(“SIP/2000-00000086”, “outbound-callerid,4”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/2000-00000086”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/2000-00000086”, “0?Set(REALCALLERIDNUM=2000)”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/2000-00000086”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/2000-00000086”, “USEROUTCID=”) in new stack
– Executing [[email protected]:7] Set(“SIP/2000-00000086”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/2000-00000086”, “TRUNKOUTCID=”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/2000-00000086”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,12)
– Executing [[email protected]:12] ExecIf(“SIP/2000-00000086”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/2000-00000086”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/2000-00000086”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/2000-00000086”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/2000-00000086”, “0?sub-flp-4,s,1”) in new stack
– Executing [[email protected]:13] Set(“SIP/2000-00000086”, “OUTNUM=01325880”) in new stack
– Executing [[email protected]:14] Set(“SIP/2000-00000086”, “custom=SIP/peer28”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/2000-00000086”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default))”) in new stack
– Executing [[email protected]:16] Macro(“SIP/2000-00000086”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/2000-00000086”, “”) in new stack
– Executing [[email protected]:17] GotoIf(“SIP/2000-00000086”, “0?bypass,1”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/2000-00000086”, “0?customtrunk”) in new stack
– Executing [[email protected]:19] Dial(“SIP/2000-00000086”, “SIP/peer28/01325880,300,”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called peer28/01325880
– SIP/peer28-00000087 is making progress passing it to SIP/2000-00000086
== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on ‘SIP/2000-00000086’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 1101325880, 6) exited non-zero on ‘SIP/2000-00000086’
– Executing [[email protected]:1] Macro(“SIP/2000-00000086”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/2000-00000086”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [[email protected]:4] GotoIf(“SIP/2000-00000086”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] GotoIf(“SIP/2000-00000086”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] Hangup(“SIP/2000-00000086”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/2000-00000086’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/2000-00000086’