/ Published in: C#
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Protocol Pattern /* Action: Originate Channel: Local/2222@from-internal Exten: 3333 Priority: 1 Callerid: Nuria #CallId=4208196 <2222> Context: from-internal Variable: originating=2222 ActionID: 2 Timeout: 30000 Async: 1 */ // Asterisk.NET (sourceforgce) originate.Channel = "Local/2222@from-internal"; //originate.Channel = "SIP/2222"; originate.Exten = "3333"; originate.Priority = 1; originate.CallerId = "Nuria"; originate.Context = "from-internal"; //originate.Variable = "originating=2222"; originate.SetVariable("originating", "2222"); originate.ActionId = "2"; originate.Timeout = 30000; originate.Async = true; ManagerResponse response = manager.SendAction(originate);
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)