Jain-sip 1.2 For Android: Missing Javax.sip.stack_name Property
Solution 1:
There is now a supported Android port of JAIN SIP by the people who wrote much of the original JAIN SIP stack:
Solution 2:
I just saw this post and ran into the same problem.
After a few minutes, I success porting jain sip stack to Nexus 7 Android 4.1.
The main reason of your problem is the "Jar" package name. Since Android do not support the libraries import from the package name of "javax.*" , the first job porting jsip to Android platform is to change the import package name.
And you have changed one of the package name javax.sip into sipper.sip with the following script.
<rule pattern="javax.sip.**" result="sipper.sip.@1"/>
This would make the jsip produce the exception you just mention above.
Please first check the full source code by this link (line 551~552). You will see the following code.
Stringname= configurationProperties.getProperty("javax.sip.STACK_NAME");
So the jsip just find the property to get the sip stack name. And finally , the answer to this question. Please add those code in your jsip application.
Propertiesproperties=newProperties();
properties.setProperty("sipper.sip.STACK_NAME", "stack");
Hope this could help you and the viewer from the internet!!!
Post a Comment for "Jain-sip 1.2 For Android: Missing Javax.sip.stack_name Property"