Legacy Dev Forum Posts

 View Only

Sign Up

startSoftphoneSession is not a function

  • 1.  startSoftphoneSession is not a function

    Posted 06-05-2025 19:33

    ali.aljohani | 2021-12-22 14:45:19 UTC | #1

    Hello Everyone,

    When I try to use: await sdk.startSoftphoneSession({phoneNumber: '15555555555'}); as mentioned in https://developer.genesys.cloud/api/webrtcsdk/softphone#softphone-session-methods

    I receive an error which says: sdk.startSoftphoneSession is not a function, please see the attached file with red highlight.

    Can you please advise if I am missing something?

    Best regards, Ali


    ali.aljohani | 2021-12-23 07:20:05 UTC | #2

    Hello Everyone,

    It was my mistake that I did not (sdk.initialize()). After I did, all are working.

    Best regards, Ali


    system | 2022-01-21 14:44:29 UTC | #3

    This topic was automatically closed after 30 days. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 13026