>By the way, I'm getting some kind of trouble after the sip > acceptance call with 200 call from the receiver. I must clearify what I meant. I'm making the call from the client that will play the wav file to the client that will record it. The client that recives the call asks correctly to answer or to hang up, and so I accept the call with an a command. After that, it asks also the sip code of the answer, and I specify to answer with a 200 code. After that reply, the assertion fails as I've described earlier. Thanks. Monty Python. On Tue, Aug 28, 2012 at 12:37 AM, Monty Python <pythonexperiment at gmail.com> wrote: > Hi coders!! > > Yes, I'm trying to use pjsua for Android: this time I'm referring > to the Android branch, and not to the main trunk: this is because I > think that pjsua is the most complete pjsip's example application, and > I'm trying to port more, as far as many other applications that I've > cross compiled seem to work very well!!! > > I'm running two android clients inside a Local Network by a Netgear > Router: the buddy registration goes fine, the starting call also, and > also the OpenSLES Driver works very well in the initialization > process. By the way, I'm getting some kind of trouble after the sip > acceptance call with 200 call from the receiver. I'm using these two > commands in two Android rooted devices: > > $ ./android-pjsua --auto-rec --rec-file=/sdcard/ciao.wav > $ ./android-pjsua --auto-play --play-file=/sdcard/au.wav > > The wav-playing application terminates with a segmentation fault due > to this failing assertion: > >>ACK sip:192.168.0.7:5060 SIP/2.0 >>Via: SIP/2.0/UDP 192.168.0.8:5060;rport;branch=z9hG4bKPj6BpWdMTQM8maJW4VeqrzjwsUCuO8MpIN >>Max-Forwards: 70 >>From: <sip:192.168.0.8>;tag=CnT39R02ibxFUVti2d.SNswxzrwr.86u >>To: sip:192.168.0.7;tag=ePlE65PDHud79Ys9S47rKEeL9v5-M6VW >>Call-ID: oxU4mf0gjEG-hvbCdU3oCDAB3WL1IcFi >>CSeq: 17921 ACK >>Content-Length: 0 >> >> >>--end msg-- >>00:14:30.678 pjsua_app.c .....Call 0 state changed to CONFIRMED >>assertion "cport->rx_buf_count <= cport->rx_buf_cap" failed: file "../src/pjmedia/conference.c", line 1498, function "read_port" >>[1] Segmentation fault ./android-pjsua --auto-play --play-file=/sdcard/au.wav > > You maybe know what this matter is about? Thanks in advance. > > P.S.: As far as I see that many android question are still > answered by this community, I would like too to ask here my questions. > I'm posting questions neither because I'm a troll, nor I have a > particular interest to confuse people (what would I gain? - Nothing). > In fact I'm making here questions because maybe, some of you, have > encountered these kind of problems in the past, and so I hope to solve > my problems (as an Android and Pjsua's newbie), and also because this > is also the best place to ask such questions. Excuse me also for my > English, but I'm not a mother-toungue speaker. Thanks again for your > support. :-) > > Monty Python