Hi, what about: SIPXTAPI_API SIPX_RESULT sipxInitialize(SIPX_INST* phInst, const int udpPort = DEFAULT_UDP_PORT, const int tcpPort = DEFAULT_TCP_PORT, const int tlsPort = DEFAULT_TLS_PORT, const int rtpPortStart = DEFAULT_RTP_START_PORT, const int maxConnections = DEFAULT_CONNECTIONS, const char* szIdentity = DEFAULT_IDENTITY, const char* szBindToAddr = DEFAULT_BIND_ADDRESS, bool bUseSequentialPorts = false, const char* szTLSCertificateNickname = NULL, const char* szTLSCertificatePassword = NULL, const char* szDbLocation = NULL, bool bEnableLocalAudio = true) ; you might set rtpPortStart Regards Paulo
On Thu, Jun 18, 2009 at 9:56 AM, Andrew Lavigne <[email protected]> wrote: > Hi, All > > I'm using sipxtapi to initiate SIP calls. I need to be able to connect > the RTP packet stream associated with this SIP call (my side of the call, > the client side) to a port of my choosing. At SIP call setup time, I > already know what port I need to use. Therefore, I need to somehow tell > sipxtapi that it should use this particular port as part of the SDP data it > sends during the media negotiation phase of setting up a call. I don't want > sipxtapi to pick a port for me. I've looked and haven't yet located any > part of the API that would permit me to do this. > > I've also looked through the archives of this mailing list and did come > across one posting a couple of years ago (which outlines a problem similar > to mine). A reply to that posting hinted that support for this did not > exist. Can anyone comment on whether there is support for this sort of > thing now, and if not, perhaps a bit more detail on the "will require > changes in underlying libs" that is mentioned? > > Many thanks in advance, > …Andrew > [email protected] > > ----- quoted message ----- > > Re: [sipxtapi-dev] Down and dirty RTP-SIP > > Alexander Chemeris > Sun, 22 Jul 2007 11:57:17 -0700 > > Hello, > > On 7/22/07, Brett Dawson <[EMAIL PROTECTED]> wrote: > > I've got an RTP stream from an external device that I can send wherever I > > need to. What is the easiest way to get that RTP stream to a connected > SIP > > call using the SipxTapi? > > There is no API in sipXtapi to do this. It is implementable, but will > require > changes in underlying libs (sipXtackLib and so). > > Do you need your client to be RTP proxy or you may just mention > this stream in SDP? > > ----- end quoted message ----- > > > _______________________________________________ > sipxtapi-dev mailing list > [email protected] > List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/ >
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
