UCMA 4 and back to backing a file transfer request

OK, I know that file transfer isn't technically supported on UCMA 4.0, but I wanted to take another look at it and see whether there was a way to b2b a file transfer request. After all, there's no reason that it shouldn't work if the messaging is correct,
right? The scenario I have is A <-b2b-> app <-b2b->B.  I have an IM conversation going on between A and B, so now I'm trying to set it up so that A can send a file to B. 
So far I've extended the platform to accept file transfer requests by creating my own call and factory classes, and then registering them using RegisterPlatformExtension.  This means that when A sends a file, the INVITE gets delivered to my application. 
Now I'm taking that INVITE and creating a new b2b call.  A file transfer request looks something like this:
TL_INFO(TF_PROTOCOL) [0]16A8.4B28::02/10/2015-19:53:05.007.001d492f (SIPStack,SIPAdminLog::ProtocolRecord::Flush:ProtocolRecord.cpp(265))[3939761282] $$begin_record
Trace-Correlation-Id: 3939761282
Instance-Id: FDB3
Direction: incoming
Peer: 10.0.154.20:49282
Message-Type: request
Start-Line: INVITE sip:[email protected] SIP/2.0
From: <sip:[email protected]>;tag=eafd3e699d;epid=ccd5657cac
To: <sip:[email protected]>
Call-ID: 0acf0330423241258576d7c5cc42aa01
CSeq: 1 INVITE
Contact: <sip:[email protected];opaque=user:epid:d2lIs-103l2YSpDwCSajtAAA;gruu>
Via: SIP/2.0/TLS 10.0.154.20:49282
Max-Forwards: 70
Content-Length: 1920
Content-Type: multipart/mixed;boundary="----=_NextPart_000_0026_01D04541.4641C2D0"
Message-Body:
------=_NextPart_000_0026_01D04541.4641C2D0
Content-Type: application/sdp
Content-Transfer-Encoding: 7bit
Content-ID: <[email protected]>
Content-Dis; handling=optional; ms-proxy-2007fallback
v=0
o=- 0 0 IN IP4 192.168.200.71
s=session
c=IN IP4 192.168.200.71
b=CT:99980
t=0 0
m=data 21300 TCP/RTP/SAVP 127
a=ice-ufrag:lYAu
a=ice-pwd:y0gkW4r9zGSW6E2VdtMprlEh
a=candidate:1 1 TCP-PASS 2120613887 192.168.200.71 10856 typ host
a=candidate:1 2 TCP-PASS 2120613374 192.168.200.71 10856 typ host
a=candidate:2 1 TCP-ACT 2121006591 192.168.200.71 21300 typ host
a=candidate:2 2 TCP-ACT 2121006078 192.168.200.71 21300 typ host
a=candidate:3 1 TCP-PASS 2120612863 10.0.154.20 31624 typ host
a=candidate:3 2 TCP-PASS 2120612350 10.0.154.20 31624 typ host
a=candidate:4 1 TCP-ACT 2121005567 10.0.154.20 3921 typ host
a=candidate:4 2 TCP-ACT 2121005054 10.0.154.20 3921 typ host
a=cryptoscale:1 client AES_CM_128_HMAC_SHA1_80 inline:4CZbzYM/GYDbygj8JwMTodKo85C4Xx7TMzeMIuBU|2^31|1:1
a=crypto:2 AES_CM_128_HMAC_SHA1_80 inline:Ohlo65gDsUvxCF39A382Rl4vGL+SG9R/lUEYU/br|2^31|1:1
a=crypto:3 AES_CM_128_HMAC_SHA1_80 inline:EZ7Zm3K0H/WW5K49LAk9/C0T8x8nhkumJOycSek7|2^31
a=setup:active
a=connection:new
a=rtcp:21300
a=mid:1
a=sendonly
a=rtpmap:127 x-data/90000
------=_NextPart_000_0026_01D04541.4641C2D0
Content-Type: application/ms-filetransfer+xml
Content-Transfer-Encoding: quoted-printable
Content-ID: <[email protected]>
Content-Dis; handling=optional
<request xmlns=3D"http://schemas.microsoft.com/rtc/2009/05/filetransfer" =
requestId=3D"13">
<publishFile>
<fileInfo embedded=3D"true">
<id>{67190A30-C59F-480D-96DD-5F3941C39C49}</id>
<name>dbchange.log</name>
<size>3609</size>
</fileInfo>
</publishFile>
</request>
------=_NextPart_000_0026_01D04541.4641C2D0--
$$end_record
I've got my b2bed invite looking almost identical to the original invite by creating a custom MIME type on the CallEstablishOptions for the back to back call using something like this:
Regex r = new Regex(@"^((.|\n)*)(\<request)((.|\n)*)(request\>)((.|\n)*)$");
Match m=r.Match(args.RequestData.GetMessageBodyString());
content=string.Format("Content-Transfer-Encoding: quoted-printable\r\n{0}{1}{2}",m.Groups[3],m.Groups[4],m.Groups[6]);
opt.CustomMimeParts.Add(new MimePartContentDescription(new ContentType("application/ms-filetransfer+xml"),System.Text.ASCIIEncoding.UTF8.GetBytes(content)));
opt.CustomMimeParts[0].ContentDispositionHeader = new SignalingHeader("Content-Disposition", "render; handling=optional");
So far the only differences I can see in my outbound message vs the original SDP are that the Content-Transfer-Encoding might not be seen as a header (since the SignalingHeaders property on the MimePartContentDescription is read only), and the Content-Transfer-Encoding
on the first MIME part (created by the BackToBackCall) is missing (even though I specified it on the PassThroughHeaders).  Even with all of this though, I still get a 488 on client B when I attempt the transfer (even though the invite goes through). 
What I'm wondering though, is whether there's any way at all to get this working the way I'd expect, where a file gets transferred directly between A and B, without my bot having to receive it first.  The other approach I've looked at is binding my
own media provider class to customize the SDP, but if this MIME part approach isn't going to work, then I have a feeling the media provider won't work either. 
Any suggestions on where to look next? 
Thanks!
Chris

Chris,
I am trying to do something similar to this and from what I have read and in talking to MS is that you need to extend the Call and Flow class which it looks like you have been able to do. Could I bother you to share what you have written? Maybe we can help
each other out on this. I am basically trying to create an application that will be able to capture a file transfer and save it, then send the original request on to the intended recipient.
Thanks in advance,
Anthony

Similar Messages

  • Quick and easy 1 time lan file transfer [resolved sorta]

    I'm looking for a painless way to transfer files from a dead windows computer (that is now running knoppix) to an arch box that with an external USB.  I've looked at various howtos, and I know that there is plenty of reading material, but this is a one time deal, and I don't have time to read a bunch of manuals.  I think that the best route would be rsync, but I'm not sure.  This would be unnecesary if the USB drive would simply mount in Knoppix, but for whatever reason, it does not. any tips would be appreciated.
    Last edited by Convergence (2008-07-29 11:34:13)

    Turns out that the USB port that I had plugged the external USB drive into was bad, maybe too dirty or something.  I just plugged the drive into another USB port, and it mounts just fine.  Therefore I don't need to know how to do lan transfers at this very moment.  However, I'll look into it, so that I will be better equipped in the future, if the need arizes.

  • BBL and file transfer

    Hi all,
    We are getting error in ULOG during heavy load.
    210420.barcelona!BBL.2329.3086304960.0: LIBTUX_CAT:1285: WARN: tpreturn message send blocked, will try file transfer
    210620.barcelona!BBL.2329.3086304960.0: LIBTUX_CAT:1286: ERROR: tpreturn could not send reply TPETIME - timeout occured
    How and which process can call BBL? Our application do tpcall to .TMIB, but not in that time when we get this error.
    Whitch IPC-queue in this case do not have enough space: BBL's queue or caller's process queue?
    We have sufficiently large kernel prametrs values (MSGMAX=32000, MSGMNB=628000) and our Linux has no limits to maximum
    number messages in the system at any time.
    Thanks.

    Hi,
    Are you absolutely certain your application is not performing tpcall(".TMIB"...) during this time? In general the only things that call the BBL are tools like tmadmin and in some cases other Tuxedo servers such as the WSL/WSH.
    The error message indicates that the caller's IPC queue is nearly full (75% of max) and so Tuxedo switches to file transfer mode in that case to prevent messages from being lost. This is in general a very bad situation as file transfers are far more costly than pure IPC requests.
    You should be able to subscribe to that event and have a shell script execute that uses ipcs to list the status of the IPC queues. That should help you identify which BBL client is causing the problem.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • File transfer errors between WP8.1 and W8.1

    This is probably in the wrong forum. But I cannot find anything which this falls under.
    Also please forgive my lack of competence in filing an issue like this.
    I own a Lumia 1020 and was trying to move photos off my phone to laptop. More specifically was trying to move the DNGs. I had already moved the jpegs. When it came to cutting or copying the DNGs I keep getting an unknown error saying that the operation would
    not work. (sorry I don't have a screenshot of the prompt)
    Now, I decided to restart my phone and lo and behold that batch of DNGs are now lost. Which I must say is quite a bad thing given that those photos were rather important.
    Since that cannot be undone, I decided to move the other DNGs which to my surprise actually did start the transfer process without any hiccup. But, when my phone went to sleep it seemed to sever the connection between my laptop and phone thus killing the
    file transfer process and generally 'unplugging' itself from my laptop until I unlocked it again.
    Again I'm not sure how to submit this or under what category it falls. But this is an issue which shouldn't be happening with the finalised version of WP8.1

    Hello,
    You could also ask in the
    Windows 8.1 forum on Microsoft Community.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Proxy Server in File Transfer System

    Hi, I need to write out a file transfer system through a proxy server for my project
    All the while i was writing a file transfer system directly from client to server without any security issue
    Anyway, the scope is given as below, and i know it needs the JSSE package to come out a SSLSocket and SSLServerSocket.
    The question is...
    1. can i use NIO with JSSE included?
    2. how to come out a java proxy server? is there any tutorial i can read through?
    The scope is given as below
    1) Proxy server
    * perform tunning and keep the linking between file transfer host and client
    * authenticate the file transfer client using CA certificate to establish SSL connection
    * Once authorised, need to establish another SSL connection to host engine
    2) File Transfer Manager at Client
    * To initiate SSL connection to proxy server
    * To open two type of connection: command and file connection
    * The command connection is always keep alive
    * For the file connection, the system required to re-open another connection after send file to host
    * Auto-reconnect to server when the connection is down
    * Re-handshake the SSL connection when the channel is inactive for sometime
    3) File Transfer Manager at host
    * To authenticate the proxy server and authorise the client before establish the connection
    * Manage the connection
    * request to client to open new connection (by sending command) when there is no file connection available to send file to client
    * Request for re-handshake the SSL connection when the channel is inactive for sometime

    Hi,
    It is a new feature of SMB3 named SMB MultiChannel, which helps copy files through multiple NICs. 
    Detailed information please see:
    http://blogs.technet.com/b/josebda/archive/2012/05/13/the-basics-of-smb-multichannel-a-feature-of-windows-server-2012-and-smb-3-0.aspx
    As mentioned you can disable or enable it with following steps:
    2.2. Disabling
    SMB Multichannel is enabled by default and there is typically no need to disable it. 
    However, if you want to disable SMB Multichannel (for testing purposes, for instance), you can use the following PowerShell cmdlets:
    On the SMB server side:
    Set-SmbServerConfiguration -EnableMultiChannel $false
    On the SMB client side:
    Set-SmbClientConfiguration -EnableMultiChannel $false
    Note: Disabling the feature on either the client or the server prevent the systems from using it.
    2.3. Re-enabling
    You can re-enable SMB Multichannel after you disabled it by using:
    On the SMB server side:
    Set-SmbServerConfiguration -EnableMultiChannel $true
    On the SMB client side:
    Set-SmbClientConfiguration -EnableMultiChannel $true
    Note: You need to enable the feature on both the client or the server to start using it again.
    If you have any feedback on our support, please send to [email protected]

  • IM System File Transfer through NAT

    Hi, i have operational IM system with server and client and i want to implement file transfer. Not that it was any difficult but i want to make it server independent to relieve it.
    What i want to is establish direct connection between transferring clients. The problem is, how to deal with guys behind NAT.
    I have seen many topics here and on other forums dealing with it but they were direct questions in advanced development of this issue and i want to ask if there is any way to do it without reconfiguring the client routers (some of them behind IPS's Gateway and owning own wifi router) or not. I would like to know your ideas or experiences on this matter how start with this or where to look for it. I certainly dont want to do some ip tunnelling through RMI or similar.
    Regards ~

    When connecting possibly NATed peers, there are three main scenarious:
    * All peers have a public IP, no NAT anywhere: Easy, simply connect
    * At least on peer has a public IP, no NAT, some or all other peers are NATed/don't have public IP: public peer acts as a server of kind/hub
    * Everyone is NATed: not it's getting very, very tricky.
    Especially for the third kind you will need to implement several different techniques.
    Keywords to google for are UPNP (to reconfigure the router for port forwarding) and NAT piercing (fooling both routers to think it's an outgoing connection).
    Good luck.

  • Ichat 4 + Google Talk + file transfer

    Hi!
    I'm trying to send files from iChat to iChat both with GoogleTalk
    accounts without success.
    The file transfer window displays that it is preparing but this goes
    on forever. At the receiver the file transfer windows says
    calculating.
    Both are using 10.5.2 with an up to date iChat. Firewall is off.
    ScreenSharing and Audio/Video is working fine.
    I tested it with .Mac accounts and there file transfering is working
    without any problems.
    Thanks for any hint to solve this problem. It is really bothering me.
    Cheers,
    Stefan

    I've tested this between my Google Talk account and my Jabber account. I used iChat on my Mac Mini to connect to iChat on my MacBook. Both are running 10.5.2. I found that for Jabber file transfers there are two phases. In phase 1 the Chat clients negotiate the file transfer parameters using the server as an intermediary. In phase 2 the receiver uses TCP to connect to the port from phase 1. If the connection is successful the file transfer begins. If it fails the sender can offer another IP address/port for transfer and the receiver can try again. This goes on until the sender has exhausted his list of available IP addresses and ports.
    Problems with file transfer will usually happen at phase 1. At the end of phase 1 the Chat client that wishes to send the file sends a message that details the IP address and port for the receiver. The receiver should try to connect to this IP address and port and get the file. This will fail if there is either a NAT or a Firewall between the receiver and the sender. A NAT botches the transfer because iChat doesn't do anything to try to figure out what it's real address is. A firewall botches the transfer by discarding the inbound TCP SYN packets that initiate the communication between sender and receiver. This is made worse by the fact that as sender iChat doesn't use the same TCP port for transfer all the time.
    In the end file transfer will work for two chat clients that can deliver packets between each other. Two people on the same LAN or on two seperate addresses that are neither NATed nor Firewalled. I've also got this going for people who have a VPN. iChat doesn't help you here. In fact it makes things worse by not choosing a constant port which means that arranging for transfer in your firewall policy is problematic. Ideally a chat client like Psi can be made to work. Psi allows the user to specify both the port and IP address specified in transfer.
    -- Chris

  • How do I network a 4yr old Macpro with the latest 15" Retina MBP for fast file transfer (back and forth)

    Hi
    I have recently updated my equipment and now wish to use my MBP to edit files that currently reside on my old MacPro.
    I have made a wifi connecting and also set up file sharing but both prove very slow and also - once the file is ready I cannot save it back to the orginal folder.
    Basically, I have lots of stuff on my MacPro that is too big to take across, so all I wish to use my new machine and have the option to save back to the old machine as and when needed.
    Can someone advise me on what I need to do, whether that be buy some cables to take advantage of thunderbolt, or any other good working solutions.
    many thanks
    Simon
    I am also trying to copy over the font from the library but it says i cannot because of permissions.

    If both computers have ethernet ports, that is a fast and inexpensive way to connect and transfer files. You will need an ethernet cable (cost a few $$), and you have to enable file sharing on both Macs.
    As for the specifics of file transferring without Migration Assistant it depends on what you want to move. Address Book for example has Export and Import funcitonality. Safari too can import and export bookmrks, etc. etc.

  • Is Samsung Kies or Android File Transfer recommended for file transfers from my OSX 10.9.4 to samsung note 2 and back?

    appreciate if someone can tell me which is more user friendly, and if AFT is compatible with other android phones, that can only be a plus.
    remember using kies on my pc in past and didnt remember it being that user friendly. please comment
    thanks in advance

    Neither.  Kies is absolute rubbish and fails to connect to my Samsung S4 Mini. Ever.
    Android File transfer doesn't work on Mavericks either.
    I use wi-fi file transfer.  Not the worlds best user interface, I'll grant you but it works just fine.

  • An app I purchased and downloaded directly to my Ipad is missing and not in my app files on my PC.  When I go to the app store to re-download it I can not the says I have already downloaded it.  How do I get my app back?

    An app I purchased and downloaded directly to my Ipad is missing and not in my app files on my PC.  When I go to the app store to re-download it I can not and the app says I have already downloaded it.  How do I get my app back?

    You should be able to copy it from your iPad to your computer's iTunes via File > Transfer Purchases, or you should be able to re-download it via the Purchased link under Quick Links on the right-hand side of the iTunes Store home page - if that says that it's already downloaded, then that implies that it's already on your computer

  • Backed Up Music/Missing Music/Ipod File Transfer

    Hi there!
    I recently rebooted my computer (Windows XP) back to factory settings, which obliterated my iTunes. I had backed up my files (or so I thought) by saving my "iTunes" folder from the "My Music" folder onto an external hard drive--as suggested by the New York Times tech section. When I rebooted, reinstalled my iTunes start up disk from 2005, and transferred my music back into the correct folder, very few songs seemed to have survived the transfer--including none of my purchases and none of my playlists.
    When I then updated iTunes to the current version, all my playlists and my entire library came back, but often in name only. Many, many songs--including many purchases--now have little exclamation points next to them that indicate that iTunes cannot find the original file, yet they are listed, thus taunting me that iTunes knows I own them, but refuses to cooperate. This is true both when the external drive is plugged in and when it's not. In addition, the blocks of songs that made it versus those that didn't seems very random--it's a mix of downloads from early on, recent trips to the iTunes store, and in between.
    I know that it is my responsibility to back up my music, but I thought I had taken appropriate precautions. I have read in a few other postings about the option to select File-->Transfer Purchases from Ipod (all of my purchased music is alive and well on the ipod), but nothing really seems to happen when I do this. How do I know if it's working? Is there a trick to using this tool? Having tried it, I have seen no removal of the exclamation points, and I'm worried to do it wrong in case iTunes erases my ipod as well.
    Any pointers or assistance would be very greatly appreciated!

    hmmm... ok, so iTunes has updated itself to version 8.2 something since i first reinstalled the 2005 version, so i think it's entirely current. i am happy to remove this version of itunes and start over without reinstalling the 2005 version, if you think that will help. i'm just not sure exactly how to go about doing that. i'm also not sure how to get around this full disk warning, as it also happens when i add the library to the desktop rather than try to work from the external HD (which, it seems to me, should give it the full use of my internal hard drive to operate, which is far from full).
    so, let's say that uninstalling and restarting iTunes won't save me or my music. how do i then go about returning the music to itunes from my ipod? i'm so sorry for the peppering of questions, i really am a technologically lost cause...
    to clarify:
    1. should i uninstall my iTunes and start over?
    2. if yes, how do i do this without the 2005 start up disk?
    3. if i do this and my music doesn't seem to automatically recover, should i then try the shift option?
    4. how do i get around the "full disk" warning message if it continues to happen?
    5. if everything else recovery-based fails, how do i transfer my purchased files from my ipod to my itunes if nothing seems to happen when i try file-->transfer from ipod?
    thank you both so, so much!

  • How Can I Transfer my songs and photo album back to my itunes?

    My hard drive on my laptop went out and all my files were deleted. Most of my music and photos that I have left are on my Ipod What should I do to import my files back yo itunes?

    there is a manual method of accessing the iPod's hard drive and copying songs back to iTunes on Windows posted in this thread: MacMuse - iPod to iTunes
    If you prefer something more automated then there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod, this is just a selection. Have a look at the web pages and documentation for these, they are generally quite straightforward. You can read reviews of some of them here: Wired News - Rescue Your Stranded Tunes
    YamiPod Mac and Windows Versions
    iGadget Windows Only
    iPodCopy Mac and Windows Versions
    iPod Access Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions
    PodPlayer Windows Only
    CopyPod Windows Only
    The transfer of purchased content to authorised computers has been introduced with iTunes 7, look under under File>"Transfer Purchases from iPod". A paragraph on it has been added to this article: How to use your iPod to move your music to a new computer
    If your iPod is set to update automatically take care when connecting back to your computer and an empty iTunes. You will get a message that your iPod is linked to a different library and asking if you want to link to this one and replace all your songs etc, press "Cancel". Pressing "Erase and Sync" will irretrievably remove all songs from your iPod. Your iPod should appear in the iTunes source list from where you can change the update setting to manual and use your iPod without the risk of accidentally erasing it. Check the "manually manage music and videos" box in Summary then press the Apply button. Don't uncheck Sync Music it will be unchecked by default when you choose the manual setting: Managing content manually on iPod
    Whichever of these retrieval methods you choose, keep your iPod in manual mode until you have reloaded your iTunes and you are happy with your playlists etc then it will be safe to return it auto-sync again. I would also advise that you get yourself an external hard drive and back your stuff up in case you have problems again. External drives are comparatively inexpensive these days and you can get loads of storage for a reasonable outlay.
    To retrieve photos from an iPod try:
    iPodPhotoCopy Windows only
    CopyPodPhoto Windows only
    iPod Photo Liberator Mac & Windows

  • I recently lost my itunes files due to a virus on my computer and didn't back them up, is there any way I can redownload them?

    So does anyone know if there is anyway that I can redownload my purchases that I lost due to a virus and didnt not back up? This is the first time it has happened to me!

    You buy one and only one download.  It is your responsibility to move/copy/backup your music.
    No backup is not good.
    You can transfer itunes purchases from an ipod:  File>Transfer Purchases
    You can try contacting itunes support and asking for an exception, but they are under no obligation to allow.
    http://www.apple.com/support/itunes

  • Is there a way to open Excell file from the server and display in the UI and save it back on to the

    Hello there,
    Is there a way to open Excell file from the server and display in the UI and save it back on to the server? (like showing xell file as a datagrid - add rows, columns etc.)

    Hi Mike,
    Welcome you to the forum.
    You may try:
    SELECT * FROM MyDBNameHere.dbo.OUSR T0
    Thanks,
    Gordon

  • I downloaded Firefox 3.6 and now my tool bar is gone. No back arrows, forward arrows, file, edit, view, history, bookmark, tools....how do I get my web browser to look like a regular browser again?

    I downloaded the new Mozilla web browser and I had a Bing homepage setting. I changed back to yahoo but I ever since downloading I dont have any back arrows, forward arrows, file, edit, view, history, bookmark, tools, address bar....how do I get my web browser to look like a regular browser again?

    For details of how to restore the menus see [https://support.mozilla.com/kb/menu+bar+is+missing]
    Once the menus are back, you can use the View menu, then select Toolbars and click on the names of the toolbars to toggle displaying them.

Maybe you are looking for