×

Discussion Board

Results 1 to 10 of 10
  1. #1
    Regular Contributor
    Join Date
    Apr 2007
    Posts
    50

    415 Media type not supported

    Hi,

    I'm sending INVITE Request with audio capabilties and in response receiving
    "415 Media type not supported".I'm using E65 and N95 phones which already have voip client registerd with audio media type. Please let me know how can i resolve this problem to register my application with audio media type.I've mentioned below capabilities in my Resolve Plugin.

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

    Thanks in advance,

    Haroon

  2. #2
    Regular Contributor
    Join Date
    Apr 2007
    Posts
    50

    Re: 415 Media type not supported

    HI all,

    Please anyone let me know how can i by pass the Built-in voip client in Series-60 so that my application can receive INVITE request for Audio Medai Type.I'm getting 415 Media type not support.

    Thanks in advance,

    Haroon

  3. #3
    Regular Contributor
    Join Date
    Dec 2006
    Posts
    59

    Re: 415 Media type not supported

    Hi!

    I have exactly the same problem. I want my application to start up on receipt of INVITEs instead of Nokia's SIP Client. My XML capabilities look pretty much the same as yours.

    Doesn't anybody no how to resolve this??

  4. #4
    Regular Contributor
    Join Date
    Apr 2007
    Posts
    50

    480 Temporarily Not Available

    Hi,

    I've reset the Capabilities to

    _LIT8(KCapabilities,
    "<SIP_CLIENT ALLOW_STARTING=\"YES\">\
    <SIP_HEADERS>\
    <ACCEPT_CONTACT value=\"*;mobility=mobile;media=audio\" />\
    <ALLOW_EVENTS value=\"presence\" />\
    <ACCEPT value=\"audio/basic\" />\
    <ACCEPT value=\"application/sdp\" /> \
    </SIP_HEADERS>\
    <SDP_LINES>\
    <LINE name=\"m\" value=\"audio 30000 RTP/AVP 8\" />\
    </SDP_LINES>\
    </SIP_CLIENT>" );

    and above .xml format for media type audio, i copied from SDK doc.Little modification is done in creating CSdpMediaField.Like i'm setting EMediaAudio and EProtocolRtpAvp as a media type and protocol.so the INVITE request is looking like that...

    INVITE sip:5000@10.1.7.118 SIP/2.0
    Via: SIP/2.0/UDP 10.1.7.111;branch=z9hG4bKbc96991ff4d4e6f7cde5defec3d84efa
    Via: SIP/2.0/UDP 10.1.7.120:5060;branch=z9hG4bKdt7q2r3ka9hc77gpn13m5nu;rport
    From: <sip:5001@10.1.7.111>;tag=goaa2r58p5hc6kafn13u
    To: <sip:5000@10.1.7.111>
    Contact: <sip:5001@10.1.7.120>
    CSeq: 1114 INVITE
    Call-ID: r3-xrc0AoIfvfbx7rJUBvv28Xz8WqC
    Max-Forwards: 69
    Content-Type: application/sdp
    Accept: application/sdp
    Content-Length: 141

    v=0
    o=5000 523427878 2890844532 IN IP4 127.0.0.1
    s=SipSession
    c=IN IP4 127.0.0.1
    t=0 0
    m=audio 30000 RTP/AVP 8
    a=rtpmap:8 PCMA/8000/1

    "480 Temporarily Not Available" is received in response.Any clue on that would be appreciable.Alot of threads are on forum but no boday post the solution of it and this is a big road block for developing RTP part of VOIP application.

    Thanks in advance,

    HAroon

  5. #5
    Nokia Developer Expert
    Join Date
    Dec 2006
    Location
    Mountain View, CA
    Posts
    197

    Re: 415 Media type not supported

    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>

  6. #6
    Regular Contributor
    Join Date
    Aug 2004
    Location
    Hyderabad-India
    Posts
    160

    Re: 415 Media type not supported

    AFAIK, "415 Media type not supported" is when the end points dont have any matching codecs...
    regards,
    VVS.Naresh
    --

  7. #7
    Regular Contributor
    Join Date
    Apr 2007
    Posts
    50

    Re: 415 Media type not supported

    Please pay attention to my new thread ...

    http://discussion.forum.nokia.com/fo...ghlight=haroon

    I'm writing a VOIP client so on both ends we've same applications.

    clue would be appreciable.....


    Thanks inadvance,

    Haroon Azmat

  8. #8
    Registered User
    Join Date
    Sep 2006
    Posts
    51

    Re: 415 Media type not supported

    try to build SIPExample using "abld build ....", if U build the SIPExample under Carbide or .Net2003, the XXXplugin.dll may have problem and meet the 415 error.

  9. #9
    Registered User
    Join Date
    Jul 2007
    Posts
    40

    Re: 415 Media type not supported

    Yep, thats good comment!

    For some reason IDE's have hard time building ecom resources right. For this reason its recommended that ecoms are build at least once from command line (abld build ...). This is typical problem why for example SIP's client resolver plugin for your app does not work (resulting 415 error).

    Also note ... if you screw up UID's and compile plugin, fixing those UID's might not work so easy. Clean/reallyclean may not delete all ecom resource binaries so even UID's are now correct in your source, compiled binaries are not uptodate. For this reason I always in such case manually delete all my ecom binary files (under /epoc32/, also /epoc32/build ... data ... everywhere!). When old version is 100% removed, recompile from command line your plugin and test again. In HW, also reboot phone between sis installations to make sure that your new ecom surely is taken into use!!

  10. #10
    Regular Contributor
    Join Date
    Apr 2007
    Posts
    50

    Re: 415 Media type not supported

    it is solved .Look at my thread that i just closed.


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

    Haroon Azmat

Similar Threads

  1. Replies: 2
    Last Post: 2007-07-26, 11:03
  2. 415 Unsupported Media Type Error when sending an INVITE through SIP
    By razas in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-06-14, 06:49
  3. SIP 415 unsupported media type in realtime!WHY SO????
    By Priju Jacob Paul in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-04-04, 12:52
  4. Help! SIP 415 Unsupported Media Type
    By sky_qiao in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2005-05-25, 14:24
  5. Problem with Nokia D211 Linux Drivers
    By fiveam in forum Multimodecards
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •