Skinny: Milestone 1 : device level (PortMessage)
-Handle PortMessage git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16752 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ba1950a75d
commit
c813d03e97
|
@ -139,6 +139,7 @@ union skinny_data {
|
||||||
struct register_message reg;
|
struct register_message reg;
|
||||||
struct register_ack_message reg_ack;
|
struct register_ack_message reg_ack;
|
||||||
|
|
||||||
|
uint16_t as_uint16;
|
||||||
char as_char;
|
char as_char;
|
||||||
void *raw;
|
void *raw;
|
||||||
};
|
};
|
||||||
|
@ -740,7 +741,7 @@ static switch_status_t skinny_parse_request(listener_t *listener, skinny_message
|
||||||
keepalive_listener(listener, NULL);
|
keepalive_listener(listener, NULL);
|
||||||
break;
|
break;
|
||||||
case PORT_MESSAGE:
|
case PORT_MESSAGE:
|
||||||
/* Nothing to do */
|
device->port = request->data.as_uint16;
|
||||||
break;
|
break;
|
||||||
case KEEP_ALIVE_MESSAGE:
|
case KEEP_ALIVE_MESSAGE:
|
||||||
reply = switch_core_alloc(listener->pool, 12);
|
reply = switch_core_alloc(listener->pool, 12);
|
||||||
|
|
Loading…
Reference in New Issue