search for: buff1

Displaying 1 result from an estimated 1 matches for "buff1".

Did you mean: buff
2006 Jan 10
2
Problem with Action:Originate with ASterisk Manager
...I am working with Aterisk Manager API's. I can login successfuly with the following. char buff[256]; strcpy(buff, "Action: Login\r\nUsername: admin\r\nSecret: unix\r\n\r\n"); send(msock, buff, 255); Now I want to try Action: Originate, therefore I tried the following char buff1[256]; strcpy(buff1, "Action: Originate\r\nChannel: SIP/101\r\nExten: 102\r\nPriority: 1\r\nContext: default\r\n\r\n"); send(msock, buff1, 255); But I get the following error response from Asterisk-Manager Response: Error Message: Missing action in request Later I enabled the DEB...