Outbound CID issues

I am using FreePBX Distro 12.0.73 and am having a problem where all of my outbound calls are displaying one DID. If I set a different outbound CID at the extension level or outbound route level, it makes no difference and my outbound caller ID displays the same DID it always does.

Is there another place I’m missing where my outbound caller ID is being set at? I don’t want my outbound CID set anywhere but at the extension level. I checked my trunk settings and the outbound caller ID is not set to anything there either.

Thanks!

Hi!

My guess is that you configured this at the VoIP provider level…

I use 3 providers and at least two of them let you set one and/or force you to set one (or send nothing at all) in the SIP account (or sub-account) you create on their site…

Good luck!

Nick

I am using Nextiva… The only options I have in my user account portal that relate to caller ID are block outgoing caller ID, and there are options for setting an outbound CID name and number, which is currently set to nothing.

Here is an output from my putty logs of an outbound call:

Connected to Asterisk 11.15.0 currently running on pbx (pid = 1585)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [[email protected]:1] Macro(“SIP/801-00000008”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Set(“SIP/801-00000008”, “TOUCH_MONITOR=1437190757.12”) in new stack
– Executing [[email protected]:2] Set(“SIP/801-00000008”, “AMPUSER=801”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/801-00000008”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/801-00000008”, “1?Set(REALCALLERIDNUM=801)”) in new stack
– Executing [[email protected]:5] Set(“SIP/801-00000008”, “AMPUSER=801”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/801-00000008”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“SIP/801-00000008”, “AMPUSERCIDNAME=test extension 1”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/801-00000008”, “0?report”) in new stack
– Executing [[email protected]:9] Set(“SIP/801-00000008”, “AMPUSERCID=801”) in new stack
– Executing [[email protected]:10] Set(“SIP/801-00000008”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [[email protected]:11] Set(“SIP/801-00000008”, “CALLERID(all)=“test extension 1” <801>”) in new stack
– Executing [[email protected]:12] GotoIf(“SIP/801-00000008”, “0?limit”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/801-00000008”, “1?Set(GROUP(concurrency_limit)=801)”) in new stack
– Executing [[email protected]:14] GosubIf(“SIP/801-00000008”, “7?sub-ccss,s,1(from-internal,9728147186)”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/801-00000008”, “0?Return()”) in new stack
– Executing [[email protected]:2] Set(“SIP/801-00000008”, “CCSS_SETUP=TRUE”) in new stack
– Executing [[email protected]:3] GosubIf(“SIP/801-00000008”, “0?monitor_config,1(from-internal,9728147186):monitor_default,1(from-internal,9728147186)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/801-00000008”, “0?is_exten”) in new stack
– Executing [[email protected]:2] StackPop(“SIP/801-00000008”, “”) in new stack
– Executing [[email protected]:3] Return(“SIP/801-00000008”, “FALSE”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/801-00000008”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:16] GotoIf(“SIP/801-00000008”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,30)
– Executing [[email protected]:30] Set(“SIP/801-00000008”, “CALLERID(number)=801”) in new stack
– Executing [[email protected]:31] Set(“SIP/801-00000008”, “CALLERID(name)=test extension 1”) in new stack
– Executing [[email protected]:32] Set(“SIP/801-00000008”, “CDR(cnum)=801”) in new stack
– Executing [[email protected]:33] Set(“SIP/801-00000008”, “CDR(cnam)=test extension 1”) in new stack
– Executing [[email protected]:34] Set(“SIP/801-00000008”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Gosub(“SIP/801-00000008”, “sub-record-check,s,1(out,9728147186,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/801-00000008”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“SIP/801-00000008”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“SIP/801-00000008”, “NOW=1437190757”) in new stack
– Executing [[email protected]:4] Set(“SIP/801-00000008”, “__DAY=17”) in new stack
– Executing [[email protected]:5] Set(“SIP/801-00000008”, “__MONTH=07”) in new stack
– Executing [[email protected]:6] Set(“SIP/801-00000008”, “__YEAR=2015”) in new stack
– Executing [[email protected]:7] Set(“SIP/801-00000008”, “__TIMESTR=20150717-223917”) in new stack
– Executing [[email protected]:8] Set(“SIP/801-00000008”, “__FROMEXTEN=801”) in new stack
– Executing [[email protected]:9] Set(“SIP/801-00000008”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“SIP/801-00000008”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“SIP/801-00000008”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“SIP/801-00000008”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/801-00000008”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“SIP/801-00000008”, “3?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“SIP/801-00000008”, “1?sub-record-check,out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] NoOp(“SIP/801-00000008”, “Outbound Recording Check from 801 to 9728147186”) in new stack
– Executing [[email protected]:2] Set(“SIP/801-00000008”, “RECMODE=dontcare”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/801-00000008”, “1?Goto(routewins)”) in new stack
– Goto (sub-record-check,out,7)
– Executing [[email protected]:7] Gosub(“SIP/801-00000008”, “recordcheck,1(dontcare,out,9728147186)”) in new stack
– Executing [[email protected]:1] NoOp(“SIP/801-00000008”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“SIP/801-00000008”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“SIP/801-00000008”, “”) in new stack
– Executing [[email protected]:8] Return(“SIP/801-00000008”, “”) in new stack
– Executing [[email protected]:3] ExecIf(“SIP/801-00000008”, “0 ?Set(CDR(accountcode)=)”) in new stack
– Executing [[email protected]:4] Set(“SIP/801-00000008”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:5] Set(“SIP/801-00000008”, “_NODEST=”) in new stack
– Executing [[email protected]:6] Macro(“SIP/801-00000008”, “dialout-trunk,2,9728147186,off”) in new stack
– Executing [[email protected]:1] Set(“SIP/801-00000008”, “DIAL_TRUNK=2”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/801-00000008”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/801-00000008”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/801-00000008”, “DIAL_NUMBER=9728147186”) in new stack
– Executing [[email protected]:5] Set(“SIP/801-00000008”, “DIAL_TRUNK_OPTIONS=Ttr”) in new stack
– Executing [[email protected]:6] Set(“SIP/801-00000008”, “OUTBOUND_GROUP=OUT_2”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/801-00000008”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/801-00000008”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/801-00000008”, “DIAL_TRUNK_OPTIONS=Tt”) in new stack
– Executing [[email protected]:11] Macro(“SIP/801-00000008”, “outbound-callerid,2”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/801-00000008”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/801-00000008”, “0?Set(REALCALLERIDNUM=801)”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/801-00000008”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/801-00000008”, “USEROUTCID=972-444-4444”) in new stack
– Executing [[email protected]:7] Set(“SIP/801-00000008”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/801-00000008”, “TRUNKOUTCID=”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/801-00000008”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [[email protected]:14] ExecIf(“SIP/801-00000008”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/801-00000008”, “1?Set(CALLERID(all)=972-444-4444)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/801-00000008”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:17] ExecIf(“SIP/801-00000008”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:18] Set(“SIP/801-00000008”, “CDR(outbound_cnum)=9724444444”) in new stack
– Executing [[email protected]:19] Set(“SIP/801-00000008”, “CDR(outbound_cnam)=”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/801-00000008”, “0?sub-flp-2,s,1()”) in new stack
– Executing [[email protected]:13] Set(“SIP/801-00000008”, “OUTNUM=9728147186”) in new stack
– Executing [[email protected]:14] Set(“SIP/801-00000008”, “custom=SIP/NEXTIVA”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/801-00000008”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/801-00000008”, “0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/801-00000008”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/801-00000008”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/801-00000008”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/801-00000008”, “1?Set(CONNECTEDLINE(num,i)=9728147186)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/801-00000008”, “1?Set(CONNECTEDLINE(name,i)=CID:9724444444)”) in new stack
– Executing [[email protected]:21] GotoIf(“SIP/801-00000008”, “0?customtrunk”) in new stack
– Executing [[email protected]:22] Dial(“SIP/801-00000008”, “SIP/NEXTIVA/9728147186,300,Tt”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/NEXTIVA/9728147186
– SIP/NEXTIVA-00000009 is ringing
– SIP/NEXTIVA-00000009 is making progress passing it to SIP/801-00000008
> 0xb7418cc0 – Probation passed - setting RTP source address to 208.73.146.93:26048
– SIP/NEXTIVA-00000009 is ringing
– SIP/NEXTIVA-00000009 is making progress passing it to SIP/801-00000008
pbx*CLI>
Disconnected from Asterisk server
Asterisk cleanly ending (0).
Executing last minute cleanups
[[email protected] ~]#

So I am calling my cell at 9728147186 from extension 801. The caller ID for 801 at the extension level is set to 972-444-4444 for testing purposes… when my cell rings it shows 972-295-9324. No where in the logs of my outbound call is 972-295-9324 mentioned anywhere, so it has to be set on the provider level I believe. I called them earlier today and asked about this and they said they do not have any settings on my account that forces a specific outbound CID number. I have attached my Nextiva device option settings here as well.

Any ideas?

Chalked up to a provider issue. Thanks Marbled.

No problem…

Since you had checked everything on the FreePBX/Asterisk side it did feel like a provider issue…

Have a nice day!

Nick