Re: [ns] VoIP traffic Simulator (off-topic)

2006-08-07 Thread Pedro Fortuna
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

Re: [ns] VoIP traffic Simulator

2006-08-04 Thread Matthew Jakeman
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

Re: [ns] VoIP traffic Simulator

2006-08-04 Thread Pedro Fortuna
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

Re: [ns] VoIP traffic Simulator

2006-08-04 Thread hanguang
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

Re: [ns] VoIP traffic Simulator

2006-08-04 Thread Pedro Fortuna
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

Re: [ns] VoIP traffic Simulator

2006-08-04 Thread Pedro Fortuna
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

[ns] VoIP traffic Simulator

2006-08-03 Thread lekkie omotayo
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.