-
Hi,
I use SipUnit in different Threads, to emulate a sync call on one PC.
But, if an assert failes in a Thread, there is only the Exception printed to the Console, but the Test finishes successfully...
Is this the expected behaviour? Is there a workarround?
greetz.
2009-11-11 16:32:28 UTC in CafeSip - Look what Java and SIP can do
-
Yeah, I fixxed the Problem now with a really dirty Hack :).
I just decremented the CSeq-Number if a 484-Respnse is Received...
Thanks for reply!
Greetz.
2009-08-19 08:04:35 UTC in CafeSip - Look what Java and SIP can do
-
Hi Guys,
i got a little problem here. I am trying to implement some kind of OverlapDialing in SipUnit. For this reason I constructed my own makeCall-function in SipPhone.
But, as u can see in this (http://paste.ubuntu.com/255016/) trace, the ACKs that are sent on the received 484-messages contain a wrong CSeq-Number (higher than the 484-Responses).
For Information, i did a little Hack...
2009-08-18 09:43:15 UTC in CafeSip - Look what Java and SIP can do
-
Thank you very much :) Handled erverything fine!
Here the code if there are other who need things like that:
SipPhone tempPhone = a.getParent();
tempPhone.listenRequestMessage();
//Process INFO-Message
RequestEvent event = tempPhone.waitRequest(1000); //wait a second
if(event != null){
Request tReq = event.getRequest();...
2009-04-17 11:57:08 UTC in CafeSip - Look what Java and SIP can do
-
Hello out there,
little problem.. I'm receiving a few SIP INFO Messages. If they don't get answered, the SIP-Server kills the call. A control via the "Allow:"-Header is not possible.
So, two Questions:
- perhaps there is already a method implemented to process those Messages???
- or, if not, where do I start to implement that?
-> My first guess was to parse all...
2009-04-16 12:52:24 UTC in CafeSip - Look what Java and SIP can do
-
Hi,
because SipUnit is that Owesome, I'm searching for something like that, just in the ISDN-World.
There is no IsdnUnit... I tried ;).
Or anyone knows an API to handle ISDN with JAVA??
(I only found JCAPI->last update in 2004 :( )
So if anyone knows anything... plz tell me! :) Would help me a lot!!!!
greetz.
2009-01-27 14:51:12 UTC in CafeSip - Look what Java and SIP can do
-
Aber jetzt ist es mitlerweile im kompletten Winterschlaf... oder??.
2009-01-27 14:22:37 UTC in Jcapi - Java wrapper for CAPI
-
Hi Guys,
i tried everything to just simply play a stupid wav file in JMF. So I thought, try FMJ! But there is an error, too. But this Error seems different. So here the Error I got in JMF:
Unable to handle format: LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed, 16000.0 frame rate, FrameSize=16 bits
Failed to prefetch: com.sun.media.PlaybackEngine@16930e2
Error: Unable to prefetch...
2009-01-16 08:26:40 UTC in FMJ
-
Yes, i made some modification on SipUnit... but I dont't think they cause this behaviour.
This is always happening if I assert something in a different Thread.
For example a Sync Call picked up in a run() implementation failes. Then this exception is only displayed on the console but the test runs through. Has this been tested too??
greetz and thanks for your help all the time!!
2008-12-18 09:46:02 UTC in CafeSip - Look what Java and SIP can do
-
I'm running here a few tests,
on the commandline I get the Error
Exception in thread "Thread-40" junit.framework.AssertionFailedError: b.waitForDisconnect(TIMEOUT) - Timeout Occurred: The maximum amount of time to wait for a request message has elapsed.
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at...
2008-12-15 09:14:50 UTC in CafeSip - Look what Java and SIP can do