Code Monkey home page Code Monkey logo

Comments (5)

PriyaSindkar avatar PriyaSindkar commented on September 3, 2024

Ok, so I found out why the call is being disconnected. It is because if no caller id is specified, a caller id is automatically generated which is 32 chars long. Problem is: My Asterisk PBX server is somehow not accepting a 32 chars long caller id and gives SERVICE_UNAVAILABLE.

How do I set caller id from my code? I already tried below but still a 32 char long caller id is generated.

sipCall.getInfo().setCallIdString("UNKNOWN");

I think the problem with above is that getInfo() will always return a new object inside of some stored CallInfo object. How to make this setting of Unknown persistent with the SipCall object?

from pjsip-android.

tushar-patil-android avatar tushar-patil-android commented on September 3, 2024

Hi @PriyaSindkar,

Did you able to solve this issues. Can you please help me to solve this issue.

from pjsip-android.

ValOstopolets avatar ValOstopolets commented on September 3, 2024

@tushar-patil-android @PriyaSindkar Any updates? I got this error too.

from pjsip-android.

PriyaSindkar avatar PriyaSindkar commented on September 3, 2024

Sorry.. no luck with the code. My PBX server was not accepting a caller if that was 32 or more in length. I had to ask my API creator (all my SIP data came from an internal API) to provide me with a caller id that was less than 32 char long and I passed it to solve this.

Maybe you guys are facing a similar problem?

from pjsip-android.

PriyaSindkar avatar PriyaSindkar commented on September 3, 2024

Closing issue as the issue was my server side and not with this library.

from pjsip-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.