powered by Jive Software

Audio problem with Smack 3.1.0

Friends,

I am trying to develop audio application with smack 3.1.0 version using jingle. The audio call request has been received in a receiver side. After that In console i can see the following output. Atlast its giving Terminate Unable to negotiate session. This may be caused by firewall configuration problems. I checked my firewall it is in off. Please give me the solution or suggestion inorder to solve this problem.

I am the beginner of smack any help would be appreciated.

Console output in caller side

Packet:

ICE Candidate retry #0

ECHO Received to: 192.168.1.3:18972 data: 2994745800949551384;192.168.1.3:11088

ECHO OK: 192.168.1.3:18972 <-> 192.168.1.3:11088

Candidate reachable: 192.168.1.3:11088 from 192.168.1.3:11088

ECHO Received to: 192.168.1.3:18972 data: 2994745800949551384;192.168.1.3:11088

ECHO OK: 192.168.1.3:18972 <-> 192.168.1.3:11088

Candidate reachable: 192.168.1.3:11088 from 192.168.1.3:11088

ECHO Received to: 192.168.1.3:18972 data: 2994745800949551384;192.168.1.3:11088

ECHO OK: 192.168.1.3:18972 <-> 192.168.1.3:11088

Candidate reachable: 192.168.1.3:11088 from 192.168.1.3:11088

ECHO Received to: 192.168.1.3:18972 data: 2994745800949551384;192.168.1.3:11088

ECHO OK: 192.168.1.3:18972 <-> 192.168.1.3:11088

Candidate reachable: 192.168.1.3:11088 from 192.168.1.3:11088

Packet:

ICE Candidate retry #0

ICE Candidate retry #0

Packet:

ECHO Received to: 192.168.1.3:13630 data: 7001323938625725645;192.168.1.3:10972

ECHO OK: 192.168.1.3:13630 <-> 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

Packet:

ICE Candidate retry #0

ECHO Received to: 192.168.1.3:18972 data: 2994745800949551384;192.168.1.3:11088

ECHO OK: 192.168.1.3:18972 <-> 192.168.1.3:11088

Candidate reachable: 192.168.1.3:11088 from 192.168.1.3:11088

Candidate reachable: 192.168.1.3:11088 from 192.168.1.3:11088

ECHO Received to: 192.168.1.3:13630 data: 7001323938625725645;192.168.1.3:10972

ECHO OK: 192.168.1.3:13630 <-> 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

ECHO Received to: 192.168.1.3:18972 data: 2994745800949551384;192.168.1.3:11088

ECHO OK: 192.168.1.3:18972 <-> 192.168.1.3:11088

Candidate reachable: 192.168.1.3:11088 from 192.168.1.3:11088

Candidate reachable: 192.168.1.3:11088 from 192.168.1.3:11088

ECHO Received to: 192.168.1.3:13630 data: 7001323938625725645;192.168.1.3:10972

ECHO OK: 192.168.1.3:13630 <-> 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

Added valid candidate: 192.168.1.3:11088

ECHO Received to: 192.168.1.3:13630 data: 7001323938625725645;192.168.1.3:10972

ECHO OK: 192.168.1.3:13630 <-> 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

ECHO Received to: 192.168.1.3:13630 data: 7001323938625725645;192.168.1.3:10972

ECHO OK: 192.168.1.3:13630 <-> 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

ECHO Received to: 192.168.1.3:13630 data: 7001323938625725645;192.168.1.3:10972

ECHO OK: 192.168.1.3:13630 <-> 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

Candidate reachable: 192.168.1.3:10972 from 192.168.1.3:10972

Added valid candidate: 192.168.1.3:10972

Added valid candidate: 192.168.1.3:11088

Added valid candidate: 192.168.1.3:10972

Packet:

Packet:

Terminate Unable to negotiate session. This may be caused by firewall configuration problems.

Session state change: JingleSessionStatePending->JingleSessionStateEnded

Session Ended


JINGLE SESSION: REMOVE PACKET LISTENER

JINGLE SESSION: REMOVE CONNECTION LISTENER

Negotiation Closed: demostudent2@204.93.172.85/Smack 251951871986028688

**
**

Console output in receiver side

Session state change: null->JingleSessionStateUnknown

UpdatePacketListener

Packet:

Session state change: JingleSessionStateUnknown->JingleSessionStatePending

Candidate addr: /192.168.1.3|/192.168.1.3 Priority:1103

Listening for ECHO: 192.168.1.3:15694

Listening for ECHO: 192.168.1.3:18190

Candidate addr: /192.168.1.3|/192.168.1.3 Priority:11

Service listing

Initializing transport resolver…

Transport resolved

Candidate addr: /192.168.1.3|/192.168.1.3 Priority:1103

Listening for ECHO: 192.168.1.3:11166

Candidate addr: /192.168.1.3|/192.168.1.3 Priority:11

Listening for ECHO: 192.168.1.3:13172

Service listing

Initializing transport resolver…

Transport resolved

Candidate addr: /192.168.1.3|/192.168.1.3 Priority:1103

Listening for ECHO: 192.168.1.3:17514

Candidate addr: /192.168.1.3|/192.168.1.3 Priority:11

Service listing

Listening for ECHO: 192.168.1.3:10162

Initializing transport resolver…

Transport resolved

Listening for ECHO: 192.168.1.3:11088

Candidate addr: /192.168.1.3|/192.168.1.3 Priority:1103

Candidate addr: /192.168.1.3|/192.168.1.3 Priority:11

Listening for ECHO: 192.168.1.3:10972

Service listing

Initializing transport resolver…

Transport resolved

Negotiator state change: PENDING->PENDING(MediaNegotiator)

Negotiator state change: PENDING->PENDING(Ice)

Negotiator state change: PENDING->PENDING(MediaNegotiator)

Negotiator state change: PENDING->PENDING(Ice)

Packet:

Packet:

Packet:

Packet:

Media choice:gsm

Packet:

Negotiator state change: PENDING->SUCCEEDED(MediaNegotiator)

Remote acccepted candidate addr: 192.168.1.3

Remote acccepted candidate addr: 192.168.1.3

Media choice:speex

Packet:

Negotiator state change: PENDING->SUCCEEDED(MediaNegotiator)

Remote acccepted candidate addr: 192.168.1.3

Remote acccepted candidate addr: 192.168.1.3

Packet:

Terminate Closed remotely

Session state change: JingleSessionStatePending->JingleSessionStateEnded

Session Ended


JINGLE SESSION: REMOVE PACKET LISTENER

JINGLE SESSION: REMOVE CONNECTION LISTENER

Negotiation Closed: demostudent1@204.93.172.85/Smack 251951871986028688