Quantcast
Channel: General Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 12604

External CallerID forwarding to external #

$
0
0

@daiceman wrote:

Hi all,

I am having a problem forwarding the external CallerID to an external number and wanted to make sure it wasn't an asterisk/freepbx problem but the telco blocking it. I am using Freepbx 2.10.1.19 with asterisk 1.8.32.2, I setup a virtual extension with its DID 982 and created a follow me with the external number followed by a #. In the Change External CID config I set Mode: "Default" as this should pass the external Caller ID. In asterisk debug I see this:

-- Executing [s@macro-outbound-callerid:2] ExecIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?Set(REALCALLERIDNUM=00YYYYYYYY)") in new stack
-- Executing [s@macro-outbound-callerid:3] GotoIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?normcid") in new stack
-- Executing [s@macro-outbound-callerid:4] Set("Local/0xxxxxxxxxx@from-internal-00000140;2", "USEROUTCID=00YYYYYYYY") in new stack
-- Executing [s@macro-outbound-callerid:5] GotoIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "1?bypass") in new stack
-- Goto (macro-outbound-callerid,s,7)
-- Executing [s@macro-outbound-callerid:7] Set("Local/0xxxxxxxxxx@from-internal-00000140;2", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("Local/0xxxxxxxxxx@from-internal-00000140;2", "TRUNKOUTCID=0123456") in new stack
-- Executing [s@macro-outbound-callerid:9] GotoIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,12)
-- Executing [s@macro-outbound-callerid:12] ExecIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "1?Set(CALLERID(all)=0123456)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "1?Set(CALLERID(all)=00YYYYYYYY)") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?Set(CALLERPRES()=prohib_passed_screen)") in new stack
-- Executing [s@macro-dialout-trunk:12] GosubIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?sub-flp-1,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:13] Set("Local/0xxxxxxxxxx@from-internal-00000140;2", "OUTNUM=xxxxxxxxxx") in new stack
-- Executing [s@macro-dialout-trunk:14] Set("Local/0xxxxxxxxxx@from-internal-00000140;2", "custom=SIP/1-isdn") in new stack
-- Executing [s@macro-dialout-trunk:15] ExecIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)tw)") in new stack
-- Executing [s@macro-dialout-trunk:16] ExecIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?Set(DIAL_TRUNK_OPTIONS=twM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:17] Macro("Local/0xxxxxxxxxx@from-internal-00000140;2", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("Local/0xxxxxxxxxx@from-internal-00000140;2", "") in new stack
-- Executing [s@macro-dialout-trunk:18] GotoIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?Set(CONNECTEDLINE(num,i)=xxxxxxxxxx)") in new stack
-- Executing [s@macro-dialout-trunk:20] ExecIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?Set(CONNECTEDLINE(name,i)=CID:00YYYYYYYY)") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("Local/0xxxxxxxxxx@from-internal-00000140;2", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:22] Dial("Local/0xxxxxxxxxx@from-internal-00000140;2", "SIP/1-isdn/xxxxxxxxxx,300,tw") in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Called SIP/1-isdn/xxxxxxxxxx
-- SIP/1-isdn-0000a8c2 is ringing
-- Local/0xxxxxxxxxx@from-internal-00000140;1 is ringing

The called party (0xxxxxxxxx) sees the root/radix TRUNKOUTCID (012345) and not the external CallerID (REALCALLERIDNUM=00YYYYYYYY). Is this due to the fact that the telco company does not allow any external CID passing through but only the root/radix of the system? I see that asterisk is passing USEROUTCID correctly so it seems it is doing it's job - just wanted to be sure from the asterisk/freepbx side everything was ok and that there is nothing else to do.

Thanks for any heads up!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 12604

Trending Articles