Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Outbound dialer

Discussion in 'Call Flow Designer' started by Goga, Jul 20, 2017.

Thread Status:
Not open for further replies.
  1. Goga

    Joined:
    Mar 31, 2017
    Messages:
    16
    Likes Received:
    0
    Hi,

    I am checking outbound dialer as mention in below link :

    https://www.3cx.com/docs/cfd-creating-outbound-dialer/

    everything is working fine except, when EOF is true, it show result last number it read .

    So the condition mention "GREAT_THAN(LEN(readNumberToCall.Result),0)"
    in flow, not work.
    And system keep calling the the last number it get in result.

    Then i test by put last number as '012' means 3 digit
    and change condition to "GREAT_THAN(LEN(readNumberToCall.Result),4)"
    at .txt I put number 960489935 - it work .
    second number is - 012
    Then also it go to "make call."

    To check further I change condition to "GREAT_THAN(LEN(readNumberToCall.Result),11)"
    then it now allow to go to "make call" as my first number in file is 9 digit.

    I am not sure how it is behaving.

    Any is appreciated.
     

    Attached Files:

  2. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,611
    Likes Received:
    126
    Hello @Goga,

    I think that the problem might be that when the "Read / Write to file" component reads the line, it contains the final CR/LF characters. So, if your number length is 9, you end up with 11 characters.

    In order to avoid this problem, you should use the TRIM function, for example:
    GREAT_THAN(LEN(TRIM(readNumberToCall.Result)),11)

    Can you please check if that makes any difference?

    Kind regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Goga

    Joined:
    Mar 31, 2017
    Messages:
    16
    Likes Received:
    0
    Hi,
    Thanks for your reply.

    After using TRIM it work well. :)
     
Thread Status:
Not open for further replies.