Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor hazmat's Avatar
    Join Date
    Apr 2007
    Posts
    50
    Hi,

    I'm developing VOIP client application for S60 devices and having a problem in registering RTP/AVP Media type.INVITE request is failing as i'm getting "415, unsupported media type". I spent good time in googling and found the mentioned below workaround at Nokia technical Library site.


    Workaround:-

    One can use a unique Accept-Contact header (but the same RTP/AVP media type) in the SIP message. Ideally, the Accept-Contact header is a better way of resolving the client as it can always be unique. This will route the messages to the correct applications. The problem that can arise from using this workaround solution is that a non-standard SIP message is being used.

    What i've done:

    Now Accept-Contact header is included in INVITE request and my opaque_data setting in resolve plugin is like this ....

    "<SIP_CLIENT ALLOW_STARTING=\"YES\">\
    <SIP_HEADERS>\
    <ACCEPT value=\"application/sdp\"/>\
    <ACCEPT value=\"SIP/InstantMessage\"/>\
    <ACCEPT-CONTACT value=\"*;media=audio\"/>\
    </SIP_HEADERS>\
    <SDP_LINES>\
    <LINE name=\"m\" value=\"audio 0 RTP/AVP 8\"/>\
    </SDP_LINES>\
    </SIP_CLIENT>"

    The response has been changed to "480 temporary unavailable" please let me know what i'm still missing and how can i able to register media type audio in the media description fied of SDP.



    Thanks in advance,

    Haroon

  2. #2
    Nokia Developer Expert nly's Avatar
    Join Date
    Dec 2006
    Location
    Mountain View, CA
    Posts
    197
    Element "<LINE name=\"a\" value=\"rtpmap:98 telephone-event/8000/1\"/>\" in the original XML is invalid.
    Here is the corrected XML:

    <SIP_CLIENT ALLOW_STARTING=\"YES\">\
    <SIP_HEADERS>\
    <ACCEPT_CONTACT value=\"*;mobility=mobile;media=audio\"/>\
    <ALLOW_EVENTS value=\"telephone-event\"/>\
    <ACCEPT value=\"audio/basic\"/>\
    <ACCEPT value=\"application/sdp\"/>\
    </SIP_HEADERS>\
    <SDP_LINES>\
    <LINE name=\"m\" value=\"application 0 TCP SIP\"/>\
    <LINE name=\"m\" value=\"audio 30000 RTP/AVP 98\">\
    <MEDIA_ATTRIBUTE value=\"rtpmap:98 telephone-event/8000/1\"/>\
    </LINE>\
    </SDP_LINES>\
    </SIP_CLIENT>

  3. #3
    Regular Contributor hazmat's Avatar
    Join Date
    Apr 2007
    Posts
    50
    it is solved here...

    http://discussion.forum.nokia.com/fo...d.php?t=111831


    Haroon Azmat

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved