<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.voip.pjsip">
    <title>gmane.comp.voip.pjsip</title>
    <link>http://blog.gmane.org/gmane.comp.voip.pjsip</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17273"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17269"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17268"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17267"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17266"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17263"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17260"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17256"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17255"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17254"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17253"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17251"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17244"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17243"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17241"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17240"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17239"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17237"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17235"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.voip.pjsip/17234"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17273">
    <title>Issues with audio running pjsua on a Raspberry Pi</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17273</link>
    <description>&lt;pre&gt;Hi,

 

We are trying to get a really simple dumb SIP client running on the
Raspberry Pi that essential auto answers an inbound call. For the
moment, we are only concerned with 1 way audio, so essentially using
PJSIP to output audio via the inbuilt analogue audio device on the Pi.
Yet we are running in issue from the get go.

 

Although we can play a WAV file for the correct type using the playfile
sample app (in accordance with the FAQ at
http://trac.pjsip.org/repos/wiki/audio-check-play) with no issues, the
pjsua app fails. Indeed, the pjsystest app throws up a similar issue
when play and audio file:

 

Audio Tone Playback Test

This test will play simple ringback tone to the speaker. Please listen
carefully for audio impairments such as stutter. You may need to let
this test running for a while to make sure that everything is okay.
Press OK to start, CANCEL to skip

1:OK  9:Cancel

1

16:08:29.913      systest.c  Running Audio Tone Playback Test

16:08:29.914    pjsua_aud.c  Conf connect: 1 --&amp;gt; 0

16:08:29.914    pjsua_aud.c  .Set sound device: capture=-1, playback=-2

16:08:29.914    pjsua_aud.c  ..Opening sound device PCM&amp;lt; at &amp;gt;8000/1/20ms

16:08:30.090   conference.c  .Port 1 (ringback) transmitting to port 0
(pulse)

Audio Tone Playback Test

Ringback tone should be playing now in the speaker. Press OK to stop.

1:OK

16:08:30.278 os_core_unix.c  Info: possibly re-registering existing
thread

 

 

At this point, the app hangs and we need to Ctrl+C to quit the process.
If we run through the instruction in the above FAQ to play audio using
pjsua, and after we try and play the audio, we see a similar error, yet
pressing RETURN continues the pjsua app. However, when we quit, we see
the following:

 


16:31:42.696   pjsua_core.c !Shutting down, flags=0...

16:31:42.697   pjsua_core.c  PJSUA state changed: RUNNING --&amp;gt; CLOSING

16:31:42.709   pjsua_call.c  .Hangup all calls..

16:31:42.710   pjsua_pres.c  .Shutting down presence..

16:31:42.712  pjsua_media.c  .Shutting down media..

16:31:42.713    pjsua_app.c  ...Turning sound device OFF

16:31:42.714    pjsua_aud.c  ...Closing pulse sound playback device and
pulse sound capture device

 

At which point pjsua hangs and again we need to Ctrl+C to terminate.

 

Any guidance would be welcome.

 

For reference, we have downloaded and compiled the latest PJSIP (2.1)
build, running on Raspbian "wheezy" (2013-02-09), with updated OS,
packages and firmware, and the libasound2-dev package installed.

 

Regards,

 

Chris

&lt;/pre&gt;</description>
    <dc:creator>Swinney C.</dc:creator>
    <dc:date>2013-05-23T10:31:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17269">
    <title>PJSIP 2.1 for Android without OpenSL</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17269</link>
    <description>&lt;pre&gt;Hi,

Is it possible to create a usable version of pjsip 2.1 for Android that doesn't require OpenSL (i.e. for use with phones prior to Android 2.3) ?

I've tried enabling PJMEDIA_AUDIO_DEV_HAS_ANDROID_JNI in config_site.h but end up with multiple JNI_OnLoad definitions when I compile. And CSipSimple (which apparently does work on earlier versions of Android) seems to be using a 1.x version of pjsip.

Regards

Tony Seebregts




To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser: 
https://www.fnb.co.za/disclaimer.html 

If you are unable to access the Disclaimer, send a blank e-mail to
firstrandbankdisclaimer&amp;lt; at &amp;gt;fnb.co.za and we will send you a copy of the Disclaimer.
&lt;/pre&gt;</description>
    <dc:creator>Seebregts, Anthony</dc:creator>
    <dc:date>2013-05-23T08:28:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17268">
    <title>Fw:play buffer to a port associated with a call</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17268</link>
    <description>&lt;pre&gt;



 Dear everyone:
    I've seen questions and answers about how to play buffer to a port associated with a call on the mailing list.
Recently, I am also doing some work on how to realise it.
    What the difference is that I want the buffer to be sourced from audio steam which is received synchronously from bluetooth headset on my computer .
    And the headset is the headset side of my cellphone bluetooth.
    So I asked if there were any good way to realise all these.
    Any advice from you will be highly appreciated.
Wenlong  






&lt;/pre&gt;</description>
    <dc:creator>wenjiji</dc:creator>
    <dc:date>2013-05-23T07:40:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17267">
    <title>PJSUA is not working with PSTN calling.</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17267</link>
    <description>&lt;pre&gt;Hi,

I have developed a dialer using pjsua. I am using this dialer to call my Asterisk box and when I call to any SIP or FXO line that are connected to the box my dialer is working fine, but when I call to any PSTN line I do not able here any ringing bell sound from the other end. But if I use X-lite to call the PSTN line it is working fine. For last 15 days I am banging my head. Please help me to get out of this problem.

Thanks &amp;amp; Regards.

Narayan.

My observation
--------------------
When I call a PSTN line the asterisk box shows an INVITE message is posted by the dialer but any ACK message is not receving from the PJSUA. 

The log file of SIP to PSTN dialing
-------------------------------------------------------------------------
 16:38:41.734 sip_endpoint.c  Module "mod-pjsua-log" registered
 16:38:41.734 sip_endpoint.c  Module "mod-tsx-layer" registered
 16:38:41.734 sip_endpoint.c  Module "mod-stateful-util" registered
 16:38:41.734 sip_endpoint.c  Module "mod-ua" registered
 16:38:41.734 sip_endpoint.c  Module "mod-100rel" registered
 16:38:41.734 sip_endpoint.c  Module "mod-pjsua" registered
 16:38:41.734 sip_endpoint.c  Module "mod-invite" registered
 16:38:41.734       pa_dev.c  PA message: before paHostApiInitializers[0].

 16:38:41.734       pa_dev.c  PA message: Pa_GetDeviceInfo: Num input channels reported as 65535! Changed to 2.
 16:38:41.734       pa_dev.c  PA message: Pa_GetDeviceInfo: Num output channels reported as 65535! Changed to 2.
 16:38:41.734       pa_dev.c  PA message: after paHostApiInitializers[0].
 16:38:41.734       pa_dev.c  PA message: before paHostApiInitializers[1].
 16:38:41.781       pa_dev.c  PA message: after paHostApiInitializers[1].
 16:38:41.781       pa_dev.c  PA message: before paHostApiInitializers[2].
 16:38:41.781       pa_dev.c  PA message: after paHostApiInitializers[2].
 16:38:41.781       pa_dev.c  PortAudio sound library initialized, status=0
 16:38:41.781       pa_dev.c  PortAudio host api count=3
 16:38:41.781       pa_dev.c  Sound device count=8
 16:38:41.781     wmme_dev.c  WMME initialized, found 3 devices:
 16:38:41.781     wmme_dev.c   dev_id 0: Wave mapper  (in=2, out=2)
 16:38:41.781     wmme_dev.c   dev_id 1: Conexant HD Audio input  (in=2, out=0)
 16:38:41.781     wmme_dev.c   dev_id 2: Conexant HD Audio output  (in=0, out=2)
 16:38:41.781          pjlib  WinNT IOCP I/O Queue created (0092C88C)
 16:38:41.781   conference.c  Creating conference bridge with 254 ports
 16:38:41.781   conference.c  Sound device successfully created for port 0
 16:38:41.781 sip_endpoint.c  Module "mod-evsub" registered
 16:38:41.781 sip_endpoint.c  Module "mod-presence" registered
 16:38:41.781        evsub.c  Event pkg "presence" registered by mod-presence
 16:38:41.781 sip_endpoint.c  Module "mod-refer" registered
 16:38:41.781        evsub.c  Event pkg "refer" registered by mod-refer
 16:38:41.781 sip_endpoint.c  Module "mod-pjsua-pres" registered
 16:38:41.781 sip_endpoint.c  Module "mod-pjsua-im" registered
 16:38:41.781 sip_endpoint.c  Module "mod-pjsua-options" registered
 16:38:41.781   pjsua_core.c  1 SIP worker threads created
 16:38:41.781   pjsua_core.c  pjsua version 1.2 for win32 initialized
 16:38:41.796   pjsua_core.c  SIP UDP socket reachable at 172.32.1.39:5060
 16:38:41.796    udp04753D80  SIP UDP transport started, published address is 172.32.1.39:5060
 16:38:41.796    pjsua_acc.c  Account &amp;lt;sip:172.32.1.39:5060&amp;gt; added with id 0
 16:38:41.796    tcplis:5060  SIP TCP listener ready for incoming connections at 172.32.1.39:5060
 16:38:41.796    pjsua_acc.c  Account &amp;lt;sip:172.32.1.39:5060;transport=TCP&amp;gt; added with id 1
 16:38:41.796  pjsua_media.c  RTP socket reachable at 172.32.1.39:4000
 16:38:41.796  pjsua_media.c  RTCP socket reachable at 172.32.1.39:4001
 16:38:41.812  pjsua_media.c  RTP socket reachable at 172.32.1.39:4002
 16:38:41.812  pjsua_media.c  RTCP socket reachable at 172.32.1.39:4003
 16:38:41.812  pjsua_media.c  RTP socket reachable at 172.32.1.39:4004
 16:38:41.812  pjsua_media.c  RTCP socket reachable at 172.32.1.39:4005
 16:38:41.812  pjsua_media.c  RTP socket reachable at 172.32.1.39:4006
 16:38:41.812  pjsua_media.c  RTCP socket reachable at 172.32.1.39:4007
 16:38:41.812 sip_endpoint.c  Module "My-Module" registered
 16:38:41.828    pjsua_acc.c  Account id 0 deleted
 16:38:41.828    pjsua_acc.c  Account id 1 deleted
 16:38:41.828    pjsua_acc.c  Account sip:6001&amp;lt; at &amp;gt;172.32.1.23 added with id 0
 16:38:41.828       endpoint  Request msg REGISTER/cseq=53987 (tdta04760410) created.
 16:38:41.828    tsx0476147C  Transaction created for Request msg REGISTER/cseq=53988 (tdta04760410)
 16:38:41.828    tsx0476147C  Sending Request msg REGISTER/cseq=53988 (tdta04760410) in state Null
 16:38:41.828  sip_resolve.c  Target '172.32.1.23:0' type=Unspecified resolved to '172.32.1.23:5060' type=UDP (UDP transport)
 16:38:41.828   pjsua_core.c  TX 416 bytes Request msg REGISTER/cseq=53988 (tdta04760410) to UDP 172.32.1.23:5060:
REGISTER sip:172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPjbe14ff5a649c4a71a3f11187e477f571
Max-Forwards: 70
From: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.23&amp;gt;;tag=fd18e83232f54409bd114a5ee4160932
To: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.23&amp;gt;
Call-ID: 7af589f4f8b54ca1813cb2d8f8529e2a
CSeq: 53988 REGISTER
User-Agent: Sipek on PJSUA v1.2/win32
Contact: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.39:5060&amp;gt;
Expires: 3600
Content-Length:  0


--end msg--
 16:38:41.828    tsx0476147C  State changed from Null to Calling, event=TX_MSG
 16:38:41.828    pjsua_acc.c  Registration sent
 16:38:41.828 sip_endpoint.c  Processing incoming message: Response msg 401/REGISTER/cseq=53988 (rdata047541F4)
 16:38:41.828   pjsua_core.c  RX 547 bytes Response msg 401/REGISTER/cseq=53988 (rdata047541F4) from UDP 172.32.1.23:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.32.1.39:5060;branch=z9hG4bKPjbe14ff5a649c4a71a3f11187e477f571;received=172.32.1.39;rport=5060
From: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.23&amp;gt;;tag=fd18e83232f54409bd114a5ee4160932
To: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.23&amp;gt;;tag=as1c7bae96
Call-ID: 7af589f4f8b54ca1813cb2d8f8529e2a
CSeq: 53988 REGISTER
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="5bd701b5"
Content-Length: 0


--end msg--
 16:38:41.828    tsx0476147C  Incoming Response msg 401/REGISTER/cseq=53988 (rdata047541F4) in state Calling
 16:38:41.828    tsx0476147C  State changed from Calling to Completed, event=RX_MSG
 16:38:41.828    tsx04762C2C  Transaction created for Request msg REGISTER/cseq=53989 (tdta04760410)
 16:38:41.828    tsx04762C2C  Sending Request msg REGISTER/cseq=53989 (tdta04760410) in state Null
 16:38:41.828  sip_resolve.c  Target '172.32.1.23:0' type=Unspecified resolved to '172.32.1.23:5060' type=UDP (UDP transport)
 16:38:41.828   pjsua_core.c  TX 574 bytes Request msg REGISTER/cseq=53989 (tdta04760410) to UDP 172.32.1.23:5060:
REGISTER sip:172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPj5e69003bdce2485198fcfb3f89e27214
Max-Forwards: 70
From: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.23&amp;gt;;tag=fd18e83232f54409bd114a5ee4160932
To: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.23&amp;gt;
Call-ID: 7af589f4f8b54ca1813cb2d8f8529e2a
CSeq: 53989 REGISTER
User-Agent: Sipek on PJSUA v1.2/win32
Contact: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.39:5060&amp;gt;
Expires: 3600
Authorization: Digest username="6001", realm="asterisk", nonce="5bd701b5", uri="sip:172.32.1.23", response="de85418ff0865507c071d5224c0737cf", algorithm=MD5
Content-Length:  0


--end msg--
 16:38:41.828    tsx04762C2C  State changed from Null to Calling, event=TX_MSG
 16:38:41.828 sip_endpoint.c  Processing incoming message: Response msg 200/REGISTER/cseq=53989 (rdata047541F4)
 16:38:41.828   pjsua_core.c  RX 564 bytes Response msg 200/REGISTER/cseq=53989 (rdata047541F4) from UDP 172.32.1.23:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 172.32.1.39:5060;branch=z9hG4bKPj5e69003bdce2485198fcfb3f89e27214;received=172.32.1.39;rport=5060
From: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.23&amp;gt;;tag=fd18e83232f54409bd114a5ee4160932
To: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.23&amp;gt;;tag=as1c7bae96
Call-ID: 7af589f4f8b54ca1813cb2d8f8529e2a
CSeq: 53989 REGISTER
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Expires: 3600
Contact: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.39:5060&amp;gt;;expires=3600
Date: Mon, 20 May 2013 11:04:53 GMT
Content-Length: 0


--end msg--
 16:38:41.828    tsx04762C2C  Incoming Response msg 200/REGISTER/cseq=53989 (rdata047541F4) in state Calling
 16:38:41.828    tsx04762C2C  State changed from Calling to Completed, event=RX_MSG
 16:38:41.828    pjsua_acc.c  sip:6001&amp;lt; at &amp;gt;172.32.1.23: registration success, status=200 (OK), will re-register in 3600 seconds
 16:38:41.828    pjsua_acc.c  Keep-alive timer started for acc 0, destination:172.32.1.23:5060, interval:15s
 16:38:41.984    udp047581C8  Remote RTP address switched to 172.32.1.23:15530
 16:38:41.984    udp047581C8  Remote RTCP address switched to 172.32.1.23:15531
 16:38:42.015   pjsipDll.cpp  Setting codec (speex/16000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (speex/32000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (GSM/8000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (PCMA/8000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (PCMA/8000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (GSM/8000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (speex/32000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (speex/16000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/44100/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/44100/2) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/8000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/8000/2) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/16000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/16000/2) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/32000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/32000/2) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/48000/1) prio: 0
 16:38:42.015   pjsipDll.cpp  Setting codec (L16/48000/2) prio: 0
 16:38:46.828    tsx0476147C  Timeout timer event
 16:38:46.828    tsx0476147C  State changed from Completed to Terminated, event=TIMER
 16:38:46.828    tsx04762C2C  Timeout timer event
 16:38:46.828    tsx04762C2C  State changed from Completed to Terminated, event=TIMER
 16:38:46.828    tsx0476147C  Timeout timer event
 16:38:46.828    tsx0476147C  State changed from Terminated to Destroyed, event=TIMER
 16:38:46.828    tsx0476147C  Transaction destroyed!
 16:38:46.828    tsx04762C2C  Timeout timer event
 16:38:46.828    tsx04762C2C  State changed from Terminated to Destroyed, event=TIMER
 16:38:46.828   tdta04760410  Destroying txdata Request msg REGISTER/cseq=53989 (tdta04760410)
 16:38:46.828    tsx04762C2C  Transaction destroyed!
 16:38:47.375  pjsua_media.c  Opening sound device PCM&amp;lt; at &amp;gt;16000/1/20ms
 16:38:47.390       pa_dev.c  Opened device Microsoft Sound Mapper - Input(MME)/Microsoft Sound Mapper - Output(MME) for recording and playback, sample rate=16000, ch=1, bits=16, 320 samples per frame, input latency=100 ms, output latency=100 ms
 16:38:47.390     ec0474C780  Creating AEC
 16:38:47.390     ec0474C780  AEC created, clock_rate=16000, channel=1, samples per frame=320, tail length=200 ms, latency=100 ms
 16:38:47.390       pa_dev.c  Starting Microsoft Sound Mapper - Input stream..
 16:38:47.390       pa_dev.c  PA message: Pa_StartStream: waveInStart returned = 0x0.

 16:38:47.390       pa_dev.c  Done, status=0
 16:38:47.390   pjsua_call.c  Making call with acc #0 to sip:99910534683&amp;lt; at &amp;gt;172.32.1.23
 16:38:47.390    dlg04790034  UAC dialog created
 16:38:47.390  pjsua_media.c  Media index 0 selected for call 0
 16:38:47.390    dlg04790034  Module mod-invite added as dialog usage, data=047906A4
 16:38:47.390    dlg04790034  Session count inc to 3 by mod-invite
 16:38:47.390    dlg04790034  Module mod-100rel added as dialog usage, data=04792D70
 16:38:47.390    dlg04790034  100rel module attached
 16:38:47.390    inv04790034  UAC invite session created for dialog dlg04790034
 16:38:47.390       endpoint  Request msg INVITE/cseq=19715 (tdta04792DB8) created.
 16:38:47.390    inv04790034  Sending Request msg INVITE/cseq=19715 (tdta04792DB8)
 16:38:47.390    dlg04790034  Sending Request msg INVITE/cseq=19715 (tdta04792DB8)
 16:38:47.390    tsx04793E24  Transaction created for Request msg INVITE/cseq=19714 (tdta04792DB8)
 16:38:47.390    tsx04793E24  Sending Request msg INVITE/cseq=19714 (tdta04792DB8) in state Null
 16:38:47.390  sip_resolve.c  Target '172.32.1.23:0' type=Unspecified resolved to '172.32.1.23:5060' type=UDP (UDP transport)
 16:38:47.390   pjsua_core.c  TX 928 bytes Request msg INVITE/cseq=19714 (tdta04792DB8) to UDP 172.32.1.23:5060:
INVITE sip:99910534683&amp;lt; at &amp;gt;172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPjf0c6bebaa5464bf896fefe6905552406
Max-Forwards: 70
From: sip:6001&amp;lt; at &amp;gt;172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683&amp;lt; at &amp;gt;172.32.1.23
Contact: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.39:5060&amp;gt;
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19714 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, norefersub
User-Agent: Sipek on PJSUA v1.2/win32
Content-Type: application/sdp
Content-Length:   349

v=0
o=- 3578056727 3578056727 IN IP4 172.32.1.39
s=pjmedia
c=IN IP4 172.32.1.39
t=0 0
a=X-nat:0
m=audio 4000 RTP/AVP 102 113 0 9 101
a=rtcp:4001 IN IP4 172.32.1.39
a=rtpmap:102 speex/8000
a=rtpmap:113 iLBC/8000
a=fmtp:113 mode=30
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

--end msg--
 16:38:47.390    tsx04793E24  State changed from Null to Calling, event=TX_MSG
 16:38:47.390    dlg04790034  Transaction tsx04793E24 state changed to Calling
 16:38:47.390 sip_endpoint.c  Processing incoming message: Response msg 401/INVITE/cseq=19714 (rdata047541F4)
 16:38:47.390   pjsua_core.c  RX 548 bytes Response msg 401/INVITE/cseq=19714 (rdata047541F4) from UDP 172.32.1.23:5060:
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 172.32.1.39:5060;branch=z9hG4bKPjf0c6bebaa5464bf896fefe6905552406;received=172.32.1.39;rport=5060
From: sip:6001&amp;lt; at &amp;gt;172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683&amp;lt; at &amp;gt;172.32.1.23;tag=as220a61dc
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19714 INVITE
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="5c8e5f9a"
Content-Length: 0


--end msg--
 16:38:47.390    tsx04793E24  Incoming Response msg 401/INVITE/cseq=19714 (rdata047541F4) in state Calling
 16:38:47.390   pjsipDll.cpp  Call 0 state changed to CALLING
 16:38:47.406       endpoint  Request msg ACK/cseq=19714 (tdta04795570) created.
 16:38:47.406   pjsua_core.c  TX 344 bytes Request msg ACK/cseq=19714 (tdta04795570) to UDP 172.32.1.23:5060:
ACK sip:99910534683&amp;lt; at &amp;gt;172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPjf0c6bebaa5464bf896fefe6905552406
Max-Forwards: 70
From: sip:6001&amp;lt; at &amp;gt;172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683&amp;lt; at &amp;gt;172.32.1.23;tag=as220a61dc
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19714 ACK
Content-Length:  0


--end msg--
 16:38:47.406    tsx04793E24  State changed from Calling to Completed, event=RX_MSG
 16:38:47.406    dlg04790034  Received Response msg 401/INVITE/cseq=19714 (rdata047541F4)
 16:38:47.406    dlg04790034  Transaction tsx04793E24 state changed to Completed
 16:38:47.406    inv04790034  Sending Request msg INVITE/cseq=19714 (tdta04792DB8)
 16:38:47.406    dlg04790034  Sending Request msg INVITE/cseq=19714 (tdta04792DB8)
 16:38:47.406    tsx047965DC  Transaction created for Request msg INVITE/cseq=19715 (tdta04792DB8)
 16:38:47.406    tsx047965DC  Sending Request msg INVITE/cseq=19715 (tdta04792DB8) in state Null
 16:38:47.406  sip_resolve.c  Target '172.32.1.23:0' type=Unspecified resolved to '172.32.1.23:5060' type=UDP (UDP transport)
 16:38:47.406   pjsua_core.c  TX 1098 bytes Request msg INVITE/cseq=19715 (tdta04792DB8) to UDP 172.32.1.23:5060:
INVITE sip:99910534683&amp;lt; at &amp;gt;172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPjd35953e3bd124dd1a7030daaebc59b43
Max-Forwards: 70
From: sip:6001&amp;lt; at &amp;gt;172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683&amp;lt; at &amp;gt;172.32.1.23
Contact: &amp;lt;sip:6001&amp;lt; at &amp;gt;172.32.1.39:5060&amp;gt;
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19715 INVITE
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY, REFER, MESSAGE, OPTIONS
Supported: replaces, 100rel, norefersub
User-Agent: Sipek on PJSUA v1.2/win32
Authorization: Digest username="6001", realm="asterisk", nonce="5c8e5f9a", uri="sip:99910534683&amp;lt; at &amp;gt;172.32.1.23", response="b6de7be878cc968ef546ccb1ba54adf3", algorithm=MD5
Content-Type: application/sdp
Content-Length:   349

v=0
o=- 3578056727 3578056727 IN IP4 172.32.1.39
s=pjmedia
c=IN IP4 172.32.1.39
t=0 0
a=X-nat:0
m=audio 4000 RTP/AVP 102 113 0 9 101
a=rtcp:4001 IN IP4 172.32.1.39
a=rtpmap:102 speex/8000
a=rtpmap:113 iLBC/8000
a=fmtp:113 mode=30
a=rtpmap:0 PCMU/8000
a=rtpmap:9 G722/8000
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

--end msg--
 16:38:47.406    tsx047965DC  State changed from Null to Calling, event=TX_MSG
 16:38:47.406    dlg04790034  Transaction tsx047965DC state changed to Calling
 16:38:47.406   pjsipDll.cpp  Call 0 state changed to CALLING
 16:38:47.406 sip_endpoint.c  Processing incoming message: Response msg 100/INVITE/cseq=19715 (rdata047541F4)
 16:38:47.406   pjsua_core.c  RX 491 bytes Response msg 100/INVITE/cseq=19715 (rdata047541F4) from UDP 172.32.1.23:5060:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 172.32.1.39:5060;branch=z9hG4bKPjd35953e3bd124dd1a7030daaebc59b43;received=172.32.1.39;rport=5060
From: sip:6001&amp;lt; at &amp;gt;172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683&amp;lt; at &amp;gt;172.32.1.23
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19715 INVITE
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Contact: &amp;lt;sip:99910534683&amp;lt; at &amp;gt;172.32.1.23&amp;gt;
Content-Length: 0


--end msg--
 16:38:47.406    tsx047965DC  Incoming Response msg 100/INVITE/cseq=19715 (rdata047541F4) in state Calling
 16:38:47.406    tsx047965DC  State changed from Calling to Proceeding, event=RX_MSG
 16:38:47.406    dlg04790034  Received Response msg 100/INVITE/cseq=19715 (rdata047541F4)
 16:38:47.406    dlg04790034  Transaction tsx047965DC state changed to Proceeding
 16:38:47.406 sip_endpoint.c  Processing incoming message: Response msg 503/INVITE/cseq=19715 (rdata047541F4)
 16:38:47.406   pjsua_core.c  RX 479 bytes Response msg 503/INVITE/cseq=19715 (rdata047541F4) from UDP 172.32.1.23:5060:
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/UDP 172.32.1.39:5060;branch=z9hG4bKPjd35953e3bd124dd1a7030daaebc59b43;received=172.32.1.39;rport=5060
From: sip:6001&amp;lt; at &amp;gt;172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683&amp;lt; at &amp;gt;172.32.1.23;tag=as6c07011b
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19715 INVITE
Server: Asterisk PBX 1.6.2.24
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO
Supported: replaces, timer
Content-Length: 0


--end msg--
 16:38:47.406    tsx047965DC  Incoming Response msg 503/INVITE/cseq=19715 (rdata047541F4) in state Proceeding
 16:38:47.406       endpoint  Request msg ACK/cseq=19715 (tdta04796D80) created.
 16:38:47.406   pjsua_core.c  TX 344 bytes Request msg ACK/cseq=19715 (tdta04796D80) to UDP 172.32.1.23:5060:
ACK sip:99910534683&amp;lt; at &amp;gt;172.32.1.23 SIP/2.0
Via: SIP/2.0/UDP 172.32.1.39:5060;rport;branch=z9hG4bKPjd35953e3bd124dd1a7030daaebc59b43
Max-Forwards: 70
From: sip:6001&amp;lt; at &amp;gt;172.32.1.23;tag=aa21480c94124caf82c18ab2254ff7ca
To: sip:99910534683&amp;lt; at &amp;gt;172.32.1.23;tag=as6c07011b
Call-ID: 1cfb52947acc44dc80d551618c6d2d98
CSeq: 19715 ACK
Content-Length:  0


--end msg--
 16:38:47.406    tsx047965DC  State changed from Proceeding to Completed, event=RX_MSG
 16:38:47.406    dlg04790034  Received Response msg 503/INVITE/cseq=19715 (rdata047541F4)
 16:38:47.406    dlg04790034  Transaction tsx047965DC state changed to Completed
 16:38:47.406   pjsipDll.cpp  Call 0 is DISCONNECTED [reason=503 (Service Unavailable)]
 16:38:47.406   pjsipDll.cpp  Call 0 disconnected, dumping media stats..
 16:38:47.406   pjsipDll.cpp  
  [DISCONNCTD] To: sip:99910534683&amp;lt; at &amp;gt;172.32.1.23
    Call time: 00h:00m:00s, 1st res in 16 ms, conn in 0ms
    SRTP status: Not active Crypto-suite: (null)
 16:38:47.406       pa_dev.c  Player thread started
 16:38:47.421       pa_dev.c  Recorder thread started
 16:38:47.421     ec0474C780  Prefetching..
 16:38:47.421    dlg04790034  Session count dec to 1 by mod-invite
 16:38:47.421   tdta04792DB8  Destroying txdata Request msg INVITE/cseq=19715 (tdta04792DB8)
 16:38:47.437     ec0474C780  Prefetching..
 16:38:47.453     ec0474C780  Prefetching..
 16:38:47.468     ec0474C780  Prefetching..
 16:38:47.500     ec0474C780  Prefetching..
 16:38:47.515     ec0474C780  Latency bufferring complete
 16:38:48.234     ec0474C780  Underflow, buf_cnt=0, will generate 1 frame
 16:38:48.421  pjsua_media.c  Closing sound device after idle for 1 seconds
 16:38:48.421  pjsua_media.c  Closing Microsoft Sound Mapper - Output sound playback device and Microsoft Sound Mapper - Input sound capture device
 16:38:48.437       pa_dev.c  Stopping stream..
 16:38:48.437       pa_dev.c  PA message: WinMME StopStream: waiting for background thread.

 16:38:48.531       pa_dev.c  PA message: WinMME StopStream: waiting for background thread.

 16:38:48.531       pa_dev.c  Done, status=0
 16:38:48.531       pa_dev.c  Closing Microsoft Sound Mapper - Input: 0 underflow, 0 overflow
 16:38:56.828    pjsua_acc.c  Sending 2 bytes keep-alive packet for acc 0 to 172.32.1.23:5060
 16:38:56.828   tdta04792DB8  Destroying txdata raw
&lt;/pre&gt;</description>
    <dc:creator>Narayan</dc:creator>
    <dc:date>2013-05-23T06:59:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17266">
    <title>Cannot send Subscribe request after first registration with multiple NICs present - have to wait for re-registration.</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17266</link>
    <description>&lt;pre&gt;Hello!

I am using PJSIP/PJSUA libraries version 2.1.0. I do not have a STUN server
configured.

TL;DR

I get

SIP/2.0 403 Forbidden - Not Registered! You must register first with a
S-CSCF

When I try to send a SUBSCRIBE request, after the UA has registered
(successfully!) with the IMS. I have to wait until the registration
expires, is automatically refreshed and only then I am able to successfully
send the SUBSCRIBE request!



Long version:



I have 2 NICs:

eth0: 10.0.41.63
eth1: 10.0.3.15

Eth1 has a default route assigned to it, so that is the interface that is
being chosen by default. The problem is, that my IMS server has an IP
10.0.41.61 (thus eth0 should be chosen in the end).

Now, PJSUA is by default configured to update registration info, once
incoming responses differ in the IP addresses, and logs confirm that this
is precisely the case.

I can see that the second REGISTER request is sent with correct Contact
header. SUBSCRIBE  request also uses this Contact. The problem is that the
reponse from IMS that I get after sending SUBSCRIBE request is:

SIP/2.0 403 Forbidden - Not Registered! You must register first with a
S-CSCF

and Subscription is Terminated immediately.

I have to wait until the registration expires, to successfully SUBSCRIBE to
other UA. I tried manually refreshing the subscription by
calling pjsua_acc_set_registration(acc_id, PJ_TRUE); but that doesn't make
a difference.

Everything works, as soon as I delete the default route/disable other NICs,
but that shouldn't be needed.

Am I not waiting for something somewhere ? Am I making a mistake somewhere
in my registration/configuration code ?


Logs/code is at the bottom.


Thanks in advance!

Regards,
Radek


Logs showing that PJSUA detects IP change and re-registers. Bothe Contact
headers have correct expires set:


21:31:26.732    tsx0x83e778  .Incoming Response msg 200/REGISTER/cseq=44135
(rdata0x835ab8) in state Calling
21:31:26.732    tsx0x83e778  ..State changed from Calling to Completed,
event=RX_MSG
21:31:26.734    pjsua_acc.c  ....SIP outbound status for acc 0 is not active
21:31:26.734    pjsua_acc.c  ....IP address change detected for account 0 (
10.0.3.15:5071 --&amp;gt; 10.0.41.63:5071). Updating registration (using method 2)
21:31:26.734    pjsua_acc.c  ....Acc 0: setting registration..
21:31:26.734       endpoint  .....Request msg REGISTER/cseq=44135
(tdta0x83fd40) created.
21:31:26.734    tsx0x841da8  ......Transaction created for Request msg
REGISTER/cseq=44136 (tdta0x83fd40)
21:31:26.734    tsx0x841da8  .....Sending Request msg REGISTER/cseq=44136
(tdta0x83fd40) in state Null
21:31:26.734  sip_resolve.c  ......Starting async DNS A query:
target=pcscf.open-ims.test, transport=Unspecified, port=4060
21:31:26.734     resolver.c  ......Picked up DNS A record for
pcscf.open-ims.test from cache, ttl=300
21:31:26.734   pjsua_core.c  ......TX 576 bytes Request msg
REGISTER/cseq=44136 (tdta0x83fd40) to UDP 10.0.41.61:4060:
REGISTER sip:open-ims.test SIP/2.0
Via: SIP/2.0/UDP 10.0.41.63:5071
;rport;branch=z9hG4bKPjc3Dz.We8eVebvXaX0WLQbGVA7KN00NHJ
Route: &amp;lt;sip:pcscf.open-ims.test:4060;lr&amp;gt;
Max-Forwards: 70
From: &amp;lt;sip:alice&amp;lt; at &amp;gt;open-ims.test&amp;gt;;tag=u5hk42TCupQFDzAlKuTdzMF8DfSNssPz
To: &amp;lt;sip:alice&amp;lt; at &amp;gt;open-ims.test&amp;gt;
Call-ID: R2-QND6HB144-vsdzI118Ay-p.uObe7i
CSeq: 44136 REGISTER
Contact: &amp;lt;sip:alice&amp;lt; at &amp;gt;10.0.41.63:5071;ob&amp;gt;
Contact: &amp;lt;sip:alice&amp;lt; at &amp;gt;10.0.3.15:5071;ob&amp;gt;;expires=0
Expires: 300
Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, INFO, SUBSCRIBE, NOTIFY,
REFER, MESSAGE, OPTIONS
Content-Length:  0



This is how I create the contact for initial SUBSCRIBE request:



pj_pool_t *tmp_pool = NULL;
    pj_str_t contact;
    pj_status_t status;

    pjsua_acc *acc = pjsua_get_acc();


    if (acc-&amp;gt;contact.slen) {
        contact = acc-&amp;gt;contact;
    } else {
        tmp_pool = pjsua_pool_create("tmpbuddy", 512, 256);
        status = pjsua_acc_create_uac_contact(tmp_pool, &amp;amp;contact,
pjsua_acc_get_default(),
                &amp;amp;servlet_uri);

        if (status != PJ_SUCCESS) {
            pjsua_perror(THIS_FILE, "Unable to generate Contact header",
status);
            pj_pool_release(tmp_pool);
        }
    }




This is how I register the user account:



 pjsua_acc_config cfg;
    pj_status_t status;

    pjsua_acc_config_default(&amp;amp;cfg);
    cfg.id = pj_str("sip:" SIP_USER "&amp;lt; at &amp;gt;" SIP_DOMAIN);
    cfg.reg_uri = pj_str("sip:" SIP_DOMAIN);
    cfg.cred_count = 1;
    cfg.reg_timeout = 300;
    cfg.cred_info[0].realm = pj_str("*");
    cfg.cred_info[0].scheme = pj_str("digest");
    cfg.cred_info[0].username = pj_str(SIP_USER "&amp;lt; at &amp;gt;" SIP_DOMAIN);
    cfg.cred_info[0].data_type = PJSIP_CRED_DATA_PLAIN_PASSWD;
    cfg.cred_info[0].data = pj_str(SIP_PASSWD);

    status = pjsua_acc_add(&amp;amp;cfg, PJ_TRUE, &amp;amp;acc_id);

    if (status != PJ_SUCCESS) {
        error_exit("Error adding account", status);
    }
    // Wait until successfully registered
    pjsua_acc_info test;
    pjsua_acc_get_info(acc_id, &amp;amp;test);

    while (test.status != 200) {
        pjsua_acc_get_info(acc_id, &amp;amp;test);
    }


Configuration of UDP transport:


{
        pjsua_transport_config cfg;
        pjsua_transport_config_default(&amp;amp;cfg);
        cfg.port = (pj_uint16_t) SIP_PORT;
        status = pjsua_transport_create(PJSIP_TRANSPORT_UDP, &amp;amp;cfg, NULL);
        if (status != PJ_SUCCESS)
            error_exit("Error creating transport", status);
    }
&lt;/pre&gt;</description>
    <dc:creator>Radosław Szalski</dc:creator>
    <dc:date>2013-05-22T20:03:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17263">
    <title>Read the custom field in the SDP of an incoming INVITE</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17263</link>
    <description>&lt;pre&gt;I have added some fields in the SDP for an INVITE. Now on the callee side I
need to read them. Can someone point me to an example on how to do it?

Thank-you
J
&lt;/pre&gt;</description>
    <dc:creator>james Uno</dc:creator>
    <dc:date>2013-05-21T14:24:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17260">
    <title>How to pause recording ?</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17260</link>
    <description>&lt;pre&gt;Hi,

I follow pjsua apps (--rec-file) and I can record just fine. Now when user
holds call, I want to pause recording.

I use pjsua_conf_disconnect(0, app_config.rec_port); when call is hold,
and pjsua_conf_connect(0, app_config.rec_port); when call is active

But that results in a silence in the .wav file when call is hold. It seems
that a silent frame is put to .wav file when call is hold. I don't want any
silence during call hold

How to pause recording ?

&lt;/pre&gt;</description>
    <dc:creator>Khoa Pham</dc:creator>
    <dc:date>2013-05-21T04:54:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17256">
    <title>Error building pjsip with video</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17256</link>
    <description>&lt;pre&gt;Hi, I follow exactly what Samuel post in his project
https://code.google.com/p/siphon/wiki/VIdeoSupport

So far, I have
1. libyuv compiled at /Users/me/libyuv/include and /Users/me/libyuv/lib
2. libx264 and ffmpeg compiled at /Users/me/x264/include and
/Users/me/x264/lib
3. I autoconf the aconfigure

When I run

./configure-iphone --prefix=/Users/me/libyuv --with-ffmpeg=/Users/me/x264
--with-libyuv=/Users/me/libyuv

But I receive "libyuv library not found, video support disabled" ???

And when I make clean &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install. I receveive

../src/pjmedia/ffmpeg_util.h:53: warning: ‘enum CodecID’ declared inside
parameter list

../src/pjmedia/ffmpeg_util.c:65: error: field ‘codec_id’ has incomplete type

../src/pjmedia/ffmpeg_util.c:169: error: conflicting types for
‘pjmedia_format_id_to_CodecID’

../src/pjmedia/ffmpeg_util.h:50: error: previous declaration of
‘pjmedia_format_id_to_CodecID’ was here

../src/pjmedia/ffmpeg_util.c: In function ‘pjmedia_format_id_to_CodecID’:

../src/pjmedia/ffmpeg_util.c:173: warning: comparison between pointer and
integer

../src/pjmedia/ffmpeg_util.c:174: error: dereferencing pointer to
incomplete type

../src/pjmedia/ffmpeg_util.c:174: warning: statement with no effect

../src/pjmedia/ffmpeg_util.c:179: error: dereferencing pointer to
incomplete type

../src/pjmedia/ffmpeg_util.c:179: warning: statement with no effect

../src/pjmedia/ffmpeg_util.c: At top level:

../src/pjmedia/ffmpeg_util.c:183: error: parameter 1 (‘codec_id’) has
incomplete type

make[2]: *** [output/pjmedia-arm-apple-darwin9/ffmpeg_util.o] Error 1

make[1]: *** [pjmedia] Error 2

make: *** [all] Error 1


Please help



&lt;/pre&gt;</description>
    <dc:creator>Khoa Pham</dc:creator>
    <dc:date>2013-05-20T10:21:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17255">
    <title>PJSUA for android</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17255</link>
    <description>&lt;pre&gt;Hi all,


I am following build instruction on
http://trac.pjsip.org/repos/wiki/Getting-Started/Android and got source for
android from SVN
   https://svn.pjsip.org/repos/pjproject/branches/projects/android

But there is no such directory "pjsip-apps/src/pjsua/android"

Anyone know how to build PJSUA for android in this situation?



Thanks,
SB
&lt;/pre&gt;</description>
    <dc:creator>Sungbum Lim</dc:creator>
    <dc:date>2013-05-20T09:51:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17254">
    <title>How to change From header in outgoing INVITE</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17254</link>
    <description>&lt;pre&gt;Hi All,

 

I am using pjsua_call_make_call API for sending INVITE from my application.
By default the From header contains the URI specified in the id parameter 

Of pjsua_acc_config structure. But I want to have different CLI (From
header) for different calls. So I tried to change this id before calling
pjsua_call_make_call 

And added following code for this:

 

    Char* strFrom = "sip:5555&amp;lt; at &amp;gt;10.0.0.1";

    g_acc_cfg.id = pj_strdup3 (pool, strFrom);

    status = pjsua_acc_modify(g_acc_id, &amp;amp;g_acc_cfg);

    status =

        pjsua_call_make_call (g_acc_id, &amp;amp;uri, 0,0, &amp;amp;msg_data,

                              &amp;amp;call_id);

 

In my case pjsua_acc_modify is working fine. But pjsua_call_make_call fails
and returns status code 171039.  This status code is returned when there is
something

Wrong with the URI. But in this case I don't see any thing wrong  with the
URI. 

Please suggest what is going wrong.

 

Thanks,

Jitendra 

&lt;/pre&gt;</description>
    <dc:creator>Jitendra Singh</dc:creator>
    <dc:date>2013-05-17T12:28:15</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17253">
    <title>Handling re-INVITE answer manually</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17253</link>
    <description>&lt;pre&gt;Hi all,

My application needs to handle re-INVITE responses manually.
I found a proposed patch 4 year ago here: http://trac.pjsip.org/repos/ticket/817
(Thanks Ruud Klaver)

I will apply it PJSIP 2.0.1 that I'm currently using.

I'm just wondering why this patch is not part of the releases that have come later?
Is there a particular reason for this patch not being integrated?

Thanks for your answers!

Regards,

Romain
&lt;/pre&gt;</description>
    <dc:creator>Romain JEZEQUEL</dc:creator>
    <dc:date>2013-05-17T10:06:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17251">
    <title>Integration Error- PJSIP version 2.0</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17251</link>
    <description>&lt;pre&gt;Hi Martin,
i have compile the pjsip2.x successfully but when i integrate it and try to
compile it , it is showing following error:-



Undefined symbols for architecture armv7:

  "_pjsua_media_transports_create", referenced from:

      _app_init in pjsua_app.o

ld: symbol(s) not found for architecture armv7

collect2: ld returned 1 exit status
i have tried this solution of your "Hi, try to add this to your project's
preprocessor macros: PJ_AUTOCONF=1 " but still getting same error same time.

I am using xcode4.6

waiting for your generous response.

Please help me to solve this issue

can anyone provide a solution?


Thanks In Advance

Regards,
iGaurav
&lt;/pre&gt;</description>
    <dc:creator>Gaurav Pandey</dc:creator>
    <dc:date>2013-05-17T08:50:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17244">
    <title>Passing userdata to pjsua.call_make_call from java and SWIG</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17244</link>
    <description>&lt;pre&gt;I found in pjsua_wrap.cpp that the jni wrap function ilooks wrong.

SWIGEXPORT jint JNICALL
Java_org_pjsip_pjsua_pjsuaJNI_call_1make_1call(JNIEnv *jenv, jclass jcls,
jint jarg1, jlong jarg2, jobject jarg2_, jlong jarg3, jobject jarg3_, void
* jarg4, jlong jarg5, jobject jarg5_, jintArray jarg6) {
  jint jresult = 0 ;
  pjsua_acc_id arg1 ;
  pj_str_t *arg2 = (pj_str_t *) 0 ;
  pjsua_call_setting *arg3 = (pjsua_call_setting *) 0 ;
  void *arg4 = (void *) 0 ;
  pjsua_msg_data *arg5 = (pjsua_msg_data *) 0 ;
  pjsua_call_id *arg6 = (pjsua_call_id *) 0 ;
  pjsua_call_id temp6 ;
  pj_status_t result;

  (void)jenv;
  (void)jcls;
  (void)jarg2_;
  (void)jarg3_;
  (void)jarg5_;
  arg1 = (pjsua_acc_id)jarg1;
  arg2 = *(pj_str_t **)&amp;amp;jarg2;
  arg3 = *(pjsua_call_setting **)&amp;amp;jarg3;

  arg4 = jarg4; // THIS LOOKS WRONG

Everything works fine if I use the following line instead:

  arg4 = (void*) jenv-&amp;gt;GetByteArrayElements((jbyteArray)jarg4, 0);

that is what I would have done if I used javah.

The question is how is it possible that there is the "mistake" in the
pjsipjni level.
Am I doing somehing wrong? I just used

make SWIG=swig.

to build it. Is it possible that the problem is that I should have used
swig2?

Thanks

On Wed, May 15, 2013 at 6:38 PM, &amp;lt;pjsip-request&amp;lt; at &amp;gt;lists.pjsip.org&amp;gt; wrote:

&lt;/pre&gt;</description>
    <dc:creator>user uno</dc:creator>
    <dc:date>2013-05-16T09:22:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17243">
    <title>Build PJSIP for Android on Cygwin(Win7) - checking whether the C compiler works: NO</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17243</link>
    <description>&lt;pre&gt;Hi,

Have you see this issue before?

plz help me go forward..
I'm in trouble to getting start build on PJSIP for Android on Cygwin(Win7).
could't complete "checking whether the C compiler works" in
'./configure-android'
I'v verified Android NDK already and Environment variables as below before
run 'configure-android'

TARGET_ABI=armeabi
APP_PLATFORM=android-8


There is 'libc.so' and 'libgcc.so' in linker search directory correctly.

I have a suspicion that linker was picked as
'AndroidNDK\android-ndk-r8e\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows-x86_64\arm-linux-androideabi\bin\ld.exe'
instead of
 'AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ld'



$ ./configure-android
configure-android: calling ./configure with env vars:
 CC =
/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
 CXX =
/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++
 CFLAGS =
 -I/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/include
 CXXFLAGS =  -shared
--sysroot=/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm
 LDFLAGS =  -nostdlib
-L/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/lib/
 LIBS =  -lc -lgcc
checking build system type... i686-pc-cygwin
checking host system type... arm-unknown-linux-androideabi
checking target system type... arm-unknown-linux-androideabi
checking for arm-linux-androideabi-gcc...
/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
checking whether the C compiler works... no
aconfigure: error: in
`/cygdrive/d/Projects/FanLing/SIP/PJSIP/android-target':
aconfigure: error: C compiler cannot create executables
See `config.log' for more details





== config.log ==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by pjproject aconfigure 2.x, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./aconfigure --host=arm-linux-androideabi --disable-video

## --------- ##
## Platform. ##
## --------- ##

hostname = sb-hkct-nb
uname -m = i686
uname -r = 1.7.18(0.263/5/3)
uname -s = CYGWIN_NT-6.1-WOW64
uname -v = 2013-04-19 10:39

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/bin
PATH: /usr/bin
PATH: /cygdrive/c/Windows/system32
PATH: /cygdrive/c/Windows
PATH: /cygdrive/c/Windows/System32/Wbem
PATH: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
PATH: /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software
PATH: /cygdrive/c/Program Files/WIDCOMM/Bluetooth Software/syswow64
PATH: /cygdrive/c/Program Files (x86)/ATI Technologies/ATI.ACE/Core-Static
PATH: /cygdrive/c/Program Files (x86)/Common Files/Roxio
Shared/10.0/DLLShared
PATH: /cygdrive/c/Program Files (x86)/Common Files/Roxio Shared/DLLShared
PATH: /cygdrive/c/Program Files (x86)/Microsoft SQL Server/90/Tools/binn
PATH:
/cygdrive/d/SW/Development/adt-bundle-windows-x86_64-20130219/sdk/platform-tools
PATH:
/cygdrive/d/SW/Development/adt-bundle-windows-x86_64-20130219/sdk/tools
PATH: /cygdrive/c/Program Files (x86)/Java/jre6/bin
PATH: /cygdrive/c/Program Files/TortoiseSVN/bin
PATH: /usr/bin
PATH: /usr/lib/lapack
PATH: /cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e


## ----------- ##
## Core tests. ##
## ----------- ##

aconfigure:2335: checking build system type
aconfigure:2349: result: i686-pc-cygwin
aconfigure:2369: checking host system type
aconfigure:2382: result: arm-unknown-linux-androideabi
aconfigure:2402: checking target system type
aconfigure:2415: result: arm-unknown-linux-androideabi
aconfigure:2463: checking for arm-linux-androideabi-gcc
aconfigure:2490: result:
/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
aconfigure:2759: checking for C compiler version
aconfigure:2768:
/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
--version &amp;gt;&amp;amp;5
arm-linux-androideabi-gcc.exe (GCC) 4.4.3
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

aconfigure:2779: $? = 0
aconfigure:2768:
/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
-v &amp;gt;&amp;amp;5
Using built-in specs.
Target: arm-linux-androideabi
Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.4.3/configure
--prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix
--target=arm-linux-androideabi --host=x86_64-pc-mingw32msvc
--build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld
--enable-languages=c,c++
--with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install
--with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --without-ppl
--without-cloog --disable-libssp --enable-threads --disable-nls
--disable-libmudflap --disable-libgomp --disable-libstdc__-v3
--disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm
--with-float=soft --with-fpu=vfp --with-arch=armv5te
--enable-target-optspace --enable-initfini-array --disable-nls
--prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix
--with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot
--with-binutils-version=2.19 --with-mpfr-version=3.1.1
--with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.4.3
--with-gdb-version=7.3.x
--with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.4.3
--with-bugurl=http://source.android.com/source/report-bugs.html--disable-bootstrap
--disable-libquadmath --disable-plugin --enable-libgomp
--with-arch=armv5te --program-transform-name='s&amp;amp;^&amp;amp;arm-linux-androideabi-&amp;amp;'
Thread model: posix
gcc version 4.4.3 (GCC)
aconfigure:2779: $? = 0
aconfigure:2768:
/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
-V &amp;gt;&amp;amp;5
arm-linux-androideabi-gcc.exe: '-V' option must have argument
aconfigure:2779: $? = 1
aconfigure:2768:
/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
-qversion &amp;gt;&amp;amp;5
arm-linux-androideabi-gcc.exe: unrecognized option '-qversion'
arm-linux-androideabi-gcc.exe: no input files
aconfigure:2779: $? = 1
aconfigure:2799: checking whether the C compiler works
aconfigure:2821:
/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
 -I/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/include
 -I/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/include
 -nostdlib
-L/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/lib/
conftest.c  -lc -lgcc &amp;gt;&amp;amp;5
D:/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld.exe:
* cannot find -lc*
collect2: ld returned 1 exit status
aconfigure:2825: $? = 1
aconfigure:2863: result: no
aconfigure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pjproject"
| #define PACKAGE_TARNAME "pjproject"
| #define PACKAGE_VERSION "2.x"
| #define PACKAGE_STRING "pjproject 2.x"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
aconfigure:2868: error: in
`/cygdrive/d/Projects/FanLing/SIP/PJSIP/android-target':
aconfigure:2870: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-cygwin
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='
-I/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/include'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='
-I/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value=' -shared
--sysroot=/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -nostdlib
-L/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/lib/'
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value=' -lc -lgcc'
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-androideabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=arm-unknown-linux-androideabi
ac_cv_prog_CC=/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc
ac_cv_target=arm-unknown-linux-androideabi

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
CC='/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-gcc'
CC_CFLAGS=''
CC_DEF=''
CC_INC=''
CC_OPTIMIZE=''
CC_OUT=''
CFLAGS='
-I/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/include'
CPP=''
CPPFLAGS='
-I/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/include'
CXX='/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++'
CXXFLAGS='
-I/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/include
 -shared
--sysroot=/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm'
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
LD=''
LDFLAGS=' -nostdlib
-L/cygdrive/d/SW/Development/AndroidNDK/android-ndk-r8e/platforms/android-8/arch-arm/usr/lib/'
LDOUT=''
LIBEXT2=''
LIBEXT=''
LIBOBJS=''
LIBS=' -lc -lgcc'
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='pjproject'
PACKAGE_STRING='pjproject 2.x'
PACKAGE_TARNAME='pjproject'
PACKAGE_URL=''
PACKAGE_VERSION='2.x'
PATH_SEPARATOR=':'
PKG_CONFIG=''
RANLIB=''
SAVED_PKG_CONFIG_PATH=''
SHELL='/bin/sh'
ac_build_mak_vars=''
ac_cross_compile=''
ac_ct_CC=''
ac_ct_CXX=''
ac_external_gsm=''
ac_external_pa=''
ac_external_speex=''
ac_ffmpeg_cflags=''
ac_ffmpeg_ldflags=''
ac_has_ffmpeg=''
ac_host=''
ac_ios_cflags=''
ac_linux_poll=''
ac_main_obj=''
ac_no_g711_codec=''
ac_no_g7221_codec=''
ac_no_g722_codec=''
ac_no_gsm_codec=''
ac_no_ilbc_codec=''
ac_no_l16_codec=''
ac_no_large_filter=''
ac_no_opencore_amrnb=''
ac_no_small_filter=''
ac_no_speex_aec=''
ac_no_speex_codec=''
ac_no_ssl=''
ac_os_objs=''
ac_pa_cflags=''
ac_pa_use_alsa=''
ac_pa_use_oss=''
ac_pjdir=''
ac_pjmedia_snd=''
ac_pjmedia_video=''
ac_pjmedia_video_has_ios=''
ac_pjmedia_video_has_qt=''
ac_qt_cflags=''
ac_resample_dll=''
ac_sdl_cflags=''
ac_sdl_ldflags=''
ac_shlib_suffix=''
ac_v4l2_cflags=''
ac_v4l2_ldflags=''
bindir='${exec_prefix}/bin'
build='i686-pc-cygwin'
build_alias=''
build_cpu='i686'
build_os='cygwin'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='arm-unknown-linux-androideabi'
host_alias='arm-linux-androideabi'
host_cpu='arm'
host_os='linux-androideabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libcrypto_present=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libssl_present=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
opencore_amrnb_h_present=''
opencore_amrnb_present=''
openssl_h_present=''
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='arm-unknown-linux-androideabi'
target_alias=''
target_cpu='arm'
target_os='linux-androideabi'
target_vendor='unknown'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "pjproject"
#define PACKAGE_TARNAME "pjproject"
#define PACKAGE_VERSION "2.x"
#define PACKAGE_STRING "pjproject 2.x"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""

aconfigure: exit 77



Thanks,
SB
&lt;/pre&gt;</description>
    <dc:creator>Sungbum Lim</dc:creator>
    <dc:date>2013-05-16T08:30:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17241">
    <title>Current Trunk - PJSUA for Android not building w/o extra steps - Android app crashing on run</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17241</link>
    <description>&lt;pre&gt;I am able to build the apjsua branch without problems and the apjsua Android app runs properly with that libpjsua_app.so.

However, with the android subdirectory that was added to the trunk for pjsua recently, I have not been able to build/run successfully with the new instructions on https://trac.pjsip.org/repos/wiki/Getting-Started/Android

I am running Ubuntu 11.10 32-bit, with android-ndk-r8e.

The configure and make commands all work fine, but when I do the ndk-build command I receive the following error while trying to make the pjsua_wrap.o:

Invoking SWIG...
swig -c++ -o jni/pjsua_wrap.cpp -package org.pjsip.pjsua -outdir src/org/pjsip/pjsua -java jni/pjsua.i
Compile++ thumb  : pjsua &amp;lt;= pjsua_wrap.cpp
jni/pjsua_wrap.cpp: In constructor 'Swig::Director::JNIEnvWrapper::JNIEnvWrapper(const Swig::Director*)':
jni/pjsua_wrap.cpp:335:73: error: invalid conversion from 'void**' to 'JNIEnv** {aka _JNIEnv**}' [-fpermissive]
/home/android/android-ndk-r8e/platforms/android-14/arch-arm/usr/include/jni.h:1072:10: error:   initializing argument 1 of 'jint _JavaVM::AttachCurrentThread(JNIEnv**, void*)' [-fpermissive]
make: *** [obj/local/armeabi/objs/pjsua/pjsua_wrap.o] Error 1

I found the following thread which sounds exactly like what I ran into: http://swig.10945.n7.nabble.com/Java-AttachCurrentThread-cast-error-td557.html

After reading, I decided I would try taking the jni.h (and dependencies jawt_md.h/jni_md.h) from my 1.7.0_01 JDK folder, and placing them in /home/android/android-ndk-r8e/platforms/android-14/arch-arm/usr/include/ to see if it would build using Java's jni.h.  This fixed the build problem and ndk-build now builds the .so without issue.  If this is a necessary step, then it should be added to the wiki page.

I then continued to follow the wiki entry and made the project in eclipse from existing source and it built fine (I'm using target Android SDK version 14 - Android 4.0).  I then tried to run on a 4.0 simulator, a rooted Motorola Xoom tablet, and a Samsung Galaxy SIII, all of which crash with the following LogCat tracing:

05-15 17:12:22.140: E/dalvikvm(21762): ERROR: detaching thread with interp frames (count=18)
05-15 17:12:22.140: I/dalvikvm(21762): "main" prio=5 tid=1 RUNNABLE
05-15 17:12:22.140: I/dalvikvm(21762):   | group="main" sCount=0 dsCount=0 obj=0x4184d568 self=0x4183d9f8
05-15 17:12:22.140: I/dalvikvm(21762):   | sysTid=21762 nice=0 sched=0/0 cgrp=apps handle=1075250992
05-15 17:12:22.140: I/dalvikvm(21762):   | schedstat=( 106848000 16932000 106 ) utm=5 stm=5 core=0
05-15 17:12:22.140: I/dalvikvm(21762):   at org.pjsip.pjsua.pjsuaJNI.pjsuaStart(Native Method)
05-15 17:12:22.140: I/dalvikvm(21762):   at org.pjsip.pjsua.pjsua.pjsuaStart(pjsua.java:13)
05-15 17:12:22.140: I/dalvikvm(21762):   at org.pjsip.pjsua.MainActivity.init_lib(MainActivity.java:234)
05-15 17:12:22.140: I/dalvikvm(21762):   at org.pjsip.pjsua.MainActivity.onCreate(MainActivity.java:153)
05-15 17:12:22.140: I/dalvikvm(21762):   at android.app.Activity.performCreate(Activity.java:5008)
05-15 17:12:22.140: I/dalvikvm(21762):   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
05-15 17:12:22.140: I/dalvikvm(21762):   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
05-15 17:12:22.140: I/dalvikvm(21762):   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
05-15 17:12:22.140: I/dalvikvm(21762):   at android.app.ActivityThread.access$600(ActivityThread.java:130)
05-15 17:12:22.140: I/dalvikvm(21762):   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
05-15 17:12:22.140: I/dalvikvm(21762):   at android.os.Handler.dispatchMessage(Handler.java:99)
05-15 17:12:22.140: I/dalvikvm(21762):   at android.os.Looper.loop(Looper.java:137)
05-15 17:12:22.140: I/dalvikvm(21762):   at android.app.ActivityThread.main(ActivityThread.java:4745)
05-15 17:12:22.140: I/dalvikvm(21762):   at java.lang.reflect.Method.invokeNative(Native Method)
05-15 17:12:22.140: I/dalvikvm(21762):   at java.lang.reflect.Method.invoke(Method.java:511)
05-15 17:12:22.140: I/dalvikvm(21762):   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
05-15 17:12:22.140: I/dalvikvm(21762):   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
05-15 17:12:22.140: I/dalvikvm(21762):   at dalvik.system.NativeStart.main(Native Method)
05-15 17:12:22.140: E/dalvikvm(21762): VM aborting
05-15 17:12:22.140: A/libc(21762): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1), thread 21762 (org.pjsip.pjsua)

If I comment out Line #230 of MainActivity.java which sets a callback object, the pjsuaStart() function returns without exception and the app does not crash, however it's stuck on "Starting module".

Is there anyone out there who can help with these issues?  Is it something I'm doing wrong?  I have followed the instructions to the letter and am still facing these problems.

Thanks,
Kevin
&lt;/pre&gt;</description>
    <dc:creator>Kevin LaMar</dc:creator>
    <dc:date>2013-05-16T00:17:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17240">
    <title>Passing userdata to pjsua.call_make_call from java and SWIG</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17240</link>
    <description>&lt;pre&gt;I'm trying to call pjsua.call_make_call. I'm using the jni layer in
CSipSimple that is created with SWIG.

How can I pass the user_data? if I just pass the a byte[] when I use

pjsua_call_get_user_data(call_id);

in the C code I get a non null pointer but when I try to use it the
application crashes.

Is there an example of how to do it?

Thanks
&lt;/pre&gt;</description>
    <dc:creator>user uno</dc:creator>
    <dc:date>2013-05-15T17:38:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17239">
    <title>Help compiling python_pjsua with python 2.7 on Windows 8with VS2012</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17239</link>
    <description>&lt;pre&gt;Hello all,

I am new to compiling software on windows, I was wondering if anyone has 
had success compiling  the python libraries on windows with python 2.7. 
I can compile against 2.4 no problem but haven't been able to get it to 
work with python 2.7. I found a list post from 2007 that recommended 
editing pjsip-apps/build/python_pjsua.vcxproj accordingly

So these are the steps I have taken with VS2012 and Windows 8:
Imported the project, everything imports OK
Create the config_site.h (empty)
Set pjsua as startup project, build pjsua OK
Modify all references of python24 and Python-2.4 to python27 and 
Python-2.7 respectively in 'pjsip-apps/build/python_pjsua.vcxproj'
Modify the properties of the python_pjsua project to include the 
C:\python27\libs and C:\python27\include
Build python_pjsua FAIL

VS gives me 31 errors here ar a few:
Error    10    error LNK2019: unresolved external symbol 
__imp__PyType_Ready referenced in function _init_pjsua C:\Users\Jesse 
Cloutier\Library\Projects\pjproject-2.1\pjproject-2.1.0\pjsip-apps\build\_pjsua.obj 
python_pjsua
Error    11    error LNK2019: unresolved external symbol 
__imp__PyType_GenericNew referenced in function 
_py_pjsua_media_config_default    C:\Users\Jesse 
Cloutier\Library\Projects\pjproject-2.1\pjproject-2.1.0\pjsip-apps\build\_pjsua.obj 
python_pjsua
Error    12    error LNK2019: unresolved external symbol 
__imp__PyCallable_Check referenced in function _cb_log_cb C:\Users\Jesse 
Cloutier\Library\Projects\pjproject-2.1\pjproject-2.1.0\pjsip-apps\build\_pjsua.obj 
python_pjsua


Can anyone point me in the right direction?

Thanks

&lt;/pre&gt;</description>
    <dc:creator>Jesse Cloutier</dc:creator>
    <dc:date>2013-05-15T12:59:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17237">
    <title>Problem building pjsip with TLS</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17237</link>
    <description>&lt;pre&gt;Hello,

I'm having a problem concerning building pjsip with TLS enabled.
My environment is usually Mac OS X,  I have openssl installed and like it
is said in this link http://trac.pjsip.org/repos/wiki/TLS I can build pjsip
without declare the #define PJ_HAS_SSL_SOCK 1 line in my config_site.h
file.
However when I run the ./configure-android script and that I see the
config.log file it generated I see those lines:

aconfigure:6901: result: Checking if SSL support is disabled... yes
ac_no_ssl='1'
libssl_present=''
openssl_h_present=''

which obviously are telling me that there's no SSL support. Nevermind,
pjsip will compile successfully but without SSL/TLS support.

OK but openssl is already installed on my machine, how is supposed the
autobuild file to detect this?

I tried it also on an ubuntu system which allows me to install the
libssl-dev package, stills detect nothing!
Then I give a try changing the config_site.h file with the PJ_HAS_SSL_SOCK
set to 1.
I build the project but it generates then the following error:

../src/pj/ssl_sock_ossl.c:48:25: error: openssl/bio.h: No such file or
directory
../src/pj/ssl_sock_ossl.c:49:25: error: openssl/ssl.h: No such file or
directory
../src/pj/ssl_sock_ossl.c:50:25: error: openssl/err.h: No such file or
directory
../src/pj/ssl_sock_ossl.c:51:28: error: openssl/x509v3.h: No such file or
directory
../src/pj/ssl_sock_ossl.c:181: error: expected specifier-qualifier-list
before 'SSL_CTX'
../src/pj/ssl_sock_ossl.c: In function 'STATUS_FROM_SSL_ERR':
../src/pj/ssl_sock_ossl.c:226: error: 'SSL_ERROR_SSL' undeclared (first use
in this function)
../src/pj/ssl_sock_ossl.c:226: error: (Each undeclared identifier is
reported only once
../src/pj/ssl_sock_ossl.c:226: error: for each function it appears in.)
../src/pj/ssl_sock_ossl.c:227: warning: implicit declaration of function
'ERR_get_error'
../src/pj/ssl_sock_ossl.c:234: warning: implicit declaration of function
'ERR_GET_LIB'
../src/pj/ssl_sock_ossl.c:234: warning: implicit declaration of function
'ERR_GET_REASON'
../src/pj/ssl_sock_ossl.c: In function 'ssl_strerror':
../src/pj/ssl_sock_ossl.c:263: warning: implicit declaration of function
'ERR_PACK'
../src/pj/ssl_sock_ossl.c:270: warning: implicit declaration of function
'ERR_reason_error_string'
../src/pj/ssl_sock_ossl.c:270: warning: assignment makes pointer from
integer without a cast
../src/pj/ssl_sock_ossl.c: In function 'init_openssl':
../src/pj/ssl_sock_ossl.c:320: warning: implicit declaration of function
'SSL_library_init'
../src/pj/ssl_sock_ossl.c:321: warning: implicit declaration of function
'SSL_load_error_strings'
../src/pj/ssl_sock_ossl.c:322: warning: implicit declaration of function
'OpenSSL_add_all_algorithms'
../src/pj/ssl_sock_ossl.c:326: error: 'SSL_METHOD' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:326: error: 'meth' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:327: error: 'SSL_CTX' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:327: error: 'ctx' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:328: error: 'SSL' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:328: error: 'ssl' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:329: warning: implicit declaration of function
'STACK_OF'
../src/pj/ssl_sock_ossl.c:329: error: 'SSL_CIPHER' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:329: error: 'sk_cipher' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:332: error: expected expression before ')' token
../src/pj/ssl_sock_ossl.c:334: error: expected expression before ')' token
../src/pj/ssl_sock_ossl.c:336: error: expected expression before ')' token
../src/pj/ssl_sock_ossl.c:339: error: expected expression before ')' token
../src/pj/ssl_sock_ossl.c:343: warning: implicit declaration of function
'SSL_CTX_new'
../src/pj/ssl_sock_ossl.c:344: warning: implicit declaration of function
'SSL_CTX_set_cipher_list'
../src/pj/ssl_sock_ossl.c:346: warning: implicit declaration of function
'SSL_new'
../src/pj/ssl_sock_ossl.c:347: warning: implicit declaration of function
'SSL_get_ciphers'
../src/pj/ssl_sock_ossl.c:349: warning: implicit declaration of function
'sk_SSL_CIPHER_num'
../src/pj/ssl_sock_ossl.c:354: error: 'c' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:355: warning: implicit declaration of function
'sk_SSL_CIPHER_value'
../src/pj/ssl_sock_ossl.c:358: warning: implicit declaration of function
'SSL_CIPHER_get_name'
../src/pj/ssl_sock_ossl.c:361: warning: implicit declaration of function
'SSL_free'
../src/pj/ssl_sock_ossl.c:362: warning: implicit declaration of function
'SSL_CTX_free'
../src/pj/ssl_sock_ossl.c:368: warning: implicit declaration of function
'SSL_get_ex_new_index'
../src/pj/ssl_sock_ossl.c: At top level:
../src/pj/ssl_sock_ossl.c:397: error: expected declaration specifiers or
'...' before 'X509_STORE_CTX'
../src/pj/ssl_sock_ossl.c: In function 'verify_cb':
../src/pj/ssl_sock_ossl.c:400: error: 'SSL' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:400: error: 'ossl_ssl' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:404: warning: implicit declaration of function
'X509_STORE_CTX_get_ex_data'
../src/pj/ssl_sock_ossl.c:404: error: 'x509_ctx' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:405: warning: implicit declaration of function
'SSL_get_ex_data_X509_STORE_CTX_idx'
../src/pj/ssl_sock_ossl.c:409: warning: implicit declaration of function
'SSL_get_ex_data'
../src/pj/ssl_sock_ossl.c:413: warning: implicit declaration of function
'X509_STORE_CTX_get_error'
../src/pj/ssl_sock_ossl.c:415: error: 'X509_V_OK' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:418: error:
'X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:422: error:
'X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:423: error:
'X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:424: error:
'X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:425: error:
'X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:429: error: 'X509_V_ERR_CERT_NOT_YET_VALID'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:430: error: 'X509_V_ERR_CERT_HAS_EXPIRED'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:434: error: 'X509_V_ERR_UNABLE_TO_GET_CRL'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:435: error: 'X509_V_ERR_CRL_NOT_YET_VALID'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:436: error: 'X509_V_ERR_CRL_HAS_EXPIRED'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:437: error:
'X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:438: error: 'X509_V_ERR_CRL_SIGNATURE_FAILURE'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:439: error:
'X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:440: error:
'X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:444: error:
'X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:445: error: 'X509_V_ERR_CERT_UNTRUSTED'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:446: error:
'X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:447: error:
'X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:451: error: 'X509_V_ERR_CERT_SIGNATURE_FAILURE'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:452: error:
'X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:453: error: 'X509_V_ERR_SUBJECT_ISSUER_MISMATCH'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:454: error: 'X509_V_ERR_AKID_SKID_MISMATCH'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:455: error:
'X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:456: error: 'X509_V_ERR_KEYUSAGE_NO_CERTSIGN'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:460: error: 'X509_V_ERR_CERT_REVOKED' undeclared
(first use in this function)
../src/pj/ssl_sock_ossl.c:464: error: 'X509_V_ERR_INVALID_PURPOSE'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:465: error: 'X509_V_ERR_CERT_REJECTED' undeclared
(first use in this function)
../src/pj/ssl_sock_ossl.c:466: error: 'X509_V_ERR_INVALID_CA' undeclared
(first use in this function)
../src/pj/ssl_sock_ossl.c:470: error: 'X509_V_ERR_CERT_CHAIN_TOO_LONG'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:471: error: 'X509_V_ERR_PATH_LENGTH_EXCEEDED'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:476: error: 'X509_V_ERR_OUT_OF_MEM' undeclared
(first use in this function)
../src/pj/ssl_sock_ossl.c: In function 'create_ssl':
../src/pj/ssl_sock_ossl.c:498: error: 'SSL_METHOD' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:498: error: 'ssl_method' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:499: error: 'SSL_CTX' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:499: error: 'ctx' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:515: error: expected expression before ')' token
../src/pj/ssl_sock_ossl.c:519: error: expected expression before ')' token
../src/pj/ssl_sock_ossl.c:523: error: expected expression before ')' token
../src/pj/ssl_sock_ossl.c:526: error: expected expression before ')' token
../src/pj/ssl_sock_ossl.c:546: warning: implicit declaration of function
'SSL_CTX_load_verify_locations'
../src/pj/ssl_sock_ossl.c:559: warning: implicit declaration of function
'SSL_CTX_set_default_passwd_cb'
../src/pj/ssl_sock_ossl.c:560: warning: implicit declaration of function
'SSL_CTX_set_default_passwd_cb_userdata'
../src/pj/ssl_sock_ossl.c:568: warning: implicit declaration of function
'SSL_CTX_use_certificate_chain_file'
../src/pj/ssl_sock_ossl.c:583: warning: implicit declaration of function
'SSL_CTX_use_PrivateKey_file'
../src/pj/ssl_sock_ossl.c:584: error: 'SSL_FILETYPE_PEM' undeclared (first
use in this function)
../src/pj/ssl_sock_ossl.c:597: error: 'pj_ssl_sock_t' has no member named
'ossl_ctx'
../src/pj/ssl_sock_ossl.c:598: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:598: error: 'pj_ssl_sock_t' has no member named
'ossl_ctx'
../src/pj/ssl_sock_ossl.c:599: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:604: warning: implicit declaration of function
'SSL_set_ex_data'
../src/pj/ssl_sock_ossl.c:604: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:607: error: 'SSL_VERIFY_PEER' undeclared (first
use in this function)
../src/pj/ssl_sock_ossl.c:609: error: 'SSL_VERIFY_FAIL_IF_NO_PEER_CERT'
undeclared (first use in this function)
../src/pj/ssl_sock_ossl.c:611: warning: implicit declaration of function
'SSL_set_verify'
../src/pj/ssl_sock_ossl.c:611: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:619: error: 'pj_ssl_sock_t' has no member named
'ossl_rbio'
../src/pj/ssl_sock_ossl.c:619: warning: implicit declaration of function
'BIO_new'
../src/pj/ssl_sock_ossl.c:619: warning: implicit declaration of function
'BIO_s_mem'
../src/pj/ssl_sock_ossl.c:620: error: 'pj_ssl_sock_t' has no member named
'ossl_wbio'
../src/pj/ssl_sock_ossl.c:621: warning: implicit declaration of function
'BIO_set_close'
../src/pj/ssl_sock_ossl.c:621: error: 'pj_ssl_sock_t' has no member named
'ossl_rbio'
../src/pj/ssl_sock_ossl.c:621: error: 'BIO_CLOSE' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:622: error: 'pj_ssl_sock_t' has no member named
'ossl_wbio'
../src/pj/ssl_sock_ossl.c:623: warning: implicit declaration of function
'SSL_set_bio'
../src/pj/ssl_sock_ossl.c:623: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:623: error: 'pj_ssl_sock_t' has no member named
'ossl_rbio'
../src/pj/ssl_sock_ossl.c:623: error: 'pj_ssl_sock_t' has no member named
'ossl_wbio'
../src/pj/ssl_sock_ossl.c: In function 'destroy_ssl':
../src/pj/ssl_sock_ossl.c:633: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:634: warning: implicit declaration of function
'SSL_shutdown'
../src/pj/ssl_sock_ossl.c:634: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:635: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:636: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:640: error: 'pj_ssl_sock_t' has no member named
'ossl_ctx'
../src/pj/ssl_sock_ossl.c:641: error: 'pj_ssl_sock_t' has no member named
'ossl_ctx'
../src/pj/ssl_sock_ossl.c:642: error: 'pj_ssl_sock_t' has no member named
'ossl_ctx'
../src/pj/ssl_sock_ossl.c: In function 'reset_ssl_sock_state':
../src/pj/ssl_sock_ossl.c:675: warning: implicit declaration of function
'ERR_clear_error'
../src/pj/ssl_sock_ossl.c: In function 'set_cipher_list':
../src/pj/ssl_sock_ossl.c:684: error: 'SSL_CIPHER' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:684: error: 'sk_cipher' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:694: warning: implicit declaration of function
'SSL_set_cipher_list'
../src/pj/ssl_sock_ossl.c:694: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:697: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:700: error: 'c' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:730: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c: At top level:
../src/pj/ssl_sock_ossl.c:741: warning: type defaults to 'int' in
declaration of 'ASN1_TIME'
../src/pj/ssl_sock_ossl.c:741: error: expected ';', ',' or ')' before '*'
token
../src/pj/ssl_sock_ossl.c:820: error: expected declaration specifiers or
'...' before 'X509'
../src/pj/ssl_sock_ossl.c: In function 'get_cert_info':
../src/pj/ssl_sock_ossl.c:827: error: 'GENERAL_NAMES' undeclared (first use
in this function)
../src/pj/ssl_sock_ossl.c:827: error: 'names' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:829: error: 'x' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:832: warning: implicit declaration of function
'X509_NAME_oneline'
../src/pj/ssl_sock_ossl.c:832: warning: implicit declaration of function
'X509_get_issuer_name'
../src/pj/ssl_sock_ossl.c:835: warning: implicit declaration of function
'M_ASN1_STRING_data'
../src/pj/ssl_sock_ossl.c:835: warning: implicit declaration of function
'X509_get_serialNumber'
../src/pj/ssl_sock_ossl.c:836: warning: implicit declaration of function
'M_ASN1_STRING_length'
../src/pj/ssl_sock_ossl.c:852: warning: implicit declaration of function
'X509_get_version'
../src/pj/ssl_sock_ossl.c:863: warning: implicit declaration of function
'X509_get_subject_name'
../src/pj/ssl_sock_ossl.c:868: warning: implicit declaration of function
'parse_ossl_asn1_time'
../src/pj/ssl_sock_ossl.c:869: warning: implicit declaration of function
'X509_get_notBefore'
../src/pj/ssl_sock_ossl.c:871: warning: implicit declaration of function
'X509_get_notAfter'
../src/pj/ssl_sock_ossl.c:875: error: expected expression before ')' token
../src/pj/ssl_sock_ossl.c:881: warning: implicit declaration of function
'sk_GENERAL_NAME_num'
../src/pj/ssl_sock_ossl.c:888: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../src/pj/ssl_sock_ossl.c:888: error: 'name' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:890: warning: implicit declaration of function
'sk_GENERAL_NAME_value'
../src/pj/ssl_sock_ossl.c:893: error: 'GEN_EMAIL' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:894: warning: implicit declaration of function
'ASN1_STRING_to_UTF8'
../src/pj/ssl_sock_ossl.c:897: error: 'GEN_DNS' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:901: error: 'GEN_URI' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:905: error: 'GEN_IPADD' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:906: warning: implicit declaration of function
'ASN1_STRING_data'
../src/pj/ssl_sock_ossl.c:907: warning: implicit declaration of function
'ASN1_STRING_length'
../src/pj/ssl_sock_ossl.c:927: warning: implicit declaration of function
'OPENSSL_free'
../src/pj/ssl_sock_ossl.c: In function 'update_certs_info':
../src/pj/ssl_sock_ossl.c:941: error: 'X509' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:941: error: 'x' undeclared (first use in this
function)
../src/pj/ssl_sock_ossl.c:946: warning: implicit declaration of function
'SSL_get_certificate'
../src/pj/ssl_sock_ossl.c:946: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:948: error: too many arguments to function
'get_cert_info'
../src/pj/ssl_sock_ossl.c:955: warning: implicit declaration of function
'SSL_get_peer_certificate'
../src/pj/ssl_sock_ossl.c:955: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:957: error: too many arguments to function
'get_cert_info'
../src/pj/ssl_sock_ossl.c:959: warning: implicit declaration of function
'X509_free'
../src/pj/ssl_sock_ossl.c: In function 'on_handshake_complete':
../src/pj/ssl_sock_ossl.c:1041: error: 'SSL_ERROR_NONE' undeclared (first
use in this function)
../src/pj/ssl_sock_ossl.c: In function 'flush_write_bio':
../src/pj/ssl_sock_ossl.c:1077: warning: implicit declaration of function
'BIO_pending'
../src/pj/ssl_sock_ossl.c:1077: error: 'pj_ssl_sock_t' has no member named
'ossl_wbio'
../src/pj/ssl_sock_ossl.c:1081: warning: implicit declaration of function
'BIO_get_mem_data'
../src/pj/ssl_sock_ossl.c:1081: error: 'pj_ssl_sock_t' has no member named
'ossl_wbio'
../src/pj/ssl_sock_ossl.c:1169: warning: implicit declaration of function
'BIO_reset'
../src/pj/ssl_sock_ossl.c:1169: error: 'pj_ssl_sock_t' has no member named
'ossl_wbio'
../src/pj/ssl_sock_ossl.c: In function 'do_handshake':
../src/pj/ssl_sock_ossl.c:1219: warning: implicit declaration of function
'SSL_do_handshake'
../src/pj/ssl_sock_ossl.c:1219: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:1233: warning: implicit declaration of function
'SSL_get_error'
../src/pj/ssl_sock_ossl.c:1233: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:1234: error: 'SSL_ERROR_NONE' undeclared (first
use in this function)
../src/pj/ssl_sock_ossl.c:1234: error: 'SSL_ERROR_WANT_READ' undeclared
(first use in this function)
../src/pj/ssl_sock_ossl.c:1243: warning: implicit declaration of function
'SSL_is_init_finished'
../src/pj/ssl_sock_ossl.c:1243: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c: In function 'asock_on_data_read':
../src/pj/ssl_sock_ossl.c:1271: warning: implicit declaration of function
'BIO_write'
../src/pj/ssl_sock_ossl.c:1271: error: 'pj_ssl_sock_t' has no member named
'ossl_rbio'
../src/pj/ssl_sock_ossl.c:1303: warning: implicit declaration of function
'SSL_read'
../src/pj/ssl_sock_ossl.c:1303: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:1339: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:1344: error: 'SSL_ERROR_NONE' undeclared (first
use in this function)
../src/pj/ssl_sock_ossl.c:1344: error: 'SSL_ERROR_WANT_READ' undeclared
(first use in this function)
../src/pj/ssl_sock_ossl.c: In function 'asock_on_accept_complete':
../src/pj/ssl_sock_ossl.c:1573: warning: implicit declaration of function
'SSL_set_accept_state'
../src/pj/ssl_sock_ossl.c:1573: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c: In function 'asock_on_connect_complete':
../src/pj/ssl_sock_ossl.c:1655: warning: implicit declaration of function
'SSL_set_connect_state'
../src/pj/ssl_sock_ossl.c:1655: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c: In function 'pj_ssl_sock_get_info':
../src/pj/ssl_sock_ossl.c:1912: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '*' token
../src/pj/ssl_sock_ossl.c:1912: error: 'cipher' undeclared (first use in
this function)
../src/pj/ssl_sock_ossl.c:1915: warning: implicit declaration of function
'SSL_get_current_cipher'
../src/pj/ssl_sock_ossl.c:1915: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c: In function 'ssl_write':
../src/pj/ssl_sock_ossl.c:2059: warning: implicit declaration of function
'SSL_write'
../src/pj/ssl_sock_ossl.c:2059: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:2069: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:2070: error: 'SSL_ERROR_WANT_READ' undeclared
(first use in this function)
../src/pj/ssl_sock_ossl.c:2070: error: 'SSL_ERROR_NONE' undeclared (first
use in this function)
../src/pj/ssl_sock_ossl.c: In function 'pj_ssl_sock_renegotiate':
../src/pj/ssl_sock_ossl.c:2400: warning: implicit declaration of function
'SSL_renegotiate_pending'
../src/pj/ssl_sock_ossl.c:2400: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
../src/pj/ssl_sock_ossl.c:2403: warning: implicit declaration of function
'SSL_renegotiate'
../src/pj/ssl_sock_ossl.c:2403: error: 'pj_ssl_sock_t' has no member named
'ossl_ssl'
make[2]: *** [output/pjlib-arm-unknown-linux-androideabi/ssl_sock_ossl.o]
Error 1
make[1]: *** [pjlib] Error 2
make: *** [all] Error 1

Do anyone knows how to avoid this?

Thanks for your reply.
&lt;/pre&gt;</description>
    <dc:creator>Karl Berger</dc:creator>
    <dc:date>2013-05-14T16:16:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17235">
    <title>using boost thread and pj_thread</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17235</link>
    <description>&lt;pre&gt;Dear All

How can I register boost thread by using pj_thread_register in C++.


Thanks &amp;amp; Regards
Imran Khan
&lt;/pre&gt;</description>
    <dc:creator>Imran Khan</dc:creator>
    <dc:date>2013-05-14T10:35:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17234">
    <title>PJSIP QOS using DSCP</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17234</link>
    <description>&lt;pre&gt;Hi There,

Is anybody done QOS using DSCP in iOS/Android PJSIP versions?

Please let us know how can we configure DSCP on client side?

Thank you

&lt;/pre&gt;</description>
    <dc:creator>Ramu</dc:creator>
    <dc:date>2013-05-14T04:15:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.voip.pjsip/17232">
    <title>Late offer/answer mode support (RFC 3264)</title>
    <link>http://comments.gmane.org/gmane.comp.voip.pjsip/17232</link>
    <description>&lt;pre&gt;Hello, pjsip-team,

does your lib support late offer/answer mode (RFC 3264) ? If no - are 
there any plans to implement it?
Thanks.

&lt;/pre&gt;</description>
    <dc:creator>max.kondr</dc:creator>
    <dc:date>2013-05-13T06:58:29</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.voip.pjsip">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.voip.pjsip</link>
  </textinput>
</rdf:RDF>
