Displaying 1 result from an estimated 1 matches for "543f".
Did you mean:
543
2005 Sep 30
4
C Manager Interface Client
...e,buffer,sizeof(buffer));
if(readCode < 0)
{
printf("ERROR READING FROM SOCKET\n");
exit(0);
}
printf("%s\n",buffer); ////////This is the main difference \n
}
In this case I get output as follows:
...
...
.
.
Event: Hangup
Privilege: call,all
Channel: SIP/1542200-543f
Uniqueid: 1128041150.26
Cause: 0
Cause-txt: Unknown
...
...
.
.
In this case "Event: Hangup", "Privilege: call, all", and the rest all get passed off to my parser. Obviously a problem.
Is * spitting this data out to me in three seperate chunks or is my socket not blocking corr...