Findme-Follow me - call Forwarding to cell phone with callerID from callers

hi,
I am using FreePBX 16.0.19. and My Trunk set up with SIP with voip.ms.
I have my voip.ms number XXXXXX-0991 on account XX777X.
I have Extensions set up for Find-me-follow-me on their cell number when calls comes on Extension and nobody pick up the call.
it is working great when I set Account settings->General-> callerID number to Use one of my DIDs on voip.ms.
but if I choose Account settings->General-> callerID number to “I use a system capable of passing its own CallerID” . it stop working because it take from FreePBX XX777X instead of Outbound callerID number.

I have set My Trunk Outbound CallerID is I have set CID Option to Allow Any CID in Trunk.
and in Outbound Routes set Override Extension to No.
My Extensions don’t have outbound callerID .

Example:
I am calling into XXXXXX0991 from XXXXXX7081
and reaches to Extension 119 where it follows to XXXXXX5244
on XXXXXX5244 it should be XXXXXX7081 caller ID and not XXXXXX0991.

where to set in freePBX to take callerID to cell phone with follow me option?

Thank you,
PB

The default value on FMFM will keep the original CallerID. Check a network trace (e.g. sngrep) or by capturing in some other way to see if the provider is not allowing the foreign CallerID.

Even if you can do this, you are likely to get a C attestation for STIR/SHAKEN, and the calls to look like spam to the recipient.

Thank you for replay.
Not familiar with FMFM, can you guide more where in FreePBX this settings are?
I have conform with provider (in my case voip.ms) that they are allowing foregin CallerID.

Thank you,
PB

I have my cell phone number on Find-Me-Follow-Me. but it is still taking Trunk number and not callee’s number on cell phone. I want to forward callee’s number when FMFM follows cell phone .

Any help on this topic please?

Please share a call trace via pastebin Providing Great Debug - Support Services - Documentation

Also the configuration for the outbound trunk.

Do you mean Configuration for Outbound Trunk to Trunk Outgoing Settings?
Outgoing →
username=######
type=peer
trustrpid=yes
sendrpid=yes
secret=######
rpid=yes
qualify=yes
nat=yes
insecure=invite
host=******.voip.ms
fromuser=######
disallow=all
context=from-trunk
canreinvite=nonat
allow=ulaw

Incoming String ->######:secrect@******.voip.ms:5060

Actual Outbound Trunk

You are sending the caller ID using Remote-Party-ID, so the next question is do they use that for caller ID. The rest requires the logs, to see whether the caller ID is being changed, and, if so, why.

Thank you for quick replay,
I have voip.ms account where I set I use a system capable of passing its own CallerID in Account setting → General. so that should use caller ID which is send by PBX. but the I think PBX is sending callerID which is in Trunk, and not the one which is coming in when Follow-me happen.

PB.

Please provide the dialplan execution logs, so we can see what caller ID FreePBX thinks it is sending. Also please confirm that they accept Remote-Party-ID. The assumption is that, as you are registering, they are using the From user as the account code, and not the caller ID.

3011 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:53] GotoIf(“SIP/voipms-00000925”, “0?dohangup”) in new stack
3012 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:54] Goto(“SIP/voipms-00000925”, “ext-local,119,dest”) in new stack
3013 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (ext-local,119,4)
3014 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:4] Set(“SIP/voipms-00000925”, “__PICKUPMARK=”) in new stack
3015 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:5] Macro(“SIP/voipms-00000925”, “vm,119,NOANSWER,”) in new stack
3016 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:1] Macro(“SIP/voipms-00000925”, “user-callerid,SKIPTTL”) in new stack
3017 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:1] Set(“SIP/voipms-00000925”, “TOUCH_MONITOR=1653667064.18005”) in new stack
3018 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:2] Set(“SIP/voipms-00000925”, “CHANCONTEXT=”) in new stack
3019 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:3] Set(“SIP/voipms-00000925”, “CHANCONTEXT=”) in new stack
3020 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:4] Set(“SIP/voipms-00000925”, “CHANEXTENCONTEXT=voipms-00000925”) in new stack
3021 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:5] Set(“SIP/voipms-00000925”, “CHANEXTEN=voipms-00000925”) in new stack
3022 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:6] Set(“SIP/voipms-00000925”, “CALLERID(number)=3069147081”) in new stack
3023 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:7] Set(“SIP/voipms-00000925”, “AMPUSER=3069147081”) in new stack
3024 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:8] Set(“SIP/voipms-00000925”, “HOTDESCKCHAN=voipms-00000925”) in new stack
3025 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:9] Set(“SIP/voipms-00000925”, “HOTDESKEXTEN=voipms”) in new stack
3026 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:10] Set(“SIP/voipms-00000925”, “HOTDESKCALL=0”) in new stack
3027 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:11] ExecIf(“SIP/voipms-00000925”, “0?Set(HOTDESKCALL=1)”) in new stack
3028 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:12] ExecIf(“SIP/voipms-00000925”, “0?Set(CALLERID(name)=)”) in new stack
3029 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:13] GotoIf(“SIP/voipms-00000925”, “0?report”) in new stack
3030 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:14] ExecIf(“SIP/voipms-00000925”, “0?Set(REALCALLERIDNUM=3069147081)”) in new stack
3031 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:15] Set(“SIP/voipms-00000925”, “AMPUSER=”) in new stack
3032 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:16] GotoIf(“SIP/voipms-00000925”, “0?limit”) in new stack
3033 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:17] Set(“SIP/voipms-00000925”, “AMPUSERCIDNAME=”) in new stack
3034 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:18] ExecIf(“SIP/voipms-00000925”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
3035 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:19] GotoIf(“SIP/voipms-00000925”, “1?report”) in new stack
3036 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (macro-user-callerid,s,28)
3037 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:28] NoOp(“SIP/voipms-00000925”, “Macro Depth is 2”) in new stack
3038 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:29] GotoIf(“SIP/voipms-00000925”, “1?report2:macroerror”) in new stack
3039 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (macro-user-callerid,s,30)
3040 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:30] GotoIf(“SIP/voipms-00000925”, “1?continue”) in new stack
3041 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (macro-user-callerid,s,49)
3042 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:49] Set(“SIP/voipms-00000925”, “CALLERID(number)=3069147081”) in new stack
3043 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:50] Set(“SIP/voipms-00000925”, “CALLERID(name)=+13069147081”) in new stack
3044 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:51] GotoIf(“SIP/voipms-00000925”, “0?cnum”) in new stack
3045 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:52] Set(“SIP/voipms-00000925”, “CDR(cnam)=+13069147081”) in new stack
3046 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:53] Set(“SIP/voipms-00000925”, “CDR(cnum)=3069147081”) in new stack
3047 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:54] Set(“SIP/voipms-00000925”, “CHANNEL(language)=en”) in new stack
3048 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:2] Set(“SIP/voipms-00000925”, “VMGAIN=”) in new stack
3049 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:3] Macro(“SIP/voipms-00000925”, “blkvm-check,”) in new stack
3050 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:1] Set(“SIP/voipms-00000925”, “GOSUB_RETVAL=”) in new stack
3051 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:2] ExecIf(“SIP/voipms-00000925”, “0?Set(GOSUB_RETVAL=TRUE)”) in new stack
3052 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:3] MacroExit(“SIP/voipms-00000925”, “”) in new stack
3053 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:4] GotoIf(“SIP/voipms-00000925”, “1?vmx,1”) in new stack
3054 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (macro-vm,vmx,1)
3055 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:1] Set(“SIP/voipms-00000925”, “__EXTTOCALL=119”) in new stack
3056 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:2] Set(“SIP/voipms-00000925”, “__CRM_VOICEMAIL=119”) in new stack
3057 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:3] Set(“SIP/voipms-00000925”, “MEXTEN=119”) in new stack
3058 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:4] Set(“SIP/voipms-00000925”, “MMODE=NOANSWER”) in new stack
3059 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:5] Set(“SIP/voipms-00000925”, “RETVM=”) in new stack
3060 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:6] Set(“SIP/voipms-00000925”, “MODE=unavail”) in new stack
3061 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:7] Macro(“SIP/voipms-00000925”, “get-vmcontext,119”) in new stack
3062 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:1] Set(“SIP/voipms-00000925”, “VMCONTEXT=default”) in new stack
3063 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:2] GotoIf(“SIP/voipms-00000925”, “0?200:300”) in new stack
3064 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (macro-get-vmcontext,s,300)
3065 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:300] NoOp(“SIP/voipms-00000925”, “”) in new stack
3066 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:8] Set(“SIP/voipms-00000925”, “MODE=unavail”) in new stack
3067 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:9] NoOp(“SIP/voipms-00000925”, “MODE IS: unavail”) in new stack
3068 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:10] GotoIf(“SIP/voipms-00000925”, “1?chknomsg”) in new stack
3069 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (macro-vm,vmx,12)
3070 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:12] GotoIf(“SIP/voipms-00000925”, “0?s-NOANSWER,1”) in new stack
3071 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:13] GotoIf(“SIP/voipms-00000925”, “1?notdirect”) in new stack
3072 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (macro-vm,vmx,15)
3073 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:15] NoOp(“SIP/voipms-00000925”, "Checking if ext 119 is enabled: ") in new stack
3074 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:16] GotoIf(“SIP/voipms-00000925”, “1?s-NOANSWER,1”) in new stack
3075 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (macro-vm,s-NOANSWER,1)
3076 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:1] Macro(“SIP/voipms-00000925”, “get-vmcontext,119”) in new stack
3077 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:1] Set(“SIP/voipms-00000925”, “VMCONTEXT=default”) in new stack
3078 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:2] GotoIf(“SIP/voipms-00000925”, “0?200:300”) in new stack
3079 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (macro-get-vmcontext,s,300)
3080 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:300] NoOp(“SIP/voipms-00000925”, “”) in new stack
3081 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:2] VoiceMail(“SIP/voipms-00000925”, “[email protected],u”) in new stack
3082 [2022-05-27 09:58:20] VERBOSE[2796][C-00000537] file.c: <SIP/voipms-00000925> Playing ‘/var/spool/asterisk/voicemail/default/119/unavail.slin’ (language ‘en’)
3083 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] app_macro.c: Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on ‘SIP/voipms-00000925’ in macro ‘vm’
3084 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Spawn extension (ext-local, 119, 5) exited non-zero on ‘SIP/voipms-00000925’
3085 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:1] Macro(“SIP/voipms-00000925”, “hangupcall,”) in new stack
3086 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:1] GotoIf(“SIP/voipms-00000925”, “1?theend”) in new stack
3087 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx_builtins.c: Goto (macro-hangupcall,s,3)
3088 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/voipms-00000925”, “0?Set(CDR(recordingfile)=)”) in new stack
3089 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:4] Hangup(“SIP/voipms-00000925”, “”) in new stack
3090 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/voipms-00000925’ in macro ‘hangupcall’
3091 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/voipms-00000925’
3092 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] app_stack.c: SIP/voipms-00000925 Internal Gosub(crm-hangup,s,1) start
3093 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:1] NoOp(“SIP/voipms-00000925”, “Sending Hangup to CRM”) in new stack
3094 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:2] NoOp(“SIP/voipms-00000925”, “HANGUP CAUSE: 16”) in new stack
3095 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:3] ExecIf(“SIP/voipms-00000925”, “1?Set(__CRM_VOICEMAIL=FAILED)”) in new stack
3096 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:4] NoOp(“SIP/voipms-00000925”, “MASTER CHANNEL: 1653667064.18005 = 1653667064.18005”) in new stack
3097 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:5] GotoIf(“SIP/voipms-00000925”, “0?return”) in new stack
3098 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:6] Set(“SIP/voipms-00000925”, “__CRM_HANGUP=1”) in new stack
3099 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:7] AGI(“SIP/voipms-00000925”, “agi://127.0.0.1/sangomacrm.agi”) in new stack
3100 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] res_agi.c: <SIP/voipms-00000925>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
3101 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] pbx.c: Executing [[email protected]:8] Return(“SIP/voipms-00000925”, “”) in new stack
3102 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] app_stack.c: Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/voipms-00000925’
3103 [2022-05-27 09:58:24] VERBOSE[2796][C-00000537] app_stack.c: SIP/voipms-00000925 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

This is the caller ID that FreePBX thinks it is sending. If that is the wrong one, someone more versed in reading FreePBX logs will need to check, although I’d note that your log is incomplete (starts very late).

yes , this is the number it should show up on follow me cell number . but showed up as office number instead.

Either the provider doesn’t support Remote-Party-ID, or they are suppressing the caller ID rather than sending it with a C (probable spam) attestation.

Thank you for your help troubleshooting on this issue.

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