DISA, Caller-ID override on outbound route is not working

Summary:
The problem I am having is with DISA that it seems to use the outbound routes for choosing the correct route but the CID Override is not working, it will send it with the DISA applications CID.

Normal call:
Ext 62 ----> Outbound Route —> SBC —> World

Outbound Route: CallerID override and the Dial Pattern, looks at the CID.

This works no problem: Ext 62 translates to its DID and goes to the SBC.

In the DISA application it does the following

Incoming Call —> SBC —> DISA Application (w/ CID Set to 62) —> Password/Destination Number -----> Routes to SBC ----> SBC Rejects because From header had 62 instead of Override CID

So the question is, is there a way to work around this? Is it a bug or the intended behavior?

On the other side, a fix could be in my outbound route to have in the Dial Pattern to have 2 CID entries, but I could not figure out the syntax for that either.

Any ideas would help. If traces are necessary I could provide them later.

Thanks in advance,

  • Steve

INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.239.2:5060;branch=z9hG4bKac1224323695
Max-Forwards: 51
From: sip:[email protected];user=phone;tag=1c1223882589
To: sip:[email protected]
Call-ID: [email protected]
CSeq: 1 INVITE
Contact: sip:[email protected]:5060
Supported: 199,histinfo
Allow: ACK, BYE, CANCEL, INFO, INVITE, OPTIONS, PRACK, REGISTER, UPDATE
User-Agent: acgateway.home/v.6.80A.021.006
P-Asserted-Identity: sip:[email protected];user=phone
P-Called-Party-ID: sip:[email protected]:5060;transport=tcp;user=phone
Content-Type: application/sdp
Content-Length: 300
Session-ID: 532F0906-03168C28@ynxc2pcu-253
v=0
o=- 1223360368 1223360332 IN IP4 192.168.239.2
s=Phone Call via hiQ9200 SIPCA
c=IN IP4 192.168.239.2
t=0 0
m=audio 6030 RTP/AVP 8 100
b=AS:87
b=RS:1087
b=RR:3262
a=rtpmap:8 PCMA/8000
a=fmtp:8 vad=no
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-15
a=sqn: 0
a=sendrecv
a=ptime:20

-- Executing [03049853863@from-trunk-sip-USA:1] Set("SIP/USA-000000ce", "GROUP()=OUT_1") in new stack
-- Executing [03049853863@from-trunk-sip-USA:2] Goto("SIP/USA-000000ce", "from-trunk,03049853863,1") in new stack
-- Goto (from-trunk,03049853863,1)
-- Executing [03049853863@from-trunk:1] Set("SIP/USA-000000ce", "__FROM_DID=03049853863") in new stack
-- Executing [03049853863@from-trunk:2] Gosub("SIP/USA-000000ce", "app-blacklist-check,s,1()") in new stack
-- Executing [s@app-blacklist-check:1] GotoIf("SIP/USA-000000ce", "0?blacklisted") in new stack
-- Executing [s@app-blacklist-check:2] Set("SIP/USA-000000ce", "CALLED_BLACKLIST=1") in new stack
-- Executing [s@app-blacklist-check:3] Return("SIP/USA-000000ce", "") in new stack
-- Executing [03049853863@from-trunk:3] Set("SIP/USA-000000ce", "CDR(did)=03049853863") in new stack
-- Executing [03049853863@from-trunk:4] ExecIf("SIP/USA-000000ce", "1 ?Set(CALLERID(name)=+4915170532641)") in new stack
-- Executing [03049853863@from-trunk:5] Set("SIP/USA-000000ce", "CHANNEL(musicclass)=default") in new stack
-- Executing [03049853863@from-trunk:6] Set("SIP/USA-000000ce", "__MOHCLASS=default") in new stack
-- Executing [03049853863@from-trunk:7] Set("SIP/USA-000000ce", "__CALLINGPRES_SV=allowed_not_screened") in new stack
-- Executing [03049853863@from-trunk:8] Set("SIP/USA-000000ce", "CALLERPRES()=allowed_not_screened") in new stack
-- Executing [03049853863@from-trunk:9] Goto("SIP/USA-000000ce", "disa,2,1") in new stack
-- Goto (disa,2,1)
-- Executing [2@disa:1] Authenticate("SIP/USA-000000ce", "****,") in new stack
   > 0xb753c160 -- Probation passed - setting RTP source address to 192.168.239.2:6030
-- <SIP/USA-000000ce> Playing 'agent-pass.alaw' (language 'en')
   > 0xb753c160 -- Probation passed - setting RTP source address to 192.168.239.2:6030
-- <SIP/USA-000000ce> Playing 'auth-thankyou.alaw' (language 'en')
-- Executing [2@disa:2] Set("SIP/USA-000000ce", "_DISA=disa^2^newcall") in new stack
-- Executing [2@disa:3] Set("SIP/USA-000000ce", "_DISACONTEXT=from-internal") in new stack
-- Executing [2@disa:4] Set("SIP/USA-000000ce", "_KEEPCID=TRUE") in new stack
-- Executing [2@disa:5] Set("SIP/USA-000000ce", "_HANGUP=Tt") in new stack
-- Executing [2@disa:6] Set("SIP/USA-000000ce", "TIMEOUT(digit)=5") in new stack
-- Digit timeout set to 5.000
-- Executing [2@disa:7] Set("SIP/USA-000000ce", "TIMEOUT(response)=10") in new stack
-- Response timeout set to 10.000
-- Executing [2@disa:8] Set("SIP/USA-000000ce", "CALLERID(all)=62") in new stack
-- Executing [2@disa:9] Set("SIP/USA-000000ce", "__REALCALLERIDNUM=62") in new stack
-- Executing [2@disa:10] DISA("SIP/USA-000000ce", "no-password,disa-dial") in new stack
-- Executing [06997973030@disa-dial:1] NoOp("SIP/USA-000000ce", "called 06997973030 in from-internal by ID: 2") in new stack
-- Executing [06997973030@disa-dial:2] Dial("SIP/USA-000000ce", "Local/06997973030@from-internal,300,Tt") in new stack
-- Called Local/06997973030@from-internal
-- Executing [06997973030@from-internal:1] Macro("Local/06997973030@from-internal-00000018;2", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("Local/06997973030@from-internal-00000018;2", "TOUCH_MONITOR=1395591451.256") in new stack
-- Executing [s@macro-user-callerid:2] Set("Local/06997973030@from-internal-00000018;2", "AMPUSER=62") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("Local/06997973030@from-internal-00000018;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(REALCALLERIDNUM=62)") in new stack
-- Executing [s@macro-user-callerid:5] Set("Local/06997973030@from-internal-00000018;2", "AMPUSER=62") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("Local/06997973030@from-internal-00000018;2", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("Local/06997973030@from-internal-00000018;2", "AMPUSERCIDNAME=Stephen") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("Local/06997973030@from-internal-00000018;2", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("Local/06997973030@from-internal-00000018;2", "AMPUSERCID=62") in new stack
-- Executing [s@macro-user-callerid:10] Set("Local/06997973030@from-internal-00000018;2", "__DIAL_OPTIONS=Ttr") in new stack
-- Executing [s@macro-user-callerid:11] Set("Local/06997973030@from-internal-00000018;2", "CALLERID(all)="Stephen" <62>") in new stack
-- Executing [s@macro-user-callerid:12] GotoIf("Local/06997973030@from-internal-00000018;2", "0?limit") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("Local/06997973030@from-internal-00000018;2", "1?Set(GROUP(concurrency_limit)=62)") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:15] GosubIf("Local/06997973030@from-internal-00000018;2", "7?sub-ccss,s,1(from-internal,)") in new stack
-- Executing [s@sub-ccss:1] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Return()") in new stack
-- Executing [s@sub-ccss:2] Set("Local/06997973030@from-internal-00000018;2", "CCSS_SETUP=TRUE") in new stack
-- Executing [s@sub-ccss:3] GosubIf("Local/06997973030@from-internal-00000018;2", "0?monitor_config,1(from-internal,):monitor_default,1(from-internal,)") in new stack
-- Executing [monitor_default@sub-ccss:1] GotoIf("Local/06997973030@from-internal-00000018;2", "0?is_exten") in new stack
-- Executing [monitor_default@sub-ccss:2] StackPop("Local/06997973030@from-internal-00000018;2", "") in new stack
-- Executing [monitor_default@sub-ccss:3] Return("Local/06997973030@from-internal-00000018;2", "FALSE") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("Local/06997973030@from-internal-00000018;2", "1?continue") in new stack
-- Goto (macro-user-callerid,s,29)
-- Executing [s@macro-user-callerid:29] Set("Local/06997973030@from-internal-00000018;2", "CALLERID(number)=62") in new stack
-- Executing [s@macro-user-callerid:30] Set("Local/06997973030@from-internal-00000018;2", "CALLERID(name)=Stephen") in new stack
-- Executing [s@macro-user-callerid:31] Set("Local/06997973030@from-internal-00000018;2", "CDR(cnum)=62") in new stack
-- Executing [s@macro-user-callerid:32] Set("Local/06997973030@from-internal-00000018;2", "CDR(cnam)=Stephen") in new stack
-- Executing [s@macro-user-callerid:33] Set("Local/06997973030@from-internal-00000018;2", "CHANNEL(language)=en") in new stack
-- Executing [06997973030@from-internal:2] Set("Local/06997973030@from-internal-00000018;2", "MOHCLASS=default") in new stack
-- Executing [06997973030@from-internal:3] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(TRUNKCIDOVERRIDE=03049853862)") in new stack
-- Executing [06997973030@from-internal:4] Set("Local/06997973030@from-internal-00000018;2", "_NODEST=") in new stack
-- Executing [06997973030@from-internal:5] Gosub("Local/06997973030@from-internal-00000018;2", "sub-record-check,s,1(out,06997973030,)") in new stack
-- Executing [s@sub-record-check:1] Set("Local/06997973030@from-internal-00000018;2", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:2] GotoIf("Local/06997973030@from-internal-00000018;2", "1?check") in new stack
-- Goto (sub-record-check,s,7)
-- Executing [s@sub-record-check:7] Set("Local/06997973030@from-internal-00000018;2", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:8] GotoIf("Local/06997973030@from-internal-00000018;2", "1?next") in new stack
-- Goto (sub-record-check,s,11)
-- Executing [s@sub-record-check:11] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Return()") in new stack
-- Executing [s@sub-record-check:12] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(__REC_POLICY_MODE=)") in new stack
-- Executing [s@sub-record-check:13] GotoIf("Local/06997973030@from-internal-00000018;2", "0?out,1") in new stack
-- Executing [s@sub-record-check:14] Set("Local/06997973030@from-internal-00000018;2", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:15] Set("Local/06997973030@from-internal-00000018;2", "NOW=1395591452") in new stack
-- Executing [s@sub-record-check:16] Set("Local/06997973030@from-internal-00000018;2", "__DAY=23") in new stack
-- Executing [s@sub-record-check:17] Set("Local/06997973030@from-internal-00000018;2", "__MONTH=03") in new stack
-- Executing [s@sub-record-check:18] Set("Local/06997973030@from-internal-00000018;2", "__YEAR=2014") in new stack
-- Executing [s@sub-record-check:19] Set("Local/06997973030@from-internal-00000018;2", "__TIMESTR=20140323-171732") in new stack
-- Executing [s@sub-record-check:20] Set("Local/06997973030@from-internal-00000018;2", "__FROMEXTEN=62") in new stack
-- Executing [s@sub-record-check:21] Set("Local/06997973030@from-internal-00000018;2", "__CALLFILENAME=out-06997973030-62-20140323-171732-1395591451.256") in new stack
-- Executing [s@sub-record-check:22] Goto("Local/06997973030@from-internal-00000018;2", "out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] ExecIf("Local/06997973030@from-internal-00000018;2", "1?Set(__REC_POLICY_MODE=dontcare)") in new stack
-- Executing [out@sub-record-check:2] GosubIf("Local/06997973030@from-internal-00000018;2", "0?record,1(exten,06997973030,62)") in new stack
-- Executing [out@sub-record-check:3] Return("Local/06997973030@from-internal-00000018;2", "") in new stack
-- Executing [06997973030@from-internal:6] Macro("Local/06997973030@from-internal-00000018;2", "dialout-trunk,1,06997973030,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("Local/06997973030@from-internal-00000018;2", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] GosubIf("Local/06997973030@from-internal-00000018;2", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:3] GotoIf("Local/06997973030@from-internal-00000018;2", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:4] Set("Local/06997973030@from-internal-00000018;2", "DIAL_NUMBER=06997973030") in new stack
-- Executing [s@macro-dialout-trunk:5] Set("Local/06997973030@from-internal-00000018;2", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("Local/06997973030@from-internal-00000018;2", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:7] GotoIf("Local/06997973030@from-internal-00000018;2", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:8] GotoIf("Local/06997973030@from-internal-00000018;2", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:9] GotoIf("Local/06997973030@from-internal-00000018;2", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:10] Set("Local/06997973030@from-internal-00000018;2", "DIAL_TRUNK_OPTIONS=Tt") in new stack
-- Executing [s@macro-dialout-trunk:11] Macro("Local/06997973030@from-internal-00000018;2", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] ExecIf("Local/06997973030@from-internal-00000018;2", "1?Set(CALLERPRES()=allowed_not_screened)") in new stack
-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(REALCALLERIDNUM=62)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/06997973030@from-internal-00000018;2", "0?normcid") in new stack
-- Executing [s@macro-outbound-callerid:4] Set("Local/06997973030@from-internal-00000018;2", "USEROUTCID=62") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("Local/06997973030@from-internal-00000018;2", "0?bypass") in new stack
-- Executing [s@macro-outbound-callerid:6] Set("Local/06997973030@from-internal-00000018;2", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("Local/06997973030@from-internal-00000018;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/06997973030@from-internal-00000018;2", "TRUNKOUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/06997973030@from-internal-00000018;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,14)
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:16] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:17] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:18] Set("Local/06997973030@from-internal-00000018;2", "CDR(outbound_cnum)=62") in new stack
-- Executing [s@macro-outbound-callerid:19] Set("Local/06997973030@from-internal-00000018;2", "CDR(outbound_cnam)=Stephen") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/06997973030@from-internal-00000018;2", "0?sub-flp-1,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/06997973030@from-internal-00000018;2", "OUTNUM=06997973030") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/06997973030@from-internal-00000018;2", "custom=SIP/USA") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("Local/06997973030@from-internal-00000018;2", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("Local/06997973030@from-internal-00000018;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/06997973030@from-internal-00000018;2", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/06997973030@from-internal-00000018;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("Local/06997973030@from-internal-00000018;2", "1?Set(CONNECTEDLINE(num,i)=06997973030)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("Local/06997973030@from-internal-00000018;2", "1?Set(CONNECTEDLINE(name,i)=CID:62)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("Local/06997973030@from-internal-00000018;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("Local/06997973030@from-internal-00000018;2", "SIP/USA/06997973030,300,Tt") in new stack

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/USA/06997973030
– Got SIP response 500 “Server Internal Error” back from 192.168.239.2:5060
– SIP/USA-000000cf is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [s@macro-dialout-trunk:23] NoOp(“Local/06997973030@from-internal-00000018;2”, “Dial failed for some reason with DIALSTATUS = CONGESTION and HANGUPCAUSE = 38”) in new stack
– Executing [s@macro-dialout-trunk:24] GotoIf(“Local/06997973030@from-internal-00000018;2”, “0?continue,1:s-CONGESTION,1”) in new stack
– Goto (macro-dialout-trunk,s-CONGESTION,1)
– Executing [s-CONGESTION@macro-dialout-trunk:1] Set(“Local/06997973030@from-internal-00000018;2”, “RC=38”) in new stack
– Executing [s-CONGESTION@macro-dialout-trunk:2] Goto(“Local/06997973030@from-internal-00000018;2”, “38,1”) in new stack
– Goto (macro-dialout-trunk,38,1)
– Executing [38@macro-dialout-trunk:1] Goto(“Local/06997973030@from-internal-00000018;2”, “continue,1”) in new stack
– Goto (macro-dialout-trunk,continue,1)
– Executing [continue@macro-dialout-trunk:1] NoOp(“Local/06997973030@from-internal-00000018;2”, “TRUNK Dial failed due to CONGESTION HANGUPCAUSE: 38 - failing through to other trunks”) in new stack
– Executing [continue@macro-dialout-trunk:2] Set(“Local/06997973030@from-internal-00000018;2”, “CALLERID(number)=62”) in new stack
– Executing [06997973030@from-internal:7] Macro(“Local/06997973030@from-internal-00000018;2”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Progress(“Local/06997973030@from-internal-00000018;2”, “”) in new stack
– Local/06997973030@from-internal-00000018;1 is making progress passing it to SIP/USA-000000ce
– Executing [s@macro-outisbusy:2] GotoIf(“Local/06997973030@from-internal-00000018;2”, “0?emergency,1”) in new stack
– Executing [s@macro-outisbusy:3] GotoIf(“Local/06997973030@from-internal-00000018;2”, “0?intracompany,1”) in new stack
– Executing [s@macro-outisbusy:4] Playback(“Local/06997973030@from-internal-00000018;2”, “all-circuits-busy-now&pls-try-call-later, noanswer”) in new stack
– <Local/06997973030@from-internal-00000018;2> Playing ‘all-circuits-busy-now.alaw’ (language ‘en’)
– <Local/06997973030@from-internal-00000018;2> Playing ‘pls-try-call-later.alaw’ (language ‘en’)
== Spawn extension (macro-outisbusy, s, 4) exited non-zero on ‘Local/06997973030@from-internal-00000018;2’ in macro ‘outisbusy’
== Spawn extension (from-internal, 06997973030, 7) exited non-zero on ‘Local/06997973030@from-internal-00000018;2’
== Spawn extension (disa-dial, 06997973030, 2) exited non-zero on ‘SIP/USA-000000ce’
– Executing [h@from-internal:1] Hangup(“Local/06997973030@from-internal-00000018;2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/06997973030@from-internal-00000018;2’
– Executing [h@disa-dial:1] NoOp(“SIP/USA-000000ce”, “called h in from-internal by ID: 2”) in new stack
– Executing [h@disa-dial:2] Dial(“SIP/USA-000000ce”, “Local/h@from-internal,300,Tt”) in new stack
– Called Local/h@from-internal
== Spawn extension (disa-dial, h, 2) exited non-zero on ‘SIP/USA-000000ce’
– Executing [h@from-internal:1] Hangup(“Local/h@from-internal-00000019;2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/h@from-internal-00000019;2’
– Executing [h@from-internal:1] Hangup(“Local/h@from-internal-00000019;2”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘Local/h@from-internal-00000019;2’

I compared the log from the outbound call via DISA and from the extension and the differences I found are in the CALLERPRES which inbound to DISA is set to allowed_not_screened. I even tried stripping the PAI header on the incoming call, but with it there or not the behavior is the same.

Call from Extension:
– Executing [06997973030@from-internal:6] Macro(“SIP/62-000000bc”, “dialout-trunk,1,06997973030,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/62-000000bc”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/62-000000bc”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/62-000000bc”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/62-000000bc”, “DIAL_NUMBER=06997973030”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/62-000000bc”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/62-000000bc”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/62-000000bc”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/62-000000bc”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/62-000000bc”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/62-000000bc”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/62-000000bc”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/62-000000bc”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/62-000000bc”, “0?Set(REALCALLERIDNUM=62)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/62-000000bc”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/62-000000bc”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/62-000000bc”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/62-000000bc”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/62-000000bc”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/62-000000bc”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/62-000000bc”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/62-000000bc”, “1?Set(CALLERID(all)=03049853862)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/62-000000bc”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“SIP/62-000000bc”, “CDR(outbound_cnum)=03049853862”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“SIP/62-000000bc”, “CDR(outbound_cnam)=”) in new stack

Call From DISA
– Executing [06997973030@from-internal:6] Macro(“Local/06997973030@from-internal-00000018;2”, “dialout-trunk,1,06997973030,off”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“Local/06997973030@from-internal-00000018;2”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“Local/06997973030@from-internal-00000018;2”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“Local/06997973030@from-internal-00000018;2”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“Local/06997973030@from-internal-00000018;2”, “DIAL_NUMBER=06997973030”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“Local/06997973030@from-internal-00000018;2”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“Local/06997973030@from-internal-00000018;2”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“Local/06997973030@from-internal-00000018;2”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“Local/06997973030@from-internal-00000018;2”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“Local/06997973030@from-internal-00000018;2”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“Local/06997973030@from-internal-00000018;2”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“Local/06997973030@from-internal-00000018;2”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“Local/06997973030@from-internal-00000018;2”, “1?Set(CALLERPRES()=allowed_not_screened)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“Local/06997973030@from-internal-00000018;2”, “0?Set(REALCALLERIDNUM=62)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“Local/06997973030@from-internal-00000018;2”, “0?normcid”) in new stack
– Executing [s@macro-outbound-callerid:4] Set(“Local/06997973030@from-internal-00000018;2”, “USEROUTCID=62”) in new stack
– Executing [s@macro-outbound-callerid:5] GotoIf(“Local/06997973030@from-internal-00000018;2”, “0?bypass”) in new stack
– Executing [s@macro-outbound-callerid:6] Set(“Local/06997973030@from-internal-00000018;2”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“Local/06997973030@from-internal-00000018;2”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“Local/06997973030@from-internal-00000018;2”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“Local/06997973030@from-internal-00000018;2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“Local/06997973030@from-internal-00000018;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“Local/06997973030@from-internal-00000018;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“Local/06997973030@from-internal-00000018;2”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“Local/06997973030@from-internal-00000018;2”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“Local/06997973030@from-internal-00000018;2”, “CDR(outbound_cnum)=62”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“Local/06997973030@from-internal-00000018;2”, “CDR(outbound_cnam)=Stephen”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“Local/06997973030@from-internal-00000018;2”, “0?sub-flp-1,s,1()”) in new stack

Anyway to change the screening indicator to nothing??

Thanks in advance,

  • Stephen

Finally I found it, to get the trunkoverridecid to work under DISA

change from:
exten => 1,n,Set(_KEEPCID=TRUE)

to:
exten => 1,n,Set(_KEEPCID=FALSE)

This should only be done though by copying this entire section to extensions_override_freepbx.conf