Comments (5)
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.
Hi @PriyaSindkar,
Did you able to solve this issues. Can you please help me to solve this issue.
from pjsip-android.
@tushar-patil-android @PriyaSindkar Any updates? I got this error too.
from pjsip-android.
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.
Closing issue as the issue was my server side and not with this library.
from pjsip-android.
Related Issues (20)
- Auto Rejected When Outgoing Call HOT 2
- Can you guide me regarding BLF?
- Resolving stun servers on main thread creates ANR from Android 11 and above. HOT 1
- Improve logging facility
- Investigate why sometimes on lib start the accounts are reconfigured
- Ignored error on setting window flags on wid=1: Invalid or unsupported video capability (PJMEDIA_EVID_INVCAP) HOT 2
- Increase the number of ringing HOT 2
- Error while making second outgoing call while one call is till going on to make conference call HOT 4
- [ISSUE] Remote preview lost and surfaceview turn to black when app goes to background and turns to foreground HOT 1
- [ISSUE] Connect to PJSIP call while having other Voip call ongoing Android. Cannot hear in PJSIP call HOT 8
- [ISSUE] Crash BroadcastReceiver SecurityException HOT 2
- I use this library to connect to Freeswitch. During the call process, the dual voice is clear, but the recording of the called person is not clear. The called person is a normal mobile terminal. I use the PortSip open-source app to call, and the recording is fine HOT 1
- [ISSUE] Missing contact header in registration after ip change while incall
- i have a questen about register sip servicer HOT 2
- [Contact Header] Contact header gets duplicated HOT 3
- [Codec priority] Changing or Setting Codec priority does not work HOT 3
- running the project in android HOT 3
- Help! HOT 4
- UnsatisfiedLinkError HOT 1
- [BUG] Voice distortion. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pjsip-android.