i have a questen about register sip servicer
mSipAccount = new SipAccountData(); mSipAccount.setHost("ctr1.diankongcloud.cn") .setPort(8089) .setTransport(SipAccountTransport.UDP) .setRealm("ctr1.diankongcloud.cn:8089") .setUsername("700000011321001") .setPassword("12345678");
SipServiceCommand.setAccount(this,mSipAccount);
SipServiceCommand.getCodecPriorities(this);
this is my code ,in onRegistration callback registrationStateCode is 502, in log info,i found the message is Sip Reg Info - Code: 502, Reason: gethostbyname() has returned error (PJ_ERESOLVE), Exp: 300, Status: 0 i don’t understand how to fix that,can you help me ?
My purpose is to get sip signaling information, is there any way to get it,the signaling information looks like the information in this picture
502 means pjsip cannot communicate with server (bad gateway). You should check server side if you should add anything more, eg: a proxy
closing due to inactivity