Because, in that particular example, the node is just the sink of the
VoIP traffic. It does not send packets in the reverse direction.
If bidirectional VoIP flows was desired, then you would need an udp0
in one direction, and another in the reverse direction.
Something like:
set udp0 [new
VoIP is basically just UDP packets encapsulating RTP packets with the voice
data inside, all you should need to do to simulate a VoIP stream is set the
correct packet size and frequency that the packets are sent out and that
would simulate a stream, all of which can be done easily inside your
Hello,
I've been using Application/Traffic/Exponential as a traffic generator
on top of Agent/UDP. It's not perfect, because, for instance, I
specified 8Kbit data rate, but often I only see 5 or 6Kbit/s passing
through... but maybe i'm doing something wrong
Pedro Fortuna
INESC Porto
On
Is it necessary to consider the correlation between UL and DL voice traffic?
Or we simply assume UL and DL are independent traffic stream both generated by
Application/Traffic/Exponential?
I am simulating VoIP in 802.11 networks, where UL and DL compete for the same
channel.
Thanks
Quoting
I assume that there's a correlation, because two people do not talk
exactly at the same time. They usually talk and then listen. Thus, one
flow periods of idleness usually correlate to the other flow's periods
of burstiness. Maybe the best way to model that is with a single
on/off source, but I
Thanks for the tip.
I've even found an example on a previous msg of this mailling list:
...
set udp0 [new Agent/UDP]
$ns attach-agent $n(1) $udp0
set null0 [new Agent/Null]
$ns attach-agent $n(2) $null0
$ns connect $udp0 $null0
# create 16 Paroto On/Off source traffic
for {set i
Hi,
Does anybody know an existing VoIP simulated Application existing on NS2?
I am ready to develop it myself, however, most of my questions has no
been answered.