Holger Hans Peter Freyther
a581136f73
[misc] Remove spaces, fix indention.
2010-04-30 13:34:15 +08:00
Holger Hans Peter Freyther
aa9d3ce97a
[mgcp] Ignore every dummy packet...
...
This routine should operate on different packets and the
dummy load is smaller than a legitimate RTP header so it
is unlikely we will filture out genuine traffic.
The reason is the dummy load might be send more than once.
2010-04-25 23:02:27 +08:00
Holger Hans Peter Freyther
b844b876ad
[mgcp] Add a dummy send method...
...
This can be used by higher level code to send one dummy
message from the audio port to the network. This can be
used to make the remote discover the nated port of this
endpoint.
2010-04-25 23:01:55 +08:00
Holger Hans Peter Freyther
aff596b8e1
[mgcp] Print the IP addr of the BTS we have detected.
2010-04-09 23:53:00 +02:00
Holger Hans Peter Freyther
575b89585f
[mgcp] Print the errno/strerror when we can not receive from our socket
2010-04-07 22:52:40 +02:00
Holger Hans Peter Freyther
b4b135efbf
[mgcp] Count incoming RTP packets from the BTS and remote
2010-04-07 22:51:59 +02:00
Holger Hans Peter Freyther
7279d24232
[mgcp] Do not patch RTP payload when type is set to -1.
...
For the nat we might or might not want to patch it, do not
patch if we have no valid rtp payload type.
2010-04-06 12:12:52 +02:00
Holger Hans Peter Freyther
8b120f0ef9
[mgcp] Look at the bts addr set at the endpoint
...
This will allow to discover the ports of a bts when we only know
the addr and have multiple bts's to handle.
2010-04-05 22:03:04 +02:00
Holger Hans Peter Freyther
774f0723bf
[mgcp] Do not print potentially many messages...
2010-03-01 18:53:05 +01:00
Holger Hans Peter Freyther
1ebad74377
Merge remote branch 'origin/master' into on-waves/mgcp
...
Conflicts:
openbsc/include/openbsc/Makefile.am
openbsc/src/Makefile.am
2010-02-26 20:16:45 +01:00
Holger Hans Peter Freyther
36ed8cc4c3
[mgcp] Patch the rtp payload depending on the direction.
...
The RTP header code is taken from the rtp_proxy, we will need
to figure out how to unite these properly in the long run.
2010-02-26 13:42:58 +01:00
Holger Hans Peter Freyther
1b0ea97457
[mgcp] Move the network bits to a separate file...
...
This change separates the protocol from the actual network code
(bind, forward data). This will allow to more easily hook up the
RTP code from OpenBSC and to not use local sockets at all.
2010-02-22 12:09:41 +01:00