Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User yspear's Avatar
    Join Date
    Nov 2005
    Posts
    17
    hi,all

    the document say:

    sip can carry any MIME content (such as text/plain or image/gif), has been defined by IETF for messaging purposes

    how can i do? is there some examples about this?

    for instance transfer a pic

  2. #2
    Regular Contributor RyanSantos's Avatar
    Join Date
    Jun 2005
    Location
    Philippines
    Posts
    163
    I think that there is no example regarding this. I relied on the Chipflip example of SIP v3.0. I did some refactoring to determine how to create my own register and invite messages. Creating a Transfer message should be relatively the same. Or, I do not know if this would be a hack but in ever SIP message there is a SIP body. I think you can do anything that you want with the SIP body. I have not tried this yet but theoretically you can write a file to a SIP body and send the message to your destination. If you want to avoid the SIP Transfer command altogether you might want to try what I did.

    I did a SIP REGISTER then an INVITE. After the invited returns the ACK, I get the IP address of the invited through the headers and then I create a socket connection using the info I got. Would this work for you?

  3. #3
    Nokia Developer Champion stenlik's Avatar
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037
    Hi,

    if you want to transfer a picture using sip you have few possibilities

    1) establish sip dialog at first

    2a) send sip MESSAGE to the remote party - called 'page mode'

    2b) or establish TCP connection (or send UDP datagrams) based on the parameters agreed in SDP

    2b1) use some proprietary protocol for data transport over established TCP/UDP
    2b2) use MSRP or FTP for data transport over established TCP/UDP

    Bye STeN

  4. #4
    Registered User xjdong's Avatar
    Join Date
    Feb 2006
    Location
    beijing
    Posts
    10
    1) SIP REGISTER
    2) your device send SIP INVITE (with SDP content, including your media Tx info, i.e. IP:Port and media type) to another SIP Terminal via SIP Server
    3) when your device get 200 OK, it will get remote device's IP:Port info too
    4) then, your device and remote device could exchange Video/audio/Picture via UDP/TCP...
    5) SIP BYE
    [url]www.biigroup.com[/url]

Similar Threads

  1. JAIN SIP and Symbian C++ SIP
    By RyanSantos in forum Symbian Networking & Messaging (Closed)
    Replies: 11
    Last Post: 2008-07-25, 15:44
  2. Sip 3rd Edition beta sdk
    By eob123 in forum Symbian C++
    Replies: 1
    Last Post: 2005-12-02, 16:52
  3. Problem with SIP Plug-in for Series 60 SDK 2.0
    By jalakuri in forum Symbian Tools & SDKs
    Replies: 27
    Last Post: 2005-08-22, 09:55
  4. Adding new SIP profiles to SIP Settings?
    By jrantam in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-03-02, 10:56
  5. Replies: 1
    Last Post: 2004-11-30, 01:54

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