×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    I can't get phone number in PC connectivity SDK

    I can't get phone number in PC connectivity SDK ::
    in Event "CallInComing". (see below)
    Please tell me

    Private Sub pCallAdapter_CallInComing(ByVal pICallItem As NokiaCLCall.ICallItem)
    Dim subBlock As NokiaCLCall.ICommonSubBlocks

    cNumber = subBlock.GetDestAddress(CA_CALL_NBR_PLAN_PRIVATE, CA_CALL_NBR_TYPE_UNKNOWN, CA_CALL_PRESENTATION_ALLOWED, CA_CALL_SCREEN_NETW_PROVIDED)

    ShowEvent ("Incoming call number :: " & cNumber)

    'RejectCall
    End Sub


    Regards,

    North

  2. #2
    Registered User
    Join Date
    May 2003
    Posts
    22
    I guess that it is the origination address you want. Then try CA_ORIG_ADDRESS instead

    For i = 0 To UBound(objSubBlockList)
    If objSubBlockList(i) = CA_ORIG_ADDRESS Then
    strPhoneNumber = objCommonSubBlocks.GetOrigAddress(objNumberingPlan, objTypeOfAddress, objPresentationIndicator, objScreenIndicator)

    Exit For
    End If
    Next

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×