aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmgcp/mgcp_network.c
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-03-17 12:30:56 +0100
committerJacob Erlbeck <jerlbeck@sysmocom.de>2014-06-05 14:00:41 +0200
commit845d0054b45dff5f5606b38dcacd9bf06a605f07 (patch)
tree35d558d1337817aeae48a379f6f75c5c94d0f7aa /openbsc/src/libmgcp/mgcp_network.c
parenta0d64ce063fbf60733c6f2949015091aa33a2c9d (diff)
mgcp: Add audio info fields to struct mgcp_rtp_end
This patch adds the fields channels, subtype_name, and audio_name to the struct. The field audio_name contains the full string that has been used for the last part of a SDP a=rtpmap line. The others contain decoded parts of that string. If no a=rtpmap line has been given (e.g. because dynamic payload types are not used), values are assigned when the payload type matches one of the predefined ones (GSM, G729, PCMA). The patch also moves the audio_name parsing code to a dedicated set_audio_info() function. Sponsored-by: On-Waves ehf
Diffstat (limited to 'openbsc/src/libmgcp/mgcp_network.c')
0 files changed, 0 insertions, 0 deletions