udayangaS 0 Newbie Poster

hi, Im am new to smack-api and im going to create a xmpp client for voice chat using smack-jingle extension.in here im gonna use ICE transport with customized Jingle media manager. problem is. smack jingle extension doesn't have proper documentation for making voice call using Jingle protocol and also the names-paces that are used in smack-jingle extension are out dated. in here im sending request to a gtalk client using my Smack xmpp client, but problem is im getting error responese as floow.

request send as follows.

<iq id="504547" from="yyy@mydomain.com/Smack" to="xxx@gmail.com/Talk.v1046357E94D" type="set">
 <jingle action="session-initiate" initiator="yyy@mydomain.com/Smack"
sid="491285" xmlns="urn:xmpp:jingle:1">
  <content creator="initiator" name="audio">
   <description media="audio" xmlns="urn:xmpp:jingle:apps:rtp:1">
    <payload-type id="0" name="PCMU" clockrate="8000">
     <parameter name="bitrate" value="64000" />
    </payload-type>
   </description>
   <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1" />
  </content>
 </jingle>
</iq>

here is the error response

<iq id="504547" to="yyy@mydomain.com/Smack" from="xxx@gmail.com/Talk.v1046357E94D" type="set">
 <jingle action="session-initiate" initiator="yyy@mydomain.com/Smack"
sid="491285" xmlns="urn:xmpp:jingle:1">
  <content creator="initiator" name="audio">
   <description media="audio" xmlns="urn:xmpp:jingle:apps:rtp:1">
    <payload-type id="0" name="PCMU" clockrate="8000">
     <parameter name="bitrate" value="64000" />
    </payload-type>
   </description>
   <transport xmlns="urn:xmpp:jingle:transports:ice-udp:1" />
  </content>
 </jingle>
<error code="503" type="cancel">
 <service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
 </error>
</iq>

i hve search google for days, but nothing find helpful. if any one did this before plz help me. i couldn't go futher with this error. any help will be great. :)
P.S. sorry for my English.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.