mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-13 04:57:05 +00:00
more clean up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14001 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
3be99f4aa0
commit
8d8609ab56
29 files changed
No files matched your search
@@ -0,0 +1,76 @@
|
||||
%start MainMap::Startup
|
||||
%class BgApiRequest
|
||||
|
||||
%map MainMap
|
||||
%%
|
||||
|
||||
Startup
|
||||
{
|
||||
CommandReply
|
||||
ApiResponseStarted
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
ApiResponseStarted
|
||||
{
|
||||
ReplyText
|
||||
GotReplyText
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
GotReplyText
|
||||
{
|
||||
BlankLine
|
||||
nil
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
JobUuid
|
||||
Startup
|
||||
{
|
||||
setRequestFinished(); callOrErrback();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Default
|
||||
{
|
||||
BlankLine
|
||||
nil
|
||||
{
|
||||
setRequestFinished();
|
||||
errbackDeferred("Protocol failure - was not expecting blank line"); }
|
||||
|
||||
CommandReply
|
||||
nil
|
||||
{
|
||||
setRequestFinished();
|
||||
errbackDeferred("Protocol failure - was not expecting command reply");
|
||||
}
|
||||
|
||||
ReplyText
|
||||
nil
|
||||
{
|
||||
setRequestFinished();
|
||||
errbackDeferred("Protocol failure - was not expecting reply text");
|
||||
}
|
||||
|
||||
ProcessLine(line)
|
||||
nil
|
||||
{
|
||||
setRequestFinished();
|
||||
errbackDeferred("Protocol failure handling bgapi response - was not expecting line needing to be processed");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
%%
|
||||
Reference in new issue
Block a user