한국어

스마트폰앱

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


//어카운트 에서  파라메터 가져오기 ( 디펄트 어카운트(린폰코어) 가져오기)
        const LinphoneAccountParams *params = linphone_account_get_params(linphone_core_get_default_account(LC));


//디폴트 어카운트 가져오기
LinphoneAccount *acc = linphone_core_get_default_account(LC);
//파라메터가져오기
LinphoneAccountParams const *accParams = linphone_account_get_params(acc);

//디폴트 어카운트 가져오기
LinphoneAccount *default_account = linphone_core_get_default_account(LC);

if (default_account != NULL) {
//디펄트어카운트에서 어드레스가져오기
const LinphoneAddress *addr = linphone_account_params_get_identity_address(linphone_account_get_params(default_account)); 

//디폴트 어카운트 가져오기
LinphoneAccount *default_account = linphone_core_get_default_account(LC);
if (default_account != NULL) {

//디펄트어카운트에서 어드레스가져오기
const LinphoneAddress *addr = linphone_account_params_get_identity_address(linphone_account_get_params(default_account));

네임라벨에 addr 로표시
[ContactDisplay setDisplayNameLabel:_nameLabel forAddress:addr];

addr 을 스트링으로 변화
char *str = addr ? linphone_address_as_string(addr) : nil;

어드레스스트링을 UTF8String 포멧으로 해서 어드레스 라벨에 표시
_addressLabel.text = str ? [NSString stringWithUTF8String:str] : NSLocalizedString(@"No address", nil);

메모리를 풀어준다 free
if (str) ms_free(str);
조회 수 :
8592
등록일 :
2022.06.11
21:18:47 (*.128.149.105)
엮인글 :
http://www.webs.co.kr/index.php?document_srl=3348746&act=trackback&key=be8
게시글 주소 :
http://www.webs.co.kr/index.php?document_srl=3348746
List of Articles