C# Originate Sample

Comment on Asterisk manager Example: C Sharp
Joined: Thu 14 of Sep, 2006

Re: C# Originate Sample

Posted:Thu 28 of Sep, 2006 (05:16 UTC)
include this after sending the login action. originate will only work if you have logged in as a manager.

clientSocket.Send(Encoding.ASCII.GetBytes("Action: Originate\r\nChannel: SIP/100\r\nExten: SIP/101\r\nPriority: 1\r\nContext: default\r\n\r\n"));
Joined: Thu 29 of Dec, 2005

C# Originate Sample

Posted:Thu 29 of Dec, 2005 (19:08 UTC)

Would you by any chance have a sample of C# code for an Originate Action?

Say I would like to dial extension 100 from SIP/101.