zap run additions. Almost ppl
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@453 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
70b0c19b7a
commit
3050d2f952
|
@ -57,18 +57,18 @@ struct m3uac_map {
|
|||
};
|
||||
|
||||
static struct m3uac_map m3uac_table[] = {
|
||||
{SIGBOOST_EVENT_CALL_START, "CALL_START"},
|
||||
{SIGBOOST_EVENT_CALL_START_ACK, "CALL_START_ACK"},
|
||||
{SIGBOOST_EVENT_CALL_START_NACK, "CALL_START_NACK"},
|
||||
{SIGBOOST_EVENT_CALL_START_NACK_ACK, "CALL_START_NACK_ACK"},
|
||||
{SIGBOOST_EVENT_CALL_ANSWERED, "CALL_ANSWERED"},
|
||||
{SIGBOOST_EVENT_CALL_STOPPED, "CALL_STOPPED"},
|
||||
{SIGBOOST_EVENT_CALL_STOPPED_ACK, "CALL_STOPPED_ACK"},
|
||||
{SIGBOOST_EVENT_SYSTEM_RESTART, "SYSTEM_RESTART"},
|
||||
{SIGBOOST_EVENT_SYSTEM_RESTART_ACK, "SYSTEM_RESTART_ACK"},
|
||||
{SIGBOOST_EVENT_HEARTBEAT, "HEARTBEAT"},
|
||||
{SIGBOOST_EVENT_INSERT_CHECK_LOOP, "LOOP START"},
|
||||
{SIGBOOST_EVENT_REMOVE_CHECK_LOOP, "LOOP STOP"}
|
||||
{M3UA_EVENT_CALL_START, "CALL_START"},
|
||||
{M3UA_EVENT_CALL_START_ACK, "CALL_START_ACK"},
|
||||
{M3UA_EVENT_CALL_START_NACK, "CALL_START_NACK"},
|
||||
{M3UA_EVENT_CALL_START_NACK_ACK, "CALL_START_NACK_ACK"},
|
||||
{M3UA_EVENT_CALL_ANSWERED, "CALL_ANSWERED"},
|
||||
{M3UA_EVENT_CALL_STOPPED, "CALL_STOPPED"},
|
||||
{M3UA_EVENT_CALL_STOPPED_ACK, "CALL_STOPPED_ACK"},
|
||||
{M3UA_EVENT_SYSTEM_RESTART, "SYSTEM_RESTART"},
|
||||
{M3UA_EVENT_SYSTEM_RESTART_ACK, "SYSTEM_RESTART_ACK"},
|
||||
{M3UA_EVENT_HEARTBEAT, "HEARTBEAT"},
|
||||
{M3UA_EVENT_INSERT_CHECK_LOOP, "LOOP START"},
|
||||
{M3UA_EVENT_REMOVE_CHECK_LOOP, "LOOP STOP"}
|
||||
};
|
||||
|
||||
|
||||
|
@ -279,7 +279,7 @@ int m3uac_connection_write(m3uac_connection_t *mcon, ss7bc_event_t *event)
|
|||
void m3uac_call_init(m3uac_event_t *event, const char *calling, const char *called, int setup_id)
|
||||
{
|
||||
memset(event, 0, sizeof(m3uac_event_t));
|
||||
event->event_id = SIGBOOST_EVENT_CALL_START;
|
||||
event->event_id = M3UA_EVENT_CALL_START;
|
||||
|
||||
if (calling) {
|
||||
strncpy((char*)event->calling_number_digits, calling, sizeof(event->calling_number_digits)-1);
|
||||
|
|
Loading…
Reference in New Issue