I am developing a CTI Client for Asterisk, and handling one extension at a time.
When a call is coming, I can get all the details but the channel of source phone. I have seen the Dial event gives the Source Channel. But As I am not handling the Source Phone (Using Proxy), I am not getting events from Source Phone. How can I get it. Please Help!..
Thanks
You can use in your dialplan
exten => s,n,UserEvent(ParentChannel,${BRIDGEDPEER})
For more info see
http://www.voip-info.org/wiki/view/Asterisk+Detailed+Variable+List
http://www.voip-info.org/wiki/view/Asterisk+cmd+UserEvent
Also you can do DumpChan to see all variable on channel any time in your asterisk console
http://www.voip-info.org/wiki/view/Asterisk+cmd+DumpChan
Related
Working in c# Wifi Direct Windows to Android Device pairing. Getting below result status "Failed".
result = await customPairing.PairAsync(DevicePairingKinds.ConfirmOnly);
How can I get the detail information and reason for failing?
How to get the actual failing reason for customPairing.PairAsync?
I'm afraid you can't get the detail info from PairAsync method, currently UWP has not provided the detail reason when paired failed. You could only get limited state explain here. It means An unknown failure occurred If the state is Failed. If you do want this feature please feel free post your requirement with windows feed back hub app.
By the way you may check if system Event Viewer contains such failed reason.
i have bot made using c#. It has the feature of human off. We have integrated the solution provide by tompanna of human handoff where a agent can talk to single user at a time.Here the link of solution we used for human handoff https://github.com/tompaana/intermediator-bot-sample. Our bot is working fine and able to talk with agent with the help of this solution but major issue come when a user want to share image or any kind of attachments from user to agent or from agent to user. The bot show that image is send but user is not able to see it. Simpler case happen in the case of agent.
Image of agent while sending a attachment to user.
And also the image of user ,unable to see the image send by agent.
The sample which you are using for Human HandOff has not been updated over a year, so it gets difficult to be able to find solutions for supporting various features pertaining to the same. However, going through the sample issues, there has been a similar issue in which the sample does not support emojis, images or files to the receiving user. If a user sends any of the above mentioned features, the receiver will get a blank message as it supports only text messages.
Th tentative solution suggested by a user is to create a simple method extension to send image/file messages.You could go ahead and give it a try to see if it works for your case.
Hope this helps.
You need to edit the source code of the library to achieve what you are trying.
In this MessageRouter file , method RouteMessageIfSenderIsConnectedAsync , you can access message.Attachments , then pass it as a parameter to SendMessageAsync in line 432, then from SendMessageAsync in line 160 , you can pass it to CreateMessageActivity method and then in file ConnectorClientMessageBundle , you can access the attachment and attach it to messageActivity.
I’ve built a game (C#, UWP, Monogame) and want to integrate it with Xbox Live SDK (Microsoft.Xbox.Live.SDK.WinRT.UWP from NuGet).
Already got auth working but experiencing some problems with StatisticManager/Leaderboard.
What exactly am I doing:
Add user with StatisticManager.AddLocalUser(user) and wait for StatisticEventType.LocalUserAdded event from DoWork
Save score with StatisticManager.SetStatisticNumberData(user, leaderboardName, data) and wait for StatisticEventType.StatisticUpdateComplete event from DoWork
Get the leaderboard with StatisticManager.GetLeaderboard(user, leaderboardName, query) and wait for StatisticEventType.GetLeaderboardComplete event from DoWork
On step 3 I get a C++ exception:
“Not found (404)”.
[This looks very similar to this issue](Exceptions and Error 404 when using StatsManager
).
So I’ve already checked the sandbox ID, config file and leaderboard ID but still get the same result.
I did capture the traffic from HTTP monitoring and I see URL like:
"https://leaderboards.xboxlive.com/scids/{scid}/leaderboards/stat({leaderboardId})?xuid={myXboxId}&maxItems=5"
under development, you must change your Xbox SANDBOX from RETAIL to {your sandbox} using XboxLiveTools (you can find it in github).
after published you can switch it back to RETAIL,and if there is no data in leaderboard return result with zero row no exception throw
I fixed the same problem by myself
Target Platform : Samsung S6 - Android
Development base : Unity3D using C#
Intention :
Send a picture (MMS) shot within an app to any desired phone number within Canada. This app is supposed to be preloaded to a single Samsung S6.
Questions :
I was unable to find any Unity samples within you SDK, however I was wondering if anyone knows Unity samples for my intended use. However planned to use these scripts as first of reference.
Though the Android Phone number which is used to send MMS can be associated with Twilio the receiver would have no association with Twilio as the sender phone number is not something we would know until the photo is taken - hence is this a concern?
I see that from from the API call
// Send a new outgoing MMS by POSTing to the Messages resource */
client.SendMessage(
"YYY-YYY-YYYY", // From number, must be an SMS-enabled Twilio number
person.Key, // To number, if using Sandbox see note above
// message content
string.Format("Hey {0}, Monkey Party at 6PM. Bring Bananas!", person.Value),
// media url of the image
new string[] {"https://demo.twilio.com/owl.png" }
);
the fourth and final parameter is a URL link. Can link of the image be from any server or should it only be from twilio's server?
Thank you very much for time. Highly appreciate it.
Here you are. As far as I know this works like a charm.
I have mad an application for windows mobile which can do different mobile functions with the numbers the application has.
Anyway. I want to start the Text message application and send a phonenumber as an argument.
I have only found this:
SmsMessage sms = new SmsMessage();
sms.Body = "This is a message";
sms.To.Add(new Recipient(sNumber));
sms.Send();
But i want to use the text messaging application in the mobile device.
Any tip?
thanks in advance
As a start, have you looked to see if this discussion is relevant to what you want to do? One thing it mentions is using CE MAPI and COM interop. There's also the Mobile In The Hand library.
There are other links in that discussion too.
Take a look at the MessagingApplication class, in particular its DisplayComposeForm static method. You should be able to use a code snippet such as the following to get the built in messaging application to appear.
SmsMessage sms = new SmsMessage();
sms.Body = "This is a message";
sms.To.Add(new Recipient(sNumber));
MessagingApplication.DisplayComposeForm(sms);
I also have a blog post available with a sample application that in part demonstrates using this API - http://www.christec.co.nz/blog/archives/495.