简体   繁体   中英

Receive sip call using pjsip sipstack

I developing VOIP android application that make and receive the sip call.I Build the pjsip lilbrary as described in " http://trac.pjsip.org/repos/wiki/Getting-Started/Android ".

I use the pjsua sample application code for make sip call by using:

      MyCall call = new MyCall(account, -1);
      prm = new CallOpParam(true);
            try {
                call.makeCall("destination Sip Address", prm);
            } catch (Exception e) {
                call.delete();
                return;
            }

I am able to make Call but not able to receive call.What I do for receive sip call in my application?

Thanks.

Recently I was also testing those code samples on Ubuntu 16.04 LTS virtual machine with PJSIP 2.5.5 and got the same problem. Can make outgoing calls to my Asterisk server on a Raspberry Pi or to other clients (btw quality is not so perfect :/) and NO way to receive incoming calls.

I'm picking up SIP error 603

(from Wikipedia: " 603 Decline The destination does not wish to participate in the call, or cannot do so, and additionally the destination knows there are no alternative destinations (such as a voicemail server) willing to accept the call.")

and info from asterisk console, that user is busy.

Did you come up with something in that case??

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM