Replace B2BUA with a new one, without loosing transfer states
I'm having some issues with replacing my B2BUA for transfer purpose.
I have a link between 2 participant by using a B2BUA. I want to transfer one of these participants into another B2BUA, and that new B2BUA will repaces the previous one. I can accomplish this succesfully without any troubles, by using self-transfer and B2BUA
utilitize.
But when the link is established in B2BUA between two participants, when creating a new B2BUA, the participants can still talk untill the new B2BUA is established (this is the issue).
I doesn't loose the link of participant in Call leg 1, since I'm using a Self-transfer leaving the call state as incoming. But if I call BeginTerminate() of the 1st B2BUA while establishing the 2nd B2BUA, then I'll loose my transfer states of the first Call,
and I'm using this event state to tell me when a transfer is succesfully done.
How can I cancel the stream between the two participants in the first B2BUA, as soon as I begin to establish the second B2BUA??
If either leg of the B2B is terminated, the B2B call is terminated. In a transfer scenario the leg of the participating in the self transfer will end before the transfer itself is completed, leading to an OperationFailureException on the EndTransfer.
There is really no way to avoid this, so you should just expect it.
Here is a snip from one of my test programs:
private void InitiateSelfTransfer()
Console.WriteLine("Initiating self-transfer on p2p call...");
//Copy inCall since we will replace it with the new inCall prior to the completion of the transfer.
AudioVideoCall p2pOldInCall = (AudioVideoCall)inCall;
//Pass a reference to this instance in the Context so the new inbound call can reattach to this session.
p2pOldInCall.ApplicationContext = this;
p2pOldInCall.TransferStateChanged += new EventHandler<TransferStateChangedEventArgs>(oldInCall_TransferStateChanged);
CallTransferOptions cto = new CallTransferOptions(CallTransferType.Attended);
//Execute the transfer.
Console.WriteLine("Beginning Self-Transfer...");
try
p2pOldInCall.BeginTransfer(p2pOldInCall, cto,
ar =>
Console.WriteLine("Self-Transfer Completed...");
try
p2pOldInCall.EndTransfer(ar);
Console.WriteLine("Self-Transfer was successful!");
SendTransferNotification(200, "Succeeded at self-transfer");
//In this scenario the BackToBackCall seems to always terminate the call before we are made aware the transfer is complete.
//This operation has to execute as Attended, so we simply catch the exception generated, it doesn't seem to cause us any problems.
catch (OperationFailureException)
Console.WriteLine("Exception ignored on self-transfer...");
SendTransferNotification(487, "Call already terminated...");
catch (RealTimeException ex)
SendTransferNotification(503, "Failed on self-transfer of inbound leg");
Console.WriteLine(ex);
, null);
catch (InvalidOperationException iOpEx)
Console.WriteLine("Invalid Operation Exception: " + iOpEx.ToString());
Similar Messages
-
I Have An Ipod Touch 4G That Is 8GB(Gigabytes) And U Was Jus Wandering About These Two Questions 4 So Long Do I Posted A Question
You can buy whatever ipod you want.
Damage is not covered by warranty so they will not replace it under warranty.
All of your music/apps should be in itunes on your computer and included in your regular backup of your computer.
Just sync it to the new ipod. -
My Iphone was sync with Itunes on a computer then this computer broke down and i purchased another one. I was able to extract all the data from the old one. now how can i sync my phone with the new tunes without loosing any data?
Yes, windows to Mac too.
iTunes: How to move [or copy] your music [library] to a new computer [or another drive] - http://support.apple.com/kb/HT4527
Quick answer if you use iTunes' default preferences settings: Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive. Open iTunes and immediately hold down the Option (alt) key (shift on Windows), then guide it to the new location of the library.
Windows users see tip at: https://discussions.apple.com/message/18879381 -
My old computer is broken... is ther a way to sync my phone to my new one without loosing all my music?
Delgadoh wrote:
You can either transfer the purchases to the new computer, or you can set the iPhone to manual mode and add the new songs while keeping the old. The article will go over how to do both options.
As far as I am aware an iPhone that has been associated with one library cannot be assoicated with a new one without iTunes wanting to erase and reload content from the local library. This normally means the loss of non-store purchases unless they are recovered first with third party tools. Setting the device to manual management on anything other than the "current" home library of the device will trigger the deletion of content.
tt2 -
My company runs Adobe Acrobat XI on a PC. Our PC went down and we replaced it with a new one. We need Acrobat XI on it and have bought it already. How can I get it put onto our new computer without having to buy it again?
Hi chrisb75729216,
I checked with your account but could not find any order history so you might be using another email address on forums.
You will first need to deactivate Acrobat from old machine and then install Acrobat on the new machine by activating with the same serial number.
Please download Acrobat XI pro from here: Other downloads
If you have single user license, then remember that the software can be activated on maximum two computers, say your desktop at work and laptop at home.
Regards,
Anubha -
Hi,
I lost my computer.
How can I sincronize me Iphone with the new computer without loose my contacts and apps?
Thanks
ThaschorIt has always been very basic to always maintain a backup copy of your computer.
Use your backup copy to move everything to the new computer.
If for some reason you have failed to maintain a backup ( not good), then you can transfer itunes purchases from the iphone: File>Transfer Purchases
If you enter one unique contact and calendar entry on your computer, then when you first sync you should get the option to merge the data. -
Hey, my iphone4 fell from my desk and its front screen cracked, how much will apple charge for fixing this? Or will they change it with a new one without any charge? (its still has warranty)
Out-of-Warranty Service
If you own an iPhone that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will service your iPhone for the Out-of-Warranty Service fee listed below.
iPhone model
Out-of-Warranty Service
iPhone 4, iPhone 3GS,
iPhone 3G, Original iPhone
$199
A $6.95 shipping fee will be added if you arrange service online or by calling Apple Technical Support. All fees are in U.S. dollars and are subject to local tax. When setting up out-of-warranty service, Apple will request credit card pre-authorisation for the maximum service fee listed above. This amount will be deducted from your credit limit. The final service fee we charge will be determined during testing and may be less than the service fee listed above.Certain damage is ineligible for out-of-warranty service, including catastrophic damage, such as the device separating into multiple pieces, and inoperability caused by unauthorized modifications. However, an iPhone that has failed due to contact with liquid may be eligible for out-of-warranty service.Apple reserves the right to determine whether or not your iPhone is eligible for Out-of-Warranty service. iPhones that are repaired or replaced have a 90-day limited hardware warranty or assume the remainder of your standard warranty or AppleCare Protection Plan for iPhone coverage, whichever is longer. Please see Apple's Repair Terms And Conditions for further details."
http://support.apple.com/kb/index?page=servicefaq&geo=United_States&product=ipho ne -
My 5th gen ipod died and apple replaced it with a new one. I synced it up to the itunes that I already have on my computer but an error message keeps coming up telling me that its not authorized on this computer. What do I do?
About iTunes Store authorization and deauthorization
iPod: Troubleshooting songs and audiobooks that won't play
iPod does not play content purchased from the iTunes Store -
Hi, I have made a new Apple ID and logged in on my phone, settings > iTunes & app stores, but the app store is still using my old Apple ID. How do I get rid of the old ID and replace it with the new one?
HAYDONISRAD wrote:
... Maybe I'll stick with hers for now :-)
OR...
You could use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
From Here http://support.apple.com/kb/HE37
I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID? -
My ipod touch broke then replaced it with a new one. I already dloaded iOS5 on the old one. When I connected my new unit it says it won't load the previous back because the new one is not up to date... Do I really have to download iOS5 again?
Yes, you have to update the iPod in order to retore from backup. The iOS on the "new" has to be aequal to r greater than on the iPod from which the backup was made. The iOS downloads are unique to an iDevice and model (the one for a 3G iPod will not work for a 4G iPod).
-
Please be informed me... with my battery or charger problems....
my iPad 2 charger is not working....
since I've got it for five days ago, I only use it for three times....
Are they going to replace it with a new one ?Most likely yes. There's a manufacturers warranty against defects for a year. I'd contact your place of purchase and talk to them about it.
-
How do I remove my apple id from my iPad and replace it with a new one
How do I remove my Apple ID and replaces it with a new one on my ipad
Have you changed your email? And need to change your Apple ID as well?
Before you go further. Please READ and understand these articles from Apple about your Apple ID.
http://support.apple.com/kb/HT2204
http://support.apple.com/kb/HT5621
If you are giving the I
Pad to someone else, you need to turn off find my iPhone and erase the iPad, or delete it from your cloud account.
If there is another reason , I didn't mention, please fill us in so we can give you the right answer, rather than guess and cause you more headaches. -
my macbook pro got so many scratches and dents, i just want to know that how i can replace it with the new one?
Sell the Old one... Buy a New one...
-
Yesterday I've bought the old mac book air, will Apple accept a return and replace it with the new one?
Hi micjhal,
Call them up! If you look on your receipt it'll indicate you have 14-days to return it (if bought at a retail store) and 30-days if bought through the online store. -
I just bought my iMac 2 days before the new iMac was launched.
Is that possible that I can replace it with the new one?You can return a computer within 14 days of purchase for a refund.
http://www.apple.com/legal/sales_policies/retail_us.html - Returns in the USA: iPhones within 30 days, other items within 14 days.
Do you really mean an iMac2? If you do you're about 10 years too late in wanting to return it. I guess if you do have an iMac2 then it makes sense you posted on the iMac(PPC) forum since this one is for models at least 6 years old.
Maybe you are looking for
-
File name and place question.
How would you file the following. I have a series to edit, so for example you have "Show 1" and within this you have V.1, V.2 and V.3.All 3 versions share the same beginnings, but are then different from half way through. You also have 2 sources of H
-
How to use program RFBISA00?
Dear all, We want to update our account descriptions in several languages. In order to do this we need process in mass using RFBISA00 which is standard. But I do not understand how to use it because we only have for only one structure BSKX. This stru
-
Hello, I am working on sapscript. MAIN window has two elements ( Order Info, Carrier Info. ) First page display only 1 - 10 records for each element in Main Window. ( In my scenario, it's possbile the either one of the element may have more then 10 r
-
Urgent helep: socket write error
Hi All, My application is continuously writing the following error message to the domain log of WLS eventhough app is running ok javax.servlet.ServletException: Connection aborted by peer: socket write error
-
How can we change Topic Names Generated after linking a document
Hi: I linked a document and generated a topic in RoboHelp for HTML. The topics are generated with some names and i am not able to rename them after they are generated. I tried doing this as per help Define the topic name pattern for generated to