diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-06 16:19:55 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-06 19:35:10 +0100 |
commit | 6adac17a106448019fdb8912f4ebe008f8e5545a (patch) | |
tree | 515afcc70db50e33081aced3625bbe6b66c096fb /openbsc/include/openbsc/mgcp.h | |
parent | 49b3ed2226e43b4d8e8d85efafbdcce2ae7f362f (diff) |
mgcp: Include a MGCP Response String in the response
Switch to a \r\n at the end of the query. Both \n and \r\n
are valid according to the spec but this makes us match
responses of other equipment.
Diffstat (limited to 'openbsc/include/openbsc/mgcp.h')
-rw-r--r-- | openbsc/include/openbsc/mgcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/mgcp.h b/openbsc/include/openbsc/mgcp.h index 26a6c3315..04643c502 100644 --- a/openbsc/include/openbsc/mgcp.h +++ b/openbsc/include/openbsc/mgcp.h @@ -151,7 +151,7 @@ int mgcp_reset_transcoder(struct mgcp_config *cfg); * format helper functions */ struct msgb *mgcp_handle_message(struct mgcp_config *cfg, struct msgb *msg); -struct msgb *mgcp_create_response_with_data(int code, const char *msg, const char *trans, const char *data); +struct msgb *mgcp_create_response_with_data(int code, const char *txt, const char *msg, const char *trans, const char *data); /* adc helper */ static inline int mgcp_timeslot_to_endpoint(int multiplex, int timeslot) |