caller id and outgoing call application

Status
Not open for further replies.

YCall

Trainee Partner
Joined
Dec 31, 2022
Messages
44
Reaction score
1
Hello! Help, please.
We launch the outgoing call application. The caller id "MakeCall" is sent to the provider(We check that), not the main trunk number "+7999******", so we get what is on the screenshot. How to send the correct number "+7999******" to the provider and make the CFD app work?

1685929618819.png

I also send the CFD log file↓↓↓, the cycle runs without errors (if I understand correctly).

2023/06/05 04:46:27.221|24882|0008|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - CallID 00000188893BED38_1 - Callflow - Start executing main flow...
2023/06/05 04:46:27.224|24882|0008|Inf|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - CallID 00000188893BED38_1 - Callflow - Creating 10 dialers for this Power Dialer.
2023/06/05 04:46:27.225|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - CallID 00000188893BED38_1 - Callflow - Start executing component 'mainAutoAddedFinalDisconnectCall'
2023/06/05 04:46:27.225|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - CallID 00000188893BED38_1 - CallFlow.CFD.DisconnectCallComponent 'mainAutoAddedFinalDisconnectCall' - No more files to play, disconnecting call...
2023/06/05 04:46:27.243|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - Dialer - Starting dialer cycle
2023/06/05 04:46:27.246|24882|0008|Inf|ScriptRunner.ScriptRunner-CallStorageSize=1(1)
2023/06/05 04:46:27.247|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - Dialer - Start executing component 'checkTimeToCall'
2023/06/05 04:46:27.248|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.ConditionalComponent 'checkTimeToCall' - Evaluating condition for branch 'timeToCall'
2023/06/05 04:46:27.249|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.ConditionalComponent 'checkTimeToCall' - Condition evaluated to true for branch 'timeToCall', executing inner components
2023/06/05 04:46:27.249|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.ConditionalComponent 'checkTimeToCall' - Start executing branch 'timeToCall'
2023/06/05 04:46:27.250|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.SequenceContainerComponent 'timeToCall' - Start executing component 'checkFreeExtensions'
2023/06/05 04:46:27.251|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - _outbounddialer.Callflow_1.Callflow+checkFreeExtensions1625415128ECFComponent 'checkFreeExtensions' - Start executing external script
2023/06/05 04:46:27.252|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - _outbounddialer.Callflow_1.Callflow+checkFreeExtensions1625415128ECFComponent 'checkFreeExtensions' - End executing component with returnValue: True
2023/06/05 04:46:27.252|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.SequenceContainerComponent 'timeToCall' - Start executing component 'isThereAnyFreeExtension'
2023/06/05 04:46:27.252|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.ConditionalComponent 'isThereAnyFreeExtension' - Evaluating condition for branch 'yesMakeCall'
2023/06/05 04:46:27.252|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.ConditionalComponent 'isThereAnyFreeExtension' - Condition evaluated to true for branch 'yesMakeCall', executing inner components
2023/06/05 04:46:27.252|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.ConditionalComponent 'isThereAnyFreeExtension' - Start executing branch 'yesMakeCall'
2023/06/05 04:46:27.252|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.SequenceContainerComponent 'yesMakeCall' - Start executing component 'getCallIndex'
2023/06/05 04:46:27.252|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - _outbounddialer.Callflow_1.Callflow+getCallIndex1096920540ECFComponent 'getCallIndex' - Start executing external script
2023/06/05 04:46:27.253|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - _outbounddialer.Callflow_1.Callflow+getCallIndex1096920540ECFComponent 'getCallIndex' - End executing component with returnValue: 0
2023/06/05 04:46:27.253|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.SequenceContainerComponent 'yesMakeCall' - Start executing component 'readNumberToCall'
2023/06/05 04:46:27.259|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.FileManagementComponent 'readNumberToCall' - Start reading file '/var/lib/3cxpbx/Instance1/Data/Callflows/Files/NumbersToCall.txt'
2023/06/05 04:46:27.265|24882|0008|Inf|ScriptRunner.ScriptRunner-Removed CallID mapping on terminated connection for SIP dialog 9lSGRrwGm4dAsxR5yTL-fA..0e67cfa01
2023/06/05 04:46:27.265|24882|0008|Inf|ScriptRunner.ScriptRunner-CallStorageSize=1(0)
2023/06/05 04:46:27.267|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.FileManagementComponent 'readNumberToCall' - End reading file '/var/lib/3cxpbx/Instance1/Data/Callflows/Files/NumbersToCall.txt' - eofReached='False' - result: 89257054387

2023/06/05 04:46:27.268|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.SequenceContainerComponent 'yesMakeCall' - Start executing component 'checkNumberAvailable'
2023/06/05 04:46:27.268|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.ConditionalComponent 'checkNumberAvailable' - Evaluating condition for branch 'numberAvailable'
2023/06/05 04:46:27.268|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.ConditionalComponent 'checkNumberAvailable' - Condition evaluated to true for branch 'numberAvailable', executing inner components
2023/06/05 04:46:27.268|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.ConditionalComponent 'checkNumberAvailable' - Start executing branch 'numberAvailable'
2023/06/05 04:46:27.268|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.SequenceContainerComponent 'numberAvailable' - Start executing component 'incrementCallIndex'
2023/06/05 04:46:27.268|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - _outbounddialer.Callflow_1.Callflow+incrementCallIndex1652074471ECFComponent 'incrementCallIndex' - Start executing external script
2023/06/05 04:46:27.269|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - _outbounddialer.Callflow_1.Callflow+incrementCallIndex1652074471ECFComponent 'incrementCallIndex' - End executing component with returnValue:
2023/06/05 04:46:27.269|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.SequenceContainerComponent 'numberAvailable' - Start executing component 'doMakeCall'
2023/06/05 04:46:27.269|24882|0009|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: OutboundDialer - Dialer 0 - CallFlow.CFD.MakeCallComponent 'doMakeCall' - Making call from origin='89257054387' to destination='800'
2023/06/05 04:46:27.288|24882|0008|Inf|ScriptRunner.ScriptRunner-FireTerminate and remove mapping for existing SIP dialogue 9lSGRrwGm4dAsxR5yTL-fA..0e67cfa01
2023/06/05 04:46:27.288|24882|0008|Trc|CallPair._outbounddialer.Callflow_1.Callflow.3.[C:1.3]-From script: Callflow - Switching executing mode from Active to Wrapup
2023/06/05 04:46:27.288|24882|0008|Inf|ScriptRunner.ScriptRunner-CallStorageSize=0(0)
2023/06/05 04:46:27.505|24882|0008|Trc|###TRANSACTION.7 started
2023/06/05 04:46:27.506|24882|0008|Trc|+++TRANSACTION.7 updated - elapsed 1.3165
2023/06/05 04:46:27.506|24882|0008|Trc|Finalizing TRANSACTION.7
2023/06/05 04:46:27.506|24882|0008|Trc|---TRANSACTION.7 finished 1.4969ms
 
This is not something that you can control from the CFD app. The only way to adjust what's being sent to the SIP Trunk is adjusting the parameters from the 3CX Management Console > SIP Trunks > Edit your trunk > Outbound parameters tab. From there you can specify which value you want to send for each SIP field.
 
  • Like
Reactions: Evolute IT
Another approach would be to setup a outbound rule and specify the caller ID to be used. Keep in mind that MakeCall is not an extension, therefore, at least one outbound rule cannot have restrictions based on extensions or groups.
 
  • Like
Reactions: edossantos
This is not something that you can control from the CFD app. The only way to adjust what's being sent to the SIP Trunk is adjusting the parameters from the 3CX Management Console > SIP Trunks > Edit your trunk > Outbound parameters tab. From there you can specify which value you want to send for each SIP field.
Another approach would be to setup a outbound rule and specify the caller ID to be used. Keep in mind that MakeCall is not an extension, therefore, at least one outbound rule cannot have restrictions based on extensions or groups.
I need to send a caller id to the sip provider, but how do I put a mask on makecall in the form of a number? Tell me how to proceed in more detail. Thank you.
 
There is no way to configure MakeCall with a caller ID number. But you can create an outbound rule that automatically sends to your SIP carrier the specified Caller ID number.

1685973741273.png

On strategy for ensuring MakeCall uses the desired outbound rule would be to configure MakeCall to always prepend some digits to the start of the phone number, then strip these digits before sending the call to the carrier.
 
  • Like
Reactions: edossantos
There is no way to configure MakeCall with a caller ID number. But you can create an outbound rule that automatically sends to your SIP carrier the specified Caller ID number.

View attachment 35780

On strategy for ensuring MakeCall uses the desired outbound rule would be to configure MakeCall to always prepend some digits to the start of the phone number, then strip these digits before sending the call to the carrier.
do I need to add a caller id to the rules and that's it? Is there anything else you need?
 
There is no way to configure MakeCall with a caller ID number. But you can create an outbound rule that automatically sends to your SIP carrier the specified Caller ID number.

View attachment 35780

On strategy for ensuring MakeCall uses the desired outbound rule would be to configure MakeCall to always prepend some digits to the start of the phone number, then strip these digits before sending the call to the carrier.
This is not something that you can control from the CFD app. The only way to adjust what's being sent to the SIP Trunk is adjusting the parameters from the 3CX Management Console > SIP Trunks > Edit your trunk > Outbound parameters tab. From there you can specify which value you want to send for each SIP field.
just give an example of what you need to do to mask makecall
 
I find 2 posts about it, but I can't figure it out, it didn't help me. What do you recommend?
https://www.3cx.com/community/threa...ll-in-my-call-header-sent-to-sip-trunk.86537/
https://www.3cx.com/community/threa...-in-a-makecall-call-in-cfd.78342/#post-359235
This is not something that you can control from the CFD app. The only way to adjust what's being sent to the SIP Trunk is adjusting the parameters from the 3CX Management Console > SIP Trunks > Edit your trunk > Outbound parameters tab. From there you can specify which value you want to send for each SIP field.

The CFD cycle goes to the end and a makecall is sent to the provider. I am attaching a screenshot of the outgoing rule. I've tried everything and I don't know what's wrong!
My communication provider cannot change the rules at home, so I would have solved the problem long ago ..
1685988862491.png
 
Last edited:
In the end, I figured it out myself, everything works, post 1 from the forum helped. It is necessary to add and remove digits of the number in the rule, then the makecall grabs it, otherwise this does not happen. Who could even think of this? Just epic..
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,973
Messages
590,075
Members
164,895
Latest member
jasonkkrause